Repository navigation
Commit f6f10b4
committed
fix(orchestrator): Codex background command completion and subagent resume
Codex can settle a turn while background commands or resumed subagents
are still running. The adapter previously dropped their post-settle
events because turn context was deleted on turn/completed.
- Retain settled turn context when running command items remain so late
item/completed events still project turn item updates
- Offer a provider continuation request when a root background command
completes after settle, with a detail summarizing command, exit code,
and output tail
- Relax the providerTurnOrdinal === 1 guards so resumed subagent turns
flip the subagent back to running and hydrate the new result
- Report pending background work (running command items or subagents)
so idle session release is deferred until it drains
- Add replay-transcript adapter tests covering both scenarios1 parent ea57e97 commit f6f10b4
3 files changed
Lines changed: 1030 additions & 34 deletions
File tree
- apps/server/src/orchestration-v2/Adapters
0 commit comments