Files
Cursor Agent 9299f6580f Fix three bugs in orchestration thread state management
1. Preserve Codex provider thread ID instead of overwriting with orchestration UUID:
   - reducer.ts: Use payload.session as-is instead of replacing its threadId
   - wsServer.ts: Use event.threadId (Codex thread ID) with fallback chain in
     turn/started, turn/completed, and error handlers

2. Set latestTurnStartedAt and latestTurnDurationMs in session-set reducer:
   - Set latestTurnStartedAt when session transitions to running
   - Compute latestTurnDurationMs when session transitions to ready

3. Fix stale closure in AutoProjectBootstrap causing duplicate threads:
   - Use a ref for state.threads to always read the latest value in the async
     .then() callback
2026-02-22 09:46:16 +00:00
..
2026-02-09 22:19:49 -08:00
2026-02-21 20:22:55 -08:00