Hey, thanks for the report and screenshots. This is a known issue. Old diffs from a review (accept or undo) can get stuck or come back even after commits and restarts. A few users have already reported it:
- Past Agent Suggestions Won’t Go Away
- AI Agent file review list accumulates stale files
- Reset internal history
A couple workarounds that helped other users:
- Close any chats that originally created those reviews, even if the changes were committed a while ago. The review state might still be hanging around.
- Make a small change in the affected file, then re-index and commit. Sometimes that clears the stale diffs.
- As a last resort, rename the file, fully quit Cursor, reopen it, then rename the file back.
What you noticed, where committing other active files clears the “ghost” diffs, matches what others have reported. It looks like the review state can get stuck sometimes, and git activity can shake it loose.
Let me know if these workarounds help, or if the issue keeps coming back.