What to build
Move run-completion coordination out of src/host/hostMain.ts into a dedicated module. The new module should coordinate marker/sentinel creation, postamble echo registration, waiter resolution, timeout behavior, exit resolution, and run_complete event appends while preserving the existing sentinel scanner module.
Acceptance criteria
Blocked by
None - can start immediately.
What to build
Move run-completion coordination out of
src/host/hostMain.tsinto a dedicated module. The new module should coordinate marker/sentinel creation, postamble echo registration, waiter resolution, timeout behavior, exit resolution, andrun_completeevent appends while preserving the existing sentinel scanner module.Acceptance criteria
hostMaindelegates run-completion coordination to a dedicated module while still owning PTY and RPC wiring.Blocked by
None - can start immediately.