Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Previously, Cursor had a setting in Settings → Agents that required manual confirmation before the agent executed destructive git commands: commit, reset, restore, checkout. Every time the agent attempted to run one of these commands, a dialog appeared in the UI asking me to click Allow or Reject.
After the latest Cursor update (2.5), this setting is gone. Now the agent executes git reset and git checkout without any confirmation, even though these commands are not in my Command Allowlist.
These commands are not in my Command Allowlist, but the agent runs them anyway without prompting.
Expected: agent shows Allow/Reject dialog before executing destructive git commands.
Actual: agent executes them silently without confirmation.
Steps to Reproduce
- Open Cursor with Auto-Run Mode set to “Auto-Run in Sandbox”
- Make sure git reset, git checkout, git commit are NOT in the Command Allowlist
- Ask the agent to perform any task that involves git changes
- Observe: agent executes git reset or git checkout without showing Allow/Reject dialog
Operating System
MacOS
Version Information
Version: 2.5.17
VSCode Version: 1.105.1
Commit: 7b98dcb824ea96c9c62362a5e80dbf0d1aae4770
Date: 2026-02-17T05:58:33.110Z
Does this stop you from using Cursor
No - Cursor works, but with this issue