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
[Bug] Commands auto-executed in plan mode without approval #29955
[BUG] AI agent executes commands automatically in Plan Mode without approval.
Description
There is a critical security/logic flaw where the AI agent completely ignores the Plan mode constraint and directly executes bash/system commands (such as starting/stopping local processes) without waiting for user approval.
Steps to Reproduce
Enter Plan mode.
The user inputs a prompt that implies a system action (e.g., "Open Discord").
The AI suggests a plan, but simultaneously issues and runs the PowerShell/Bash commands underneath to kill and restart the application.
The application actually opens/closes on the local machine, meaning the tool bypassed the confirmation barrier entirely.
Actual Behavior
Even though the UI/Session shows it is in Plan mode, the backend executes the generated code/commands automatically.
Expected Behavior
In Plan mode, the agent MUST ONLY generate the plan and stop. It should never execute any code or commands until the user explicitly toggles to an execution mode or approves the action.
Activity
github-actions commentedon May 30, 2026
This issue might be a duplicate of existing issues. Please check:
If your issue is the same as one of these, please add a comment there rather than opening a new report.
github-actions commentedon Jul 29, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.