Ask cursor agent to make some changes to a file. It does so, perhaps using multiple edit calls. (call it edit #1) No problem.
Without hitting “approval all”, ask cursor agent to make another edit. (call it edit #2). it does so.
Click the ‘reject’ button specifically only on the most recent edit (#2).
Expected result:
Edit #2 is rejected, and edit #1 remains.
Actual result:
ALL edits in this session are rejected.
Steps to Reproduce
Run a few edits without accepting them, reject a single one: All edits are gone.
Lost a few timey my progress on a complete file, because it looks scoped to a single agent change, not all what was changed.
Edit: Copied from here, since it was closed:
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Hey, thanks for the report. This is a known issue already mentioned in the linked topic. Right now, the Undo button rejects all pending edits in the session instead of only the selected one.
I’ll pass this to the team. As a temporary workaround, you can:
Accept all edits first, then manually undo or fix the changes you didn’t want
Or accept edits incrementally after each agent response before requesting the next change