cek_run's resolver → cek_resume doesn't propagate values correctly (likely a kont frame ordering issue in the transpiled evaluator). Workaround: use _cek_io_suspend_hook which receives the suspended state and manually steps to completion, handling further suspensions. - resolve_io: shared function for IO resolution (sleep, fetch, etc.) - Suspend hook: manual step loop after cek_resume, handles nested IO - run_with_io: uses req_list extraction (handles ListRef) - Fixes fetch tests: 10 now pass (response format correct) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
111 KiB
111 KiB