mirror of
https://github.com/openai/codex.git
synced 2026-11-21 22:50:37 +00:00
## Why When the resolved permission and approval guidance is blank, the initial context still includes a developer message containing only the permissions wrapper. ## What changed Omit that message when the guidance is empty or whitespace-only. Keep a permissions checkpoint so later turns can report newly saved command prefixes. Continue sending bundled approval guidance when it applies. ## Testing Cover blank and bundled approval guidance and later command-prefix updates with and without per-environment context. Update Guardian request snapshots to reflect the omitted empty message. GitOrigin-RevId: b1e2b6377733ec34b875b51d800922e15c267571