Skip to main content
reopt Handbook
reopt Handbook
Advanced Codex Usage

Foundation

Setup and LoginConfigMemories

Safety and Operations

ApprovalsSecurity

Workflow

Slash CommandsPrompts and SkillsExec and AutomationThread LifecycleCloud TasksMulti-Agent Workflows

Extensions and IDE

Codex App and IDEMCP IntegrationModels and ReasoningGovernance and Rollout

Verification

VerificationUpdates
Handbook›Advanced Codex Usage›Approvals
한국어English

Approvals

Set Codex approval and sandbox boundaries for team use, including safe defaults, escalation rules, automation exceptions, and review points for risky actions.

Key takeaways

  • Set Codex approval and sandbox boundaries for team use, including safe defaults, escalation rules, automation exceptions, and review points for risky actions.
  • Use this chapter as a first-pass operating checklist before changing systems, data, permissions, or customer-facing workflows.
  • Validate platform-specific details against current official docs or internal policy before rollout.

Approvals define the boundary between autonomous work and human responsibility. A good policy reduces interruptions for safe actions while forcing review for risky ones.

Approval Model

Codex 0.147.0 adds --approve-for-me as an explicit CLI path for automatic approval review. Use it only in bounded development environments to reduce repetitive prompts; it does not replace sandbox, requirements, deny policy, or human approval for security-sensitive and production-impacting work.

ActionDefault posture
Read project filesAllow inside the workspace
Edit scoped filesAllow when task scope is clear
Run tests and buildAllow with visible command output
Install packagesAsk for approval
Access networkAsk or restrict by profile
Touch secrets or deployment configRequire explicit approval

Sandbox Strategy

ModeUse when
Read-onlyReview, analysis, audit
Workspace-writeNormal implementation
Network-limitedWork should not fetch external state
EscalatedRare operations that need broader system access

Review Questions

  • What can Codex change without asking?
  • Which commands are allowed in CI or automation?
  • What events need a human approval record?
  • Can the user understand why approval is requested?

Related docs

Cmd. /permissions

Claude Code Command Master · Manage allow, ask, deny, and Auto rules (/allowed-tools).

Cmd. /permissions

Codex Command Master · Change Codex approval and permission policy during a session.

Ch14. Enterprise Patterns

Enterprise Eve Agent Development · Combine Eve features into support, research, code, back-office, analytics, and incident-response agent patterns.

Cmd. /debug-config

Codex Command Master · Inspect Codex config layers, policy sources, and requirements diagnostics.

Cmd. /sandbox-add-read-dir

Codex Command Master · Grant sandbox read access to an additional absolute directory path.

Memories

Operate Codex memories and persistent facts without accumulating stale context.

Security

Secure Codex usage across secrets, network access, telemetry, and auditability.

On this page

Approval ModelSandbox StrategyReview Questions