The trust dial, Codex edition
Codex exposes three approval modes plus --yolo. suggest (default) — shows plan, waits for approval before every action. auto-edit — edits files automatically, asks for shell commands. full-auto — edits and runs commands within the sandbox, no prompts. --yolo / --dangerously-bypass-approvals-and-sandbox — removes all gates (Docker only).
The flag-level equivalents: --ask-for-approval untrusted (suggest), --ask-for-approval on-request (the recommended default for trusted code), --ask-for-approval never (CI / sandbox VMs only). Mid-session, /permissions auto-edit switches modes without restarting.