You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The recent 'Untrusted Command Flags' security warning completely breaks YOLO mode and makes the CLI unproductive compared to Claude Code, as it constantly interrupts for basic file operations when using MCP servers. #29680
The recent 'Untrusted Command Flags' security warning completely breaks YOLO mode and makes the CLI unproductive compared to Claude Code, as it constantly interrupts for basic file operations when using MCP servers.
[ACTION REQUIRED] 📎 PLEASE ATTACH THE EXPORTED CHAT HISTORY JSON FILE TO THIS ISSUE IF YOU FEEL COMFORTABLE SHARING IT.
What did you expect to happen?
just work as long as you're not doing anything destructive
At least allow me to "approve for ever in the session" instead of just this specific execution...
Sometimes the agent will go into executing a series of similar commands which require the approval and you just need to stay there pressing "1"
Opened #30268 to fix this (along with #30004 and #29682) so active, trusted --yolo / -y sessions are no longer interrupted by untrusted-flag or build-file prompts, while preserving all checks in non-YOLO modes, untrusted folders, disableYoloMode, and explicit policy rules.
The PR is freshly rebased onto main, passed /gemini review with 0 issues, and is waiting on maintainer triage/label ahead of the automated 14-day PR close on Nov 28 — if you're still hitting this, a 👍 on #30268 or this issue helps signal impact.
Activity
mottergiuliano commentedon Oct 14, 2026
At least allow me to "approve for ever in the session" instead of just this specific execution...
Sometimes the agent will go into executing a series of similar commands which require the approval and you just need to stay there pressing "1"
fix(core): scope untrusted flag checks to external output and remembe…
fix(core): scope untrusted flag checks to external output and remembe…
fix(core): scope untrusted flag checks to external output and remembe…
fix(core): scope untrusted flag checks to external output and remembe…
fix(core): scope untrusted flag checks to external output and remembe…
zhoulujue commentedon Nov 26, 2026
Opened #30268 to fix this (along with #30004 and #29682) so active, trusted
--yolo/-ysessions are no longer interrupted by untrusted-flag or build-file prompts, while preserving all checks in non-YOLO modes, untrusted folders,disableYoloMode, and explicit policy rules.The PR is freshly rebased onto
main, passed/gemini reviewwith 0 issues, and is waiting on maintainer triage/label ahead of the automated 14-day PR close on Nov 28 — if you're still hitting this, a 👍 on #30268 or this issue helps signal impact.