mirror of
https://github.com/openai/codex.git
synced 2026-12-02 00:31:03 +00:00
## Why With native tools disabled, injected agent mail could be persisted without waking a hosted root in durable sleep. ## What changed Schedule a mailbox wake for sleeping hosted roots after injected plaintext mail is durably recorded. Keep the interrupted turn active through `TurnAborted` so mail arriving during the interruption can start a turn only after the abort event is published. ## Testing Add regression coverage for queue-only mail waking a hosted root with its previous turn context and for mail injected during the sleep interruption starting a turn after `TurnAborted`. GitOrigin-RevId: 939db5ffca9af1273e4fb4c8d0dfb6bb7a95ea09