Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
I really like the new agent review feature! Thank you cursor.
However, I sometimes experience troubles with it:
When I click on fix in chat if gets fixed first. But then I want to push and it says, the user has deleted my changes and so forth.
If you fix it again, same happens… this is a bug review cycle…
Steps to Reproduce
I really like the new agent review feature! Thank you cursor.
However, I sometimes experience troubles with it:
When I click on fix in chat if gets fixed first. But then I want to push and it says, the user has deleted my changes and so forth.
If you fix it again, same happens… this is a bug review cycle…
Error Message Pattern
“the user has deleted my changes”
“Changes not staged for commit”
“Everything up-to-date” (even though changes were just made)
Root Cause
Agent Review appears to continuously compare the working directory against the remote repository. When it detects a difference, it assumes the remote is “correct” and automatically reverts local changes - even if those changes are the intended fixes.
Workaround That Works
-
Open Agent Review -
Use “Fix in Chat” to analyze issues -
Close Agent Review panel (important!) -
Let AI Agent implement the fix -
Commit & Push successfully
Closing the Agent Review panel before committing prevents the reset loop.
Reproduction Steps
-
Open a file with an issue detected by Agent Review
-
Click “Fix in Chat”
-
AI Agent makes the fix
-
Keep Agent Review panel open
-
Try to git add and git commit
-
Observe: Changes get reverted automatically
-
Repeat → Infinite loop
Screenshots / Screen Recordings
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
Version: 2.0.38 (user setup)
VSCode Version: 1.99.3
Commit: 3fa438a81d579067162dd8767025b788454e6f90
Date: 2025-10-29T20:45:40.883Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26200
For AI issues: which model did you use?
Sonnet 4.5 Thinking
Does this stop you from using Cursor
No - Cursor works, but with this issue
