Sometimes when opening files for editing, large chunks of code that I accepted days or even weeks ago will be in the highlighted “keep/undo” state. Happens very often and makes the IDE pretty much unusable because it’s easy to lose track of what my agent is actually working on.
If I accept the changes, the file doesn’t actually change and no changes are shown in version control because as I mentioned, these code blocks were accepted already.
Steps to Reproduce
Accept code changes from the agent, then re-open files that were edited.
Expected Behavior
Cursor should remember that I accepted these code blocks WEEKS ago and stop prompting me to keep or undo them.
Hey, thanks for the report. This is a known issue with the review UI. The keep and undo blocks don’t get cleared after acceptance, and files keep piling up. The team has already worked on a fix, but based on your version, it looks like the issue is still happening.
Try these workarounds:
Quick ones:
Close and reopen the specific chat (sometimes this helps temporarily)
Cmd+Shift+P → Developer: Reload Window
If that didn’t help:
Make any small change in the file, then stage and commit it. This can “wake up” the Keep All button
In the problematic file, delete the highlighted blocks, save, then immediately press Cmd+Z (undo)
Rename the file, fully close Cursor, reopen it, then rename the file back
I get that this is annoying with lots of files. If the workarounds don’t help, can you send the Request ID from the last Agent request (chat context menu → Copy Request ID)? I’ll check if we need to escalate again, since there was a fix but it clearly didn’t cover all cases.