concepts/sandboxing.md +4 −3
145- `never`: Codex doesn't stop for approval prompts.145- `never`: Codex doesn't stop for approval prompts.
146 146
147Full access means using `sandbox_mode = "danger-full-access"` together with147Full access means using `sandbox_mode = "danger-full-access"` together with
148148`approval_policy = "never"`. By contrast, `--full-auto` is the lower-risk local`approval_policy = "never"`. By contrast, the lower-risk local automation
149149automation preset: `sandbox_mode = "workspace-write"` andpreset is `sandbox_mode = "workspace-write"` together with
150150`approval_policy = "on-request"`.`approval_policy = "on-request"`, or the matching CLI flags
151`--sandbox workspace-write --ask-for-approval on-request`.
151 152
152If you need Codex to work across more than one directory, writable roots let153If you need Codex to work across more than one directory, writable roots let
153you extend the places it can modify without removing the sandbox entirely. If154you extend the places it can modify without removing the sandbox entirely. If