mirror of
https://github.com/openai/codex.git
synced 2026-10-21 17:48:44 +00:00
## Why Input injected before `wait_agent` or `clock.sleep` begins must still interrupt the wait and reach the next model request. ## What changed Track notifying response-item injections as pending steering activity. Reset that state when pending input is consumed or cleared so later passive context does not interrupt waits. ## Testing Extend wait and sleep tests to cover injections queued before the wait and delivered while waiting, alongside user steering. Add queue coverage for pending injection detection and reset after consumption. GitOrigin-RevId: 90f8d968336082c76271d1ca4f81b855bafc72c6