[Bug]: Codex Full access threads stop for approval on rm -rf since 0.1.10
Before submitting
- [x] I searched existing issues and did not find a duplicate. (#30374 is related but concerns
approval_policy = "never"rejecting a command; this is the opposite: a Full access thread now stops for approval.) - [x] I included enough detail to reproduce or investigate the problem.
Area
apps/server
Steps to reproduce
- Use T3 Code 0.1.10 with the Codex provider.
- Start a Codex thread in Full access.
- Ask the agent to run a command that includes a forced removal, for example
rm -rf /tmp/t3-repro && mkdir -p /tmp/t3-repro.
Expected behavior
Full access runs the command without an approval prompt, as it did before 0.1.10. The permission-modes doc says Full access "Allows commands and edits without approval prompts."
Actual behavior
The turn stops on a command approval request (kind: "command") until the user approves it.
Over the day after updating to 0.1.10, two Macs recorded 8 command approvals in Full access threads (runtime_mode = 'full-access' in orchestration_v2_projection_threads). Every one was a command containing rm -rf or rm -f on scratch paths under /tmp, for example:
rm -rf /tmp/micprobe && mkdir -p /tmp/micprobe/src && ...cd /tmp && rm -rf pwv && mkdir pwv && ...cd /tmp/lp3 && rm -f lp3.zip && ...
Neither Mac has any command approval recorded before the update. Commands without rm -f/rm -rf (including git worktree remove) still run without prompts.
Likely cause
#37104 (96290af4e0, "keep browser access prompts available in full access") changed the Full access policy in CodexAdapterV2.ts from approvalPolicy: "never" to:
approvalPolicy: {
granular: {
mcp_elicitations: true,
request_permissions: false,
rules: false,
sandbox_approval: false,
skill_approval: false,
},
},
Under never, Codex rejected its dangerous-command check for rm -f/rm -rf silently and the agent took another route. Under this granular policy, that check is not covered by any category set to false, so Codex sends an exec approval request and T3 shows it to the user. Full access should answer it automatically, the same way the adapter already accepts MCP elicitations in Full access.
Impact
Major degradation or frequent failure: unattended Full access threads stop until someone approves.
Version or commit
T3 Code 0.1.10 (desktop, auto-updated 2026-11-17). Codex CLI 0.169.0-alpha.11.1.
Environment
macOS 26.5.2 (Apple Silicon), Mac mini and MacBook Air.
Workaround
Tell the agent not to use rm -f/rm -rf (for example through an AGENTS.md line or a SessionStart hook), or approve each request with "Allow for this session".
This is the same problem as #37298, so I'm closing it in favour of that one. If it is different, say how and it will be reopened.