Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
After the agent finished implementing code changes, I said:
“Do it and let me review.”
That was a request to leave the work for me to inspect. It was not a request to commit or push. There was no “commit”, “push”, “PR”, or “ship” language.
The agent still:
- ran
git commit - ran
git pushto the existing PR branch
I also have a user rule that says only create commits when explicitly asked, and not to push unless explicitly asked. The agent ignored that.
“Let me review” should never be treated as approval to publish. Review means the user inspects the diff; commit/push are separate, explicit steps.
This overlaps older reports about unsolicited git commit/push (several of those threads are now closed to replies). The important failure mode here is instruction-following: clear review language + an explicit no-commit-unless-asked rule were both overridden.
Related closed threads:
- Agent began pushing code without permission 😨
- Critical Bug Report: Assistant Violates Explicit Memory About Git Commits
Steps to Reproduce
- In Agent mode, ask the agent to implement a code change.
- When it finishes, say: “Do it and let me review.”
- Observe that the agent runs
git commitandgit pushwithout an explicit commit/push request.
Expected Behavior
Leave changes uncommitted (or at most local) so the user can review. Do not commit or push unless the user explicitly asks.
Operating System
MacOS
Version Information
Version: 3.12.30
VSCode Version: 1.128.0
Commit: 63a2996a10d9e476b6c28e951dd7691d9c0cf480
Date: 2026-07-21T22:50:03.568Z
OS: Darwin arm64 25.5.0 (macOS 26.5.1)
For AI issues: which model did you use?
Cursor Grok 4.5
Additional Information
Settings that may matter:
- Auto-Run mode: <Off / Run in Sandbox / Run Everything — fill from Settings → Agents>
- git commit / git push on Command Allowlist?: <yes/no>
- Legacy Terminal Tool: <on/off>
Even if sandbox/allowlist behavior is involved, the model should not treat “let me review” as ship approval when user rules forbid unsolicited commits.
Does this stop you from using Cursor
No - Cursor works, but with this issue
Request ID:
7852df0a-0e68-4e00-8a3e-0a9dd4fda82f
a17d1841-04d1-4d9d-836a-4c058a154d97