mirror of
https://github.com/openai/codex.git
synced 2026-11-17 22:10:37 +00:00
The completion barrier in `yielded_code_mode_spawn_preserves_metadata_and_plaintext` could hold shared admission while the agent spawn needed exclusive admission. Replace that barrier with a `wait` call on the yielded cell outside nested tool dispatch, keeping the next turn active until the spawn completes. GitOrigin-RevId: 17a17941c933e44c0be9d70479741d4c814c3f8b