mirror of
https://github.com/openai/codex.git
synced 2026-12-03 00:41:03 +00:00
## Why `TurnComplete` precedes active-turn cleanup, so injecting follow-up history immediately afterward can race with cleanup. ## What changed Register the `ThreadIdle` lifecycle contributor in `review_preserves_user_instructions_until_request_budgeting` and wait for the thread to become idle after the initial and follow-up turns. GitOrigin-RevId: 1ae6c80593a71d331c5c6ddf85bbe10822a68afe