# Keep File / Undo File prompt keeps appearing on manually edited files

**URL:** <https://forum.cursor.com/t/keep-file-undo-file-prompt-keeps-appearing-on-manually-edited-files/152661>\
**Category:** Bug Reports\
**Tags:** review\
**Created:** [February 23, 2026, 2:50pm UTC](https://forum.cursor.com/t/keep-file-undo-file-prompt-keeps-appearing-on-manually-edited-files/152661 "2026-02-23T14:50:36Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [February 23, 2026, 7:37pm UTC](https://forum.cursor.com/t/keep-file-undo-file-prompt-keeps-appearing-on-manually-edited-files/152661/3 "2026-02-23T19:37:35Z")

</div>

Hey, thanks for the detailed report.

A couple of quick follow-up questions before we dig in. This will help narrow down the possible causes.

1. Before this started happening, did you use Agent or any AI features (Cmd+K, Tab, Apply) in these same files during this session (or a previous one)? There’s a known issue where diff reviews from past agent runs can “stick” to files and show up later, even when you’re editing manually.
2. Does this happen in a completely new project with no AI usage at all, or only in projects where the agent previously made changes?
3. Are you using a multi-root workspace (more than one root folder)?

If it turns out agent changes were applied earlier, it’s probably a variant of [this known issue](https://forum.cursor.com/t/151723), where stale diff reviews don’t get cleared properly. A few workarounds that often help:

- Close the specific chats where those reviews were originally created
- Stage and commit the files, this sometimes resets the Keep/Undo state
- As a last resort: rename the file, fully quit Cursor, reopen it, then rename it back

If this is really happening with no prior AI involvement, that’s a different bug, and I’ll pass it to the team.

Let me know.

---

_[View the full topic](https://forum.cursor.com/t/keep-file-undo-file-prompt-keeps-appearing-on-manually-edited-files/152661)._
