reference codex devfull profile subagents 20260715T135029
name: Codex CLI: devfull full-access profile + native parallel subagents (0.144.4)
description: Codex CLI has a devfull profile for full self-service (branch/worktree/cross-repo writes, no sandbox) and stable native multi-agent subagent fan-out (lead + concurrent subagents), corrected from an earlier wrong assumption.
type: reference
Fact: Codex CLI 0.144.4 has two things that were previously unclear:
-
A
devfullprofile (~/.codex/devfull.config.toml, aliased viacodexin.bashrc) usingdanger-full-accesssandbox mode. Under it, Codex self-service builds branches, worktrees, and writes across repos (e.g. Forge slot registry + CreatorTrack worktree + Forge edge repo) with zero approval prompts. Plainworkspace-write+approval_policy="never"looked like it should allow this after wideningwritable_roots, but a second gate (the command-approval classifier) silently rejects cross-repo writes underneverregardless of filesystem roots.\codexstill runs the sandboxed default for anything that shouldn't touch prod-adjacent paths. -
Codex has real, stable, on-by-default multi-agent subagent support (
multi_agentfeature flag = stable/true), withspawn_agents_on_csv,x-openai-subagent,SubagentStartHookin the binary,agents.max_threadsdefault 6,agents.max_depthdefault 1. Subagents inherit the parent's sandbox policy, so underdevfullevery spawned subagent is also full-access unless scoped down via custom per-agent.codex/agents/*.tomlfiles withsandbox_mode = "read-only".
Why: Corrects a prior wrong claim (made in this same session) that Codex CLI was single-agent with no parallel fan-out. Justin pushed back with binary-level evidence and it checked out.
How to apply: When helping Justin set up Codex-driven builds that need self-service branch/worktree/cross-repo writes, point him at the devfull profile pattern. When those builds include audit/review roles that shouldn't have write access, recommend project-scoped .codex/agents/*.toml custom agents with sandbox_mode="read-only" rather than assuming Codex can't do parallel work at all.
[auto-memory session 577603bc-d3a9-4b19-bb8e-6db80243b054, confidence 0.75, mode staged]