# Save as ~/.codex/first-run.config.toml, then start Codex with: # codex --profile first-run # Keys from the Codex configuration reference (checked 2026-10-22). # Confirm inside the session with /status. (codex doctor does not take --profile.) sandbox_mode = "workspace-write" # writes limited to the workspace approval_policy = "on-request" # ask before leaving the sandbox approvals_reviewer = "user" # approvals come to you, not an auto-reviewer web_search = "disabled" # optional: no web search tool for a first run [sandbox_workspace_write] network_access = false # the default; listed so it is visible