Bug Report – Undo All Deletes Files Instead of Reverting Changes (macOS)
Product: Cursor Editor OS: macOS (Apple Silicon / Intel – observed on Mac) Issue Type: Critical – Data loss risk
Problem Summary
When multiple files are edited and I use “Undo All” (or equivalent bulk undo action), instead of reverting the changes inside the files, Cursor sometimes deletes the files completely from the project.
This causes unintended file removal rather than rolling back edits.
Steps to Reproduce (Observed Behavior)
Open a project in Cursor on macOS
Edit multiple files (add/remove content)
Trigger Undo All (or bulk undo for recent changes)
Instead of reverting content → files get deleted
Expected Behavior
All modified files should revert to their previous state (content undo only)
Actual Behavior
Some or all edited files are removed from the filesystem
Impact
High risk of accidental data loss during normal undo workflow.
Additional Notes
• Happens specifically with multi-file edits
• More noticeable when working fast across many files
• Standard undo per file works fine — bulk undo triggers the issue
Please investigate — this can cause serious project damage if unnoticed.
For AI issues: which model did you use?
Model name (e.g., Sonnet 4, Tab…)
For AI issues: add Request ID with privacy disabled
Request ID: f9a7046a-279b-47e5-ab48-6e8dc12daba1
For Background Agent issues, also post the ID: bc-…
Additional Information
Add any other context about the problem here.
Does this stop you from using Cursor?
Yes - Cursor is unusable
Sometimes - I can sometimes use Cursor
No - Cursor works, but with this issue
The more details you provide, the easier it is for us to reproduce and fix the issue. Thanks!