Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
If I ask cursor to make some changes to some files, but then before acting on the diffs (keeping or undoing) I ask it to do something that involves deleting those files entirely, the diff flow for those old files still sticks around. So then I’m stuck in this weird state where the diff flow that lets you walk through file changes goes to those completely deleted files and shows their diffs from the previous request, but the files names are striken out in the tab so it knows they are deleted. I’m then stuck because if I undo or keep the changes in the deleted file, either way it brings that file back from being deleted..
Steps to Reproduce
- Ask agent for changes, and don’t act on diffs (don’t keep or undo)
- Ask agent to remove files that you changed
- You can see that the diffs from 1 are still in the diff flow in the IDE and you either have to keep or undo them, either of which brings the deleted file back
Expected Behavior
Diffs should be ignored for files that have been deleted in a later agent run
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 2.1.50
VSCode Version: 1.105.1
Commit: 56f0a83df8e9eb48585fcc4858a9440db4cc7770
Date: 2025-12-06T23:39:52.834Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 25.1.0
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor