Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
After working with the Agent on a large change set, the review bar above the chat input showed a huge file count (around 380–393 files) with a Review button. While that review was still open, I updated Cursor. I chose Keep to keep the changes, but after Cursor restarted, many of those files were wiped or emptied — not just “agent edits undone,” the actual file contents were gone (or reduced to stubs). This happened to me twice in similar conditions. I only recovered because Windows had a backup.
Steps to Reproduce
- Open a large project in Cursor.
- Run an Agent chat that edits a number of files, so the review bar above the chat input shows the number of edited files with a Review button.
- While that Agent review bar is still open/pending, update Cursor (or restart Cursor during the update).
- When prompted about the changes, choose Keep.
- After Cursor restarts, check the files that were listed in that review.
What happened for me: a large number of those files were wiped/emptied after the restart, even though I chose Keep!
Expected Behavior
- Keep should preserve the files and the accepted Agent changes.
- If I don’t keep the changes, Cursor should only discard the pending Agent edits and restore the previous versions — it should never delete or blank the original files.
- Updating or restarting Cursor while a large Agent review is open should be safe. At worst, Cursor should restore the pending review or ask again. It should never wipe project files.
Operating System
Windows 10/11
Version Information
3.16.17 (user setup)
Additional Information
- Happened twice, both times while a large Agent review was open and I updated Cursor.
- The UI involved is the Agent review strip above the chat input — the one that shows a large count like “393 Files” and a Review button (not the normal Source Control / git panel). Screenshot attached.
- Impact is severe: large parts of a real project can disappear. Recovery only worked because Windows File History / backup was available.
- Please treat “Agent review open + app update/restart” as a critical safety case, especially for large multi-file reviews.
Does this stop you from using Cursor
No - Cursor works, but with this issue