t3code icon indicating copy to clipboard operation
t3code copied to clipboard

[Bug]: Codex threads in Full access still stop for approval on forced rm

Open MRNAQA opened this issue 1 week ago • 1 comments

in t3 code 0.1.11, a codex thread in full access still stops for approval on rm -f and rm -rf.

for full access, t3 sends codex a granular approval policy (sandbox_approval: false, rules: false, approvalsReviewer: "user", sandbox dangerFullAccess), not never. since codex 0.168.0 (openai/codex#59120), that policy sends a forced rm to the user for review (is_dangerous_command.rs, exec_policy.rs). so each new codex thread that runs a forced rm waits for my click, sometimes for hours. in two days, 27 threads asked, 37 requests in total, and every one had a forced rm. threads without one never asked. my ~/.codex/config.toml has approval_policy = "never" and sandbox_mode = "danger-full-access", but the per-turn policy replaces it.

sending never is not a fix, because codex then denies mcp tool calls that need approval.

please accept command approvals in full access when they ask for no extra permissions and no network. t3 already accepts mcp elicitations this way in full access.

versions: t3 code 0.1.11, codex-cli 0.172.0, macos.

MRNAQA avatar Nov 24 '26 22:11 MRNAQA

This is the same problem as #40773, so I'm closing it in favour of that one. If it is different, say how and it will be reopened.

juliusmarminge avatar Nov 24 '26 22:11 juliusmarminge