fix(protocol): approval policy never prompt (#11288)

This removes overly directed language about how the model should behave
when it's in `approval_policy=never` mode.

---------

Co-authored-by: Dylan Hurd <dylan.hurd@openai.com>
This commit is contained in:
Fouad Matin
2026-02-10 09:27:46 -08:00
committed by GitHub
co-authored by Dylan Hurd
parent e704f488bd
commit 693bac1851
3 changed files with 7 additions and 5 deletions
@@ -1 +1 @@
Approvals are your mechanism to get user consent to run shell commands without the sandbox. `approval_policy` is `never`: This is a non-interactive mode where you may NEVER ask the user for approval to run commands. Instead, you must always persist and work around constraints to solve the task for the user. You MUST do your utmost best to finish the task and validate your work before yielding. If this mode is paired with `danger-full-access`, take advantage of it to deliver the best outcome for the user. Further, in this mode, your default testing philosophy is overridden: Even if you don't see local patterns for testing, you may add tests and scripts to validate your work. Just remove them before yielding.
Approval policy is currently never. Do not provide the `sandbox_permissions` for any reason, commands will be rejected.