mirror of
https://github.com/openai/codex.git
synced 2026-11-24 23:20:47 +00:00
## What changed Build the retry from the initial sandbox attempt. When policy permits an unsandboxed retry, clear the sandbox settings and mark the command as `RequireEscalated` for approval. When policy requires the sandbox to stay in place, reuse the initial attempt so a network retry preserves file read restrictions. ## Testing Cover both Guardian verdicts after a sandboxed attempt. An approved retry reaches the exec server without a sandbox, and a denied retry is blocked before it reaches the executor. GitOrigin-RevId: 5bf36dd4f43b7c0379457b88b8ddbf3dbd482b87