If the agent suggests changes to a file that then gets deleted, the file will persist or the hovering “review next” button will force you to review it.
This is very annoying if like the agent creates a file, but then deletes it programmatically, the review UI will force you to recreate the file.
I have a very special use case where this issue is particularly annoying, but the above is probably what most people can relate to.
Steps to Reproduce
Have agent suggest a change, delete the file programmatically, the file will recreate itself or force you to do so with a “review next” button always hovering.
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Oh, no I realized what the issue is more specifically. If an agent edits a currently existing file, then the file is deleted programmatically, regardless of whether I accept or deny the edit, the file is recreated.
In either case (agent created a file or is editing an existing), if the file gets deleted programmatically after, I shouldn’t be asked to review any changes from it regardless.