Persistent "Keep all changes" / "Review Next File" bar in the editor cannot be dismissed; it returns after accepting new Agent diffs (3.29.15)

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

In the editor, a review bar stays pinned at the top-right of the file (next to the breadcrumb): a blue Keep all changes button and a Review Next File button. There is no way to dismiss or cancel this bar, and it does not go away on its own. This is always visible in the editor chrome and gets in the way of normal editing.

When a new Agent makes further edits, per-file Keep / Keep file actions appear and those can be clicked. After I accept those new changes, the UI goes back to the same stuck Keep all changes + Review Next File bar.

Steps to Reproduce

  1. Open a workspace in Cursor 3.29.15 that includes one or more git repositories, and where some git-tracked files were previously deleted and no longer exist. Use Agent to edit files (the stuck bar may already be present from earlier Agent work).

  2. A review bar with “Keep All Changes” and “Review Next File” appears in the upper-right of the editor, above the file contents, and cannot be dismissed.

  3. Click “Review Next File”. The editor jumps to a previously deleted file in one of the workspace’s git repositories; that file no longer exists.

  4. Click the Agent chat so the Agent input has focus: the two buttons disappear. Click any line in a file so focus returns to the editor: the two buttons reappear.

  5. Start a new Agent that edits a batch of files again. Opening one of those files shows per-file “Keep File” / “Undo”, which can be clicked successfully.

  6. After clicking “Keep File”, the same two-button bar returns. Clicking “Keep All Changes” in the editor has no effect. A “Keep All” button does appear above the Agent chat and that one works: after clicking it, the chat’s “Keep All” disappears, but the two editor buttons remain.Expected Behavior

Once pending Agent diffs are accepted, or when there is nothing left to review, the Keep all changes / Review Next File bar should disappear. A stale review bar should be dismissible.

Screenshots / Screen Recordings

Operating System

MacOS

Version Information

3.29.15 (Universal)

Additional Information

  • Note: I only just updated to 3.29.15. This issue may have been present in earlier versions; I have not confirmed when it first appeared.

  • This is a review-UI state issue; the underlying file changes themselves are not the problem.

  • Related, but different repro: Stale “Keep all changes” review UI after worktree removal (also 3.29.15; triggered by a deleted git worktree). Older threads on stuck Review Next File: 137664, 145246, 164999.

  • Workarounds tried: [Did sidebar Keep All, a new chat, or Developer: Reload Window clear the bar? Yes/No.]

  • Console errors when clicking the stuck buttons: [none / paste relevant lines]

Does this stop you from using Cursor

No - Cursor works, but with this issue

Same failure here on Windows, with an agent temp file rather than a deleted git-tracked file.

Review Next File still opens paths the agent has already removed. In this case the path is `%LOCALAPPDATA%\Temp\check_lw.ps1`. The agent created that script and deleted it before review.

The editor then shows:

> The editor could not be opened because the file was not found.

with a **Create File** button. On that page the review bar is gone, so there is no **Review Next File** control and no way to advance the queue.

**Workaround that brings the bar back**

1. Click **Create File**. The empty file opens and the review controls return: **Undo File**, **Keep File**, and the file pager (**1 of 8 Files**). The hunk counter shows **0 of 0**.

2. Click **Undo File**. That removes the file just created, and **Review Next File** is available again.

This shows up more often now because agents delete these temp scripts before review. While the file was still on disk, the diff editor stayed open and **Next** worked. The queue still lists the path after the delete.

Keep_Undo

Screenshots: the not-found page for check_lw.ps1, and the review toolbar after Create File.

Cursor version: 3.29.16. OS: Windows (10.0.26320).

Same failure on MacOS, I had to clear the local state to remove that persistent bar. Removed state.vscdb and state.vscdb.backupas a temporary solution..