Plan Mode persists and re-applies old changes after restart/reopening

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

For the past month, I’ve been experiencing a bug with Plan Mode where:

  1. I request changes in Plan Mode (e.g., fixing a test file)
  2. The plan proposes creating/modifying files
  3. I accept the changes, commit and push them

When I reopen my laptop (from sleep or lock mode, or after restarting) and go to Cursor, old Plan Mode changes are re-applied automatically, creating “ghost” files that shouldn’t exist.

Steps to Reproduce

Open a project in Cursor
Use Plan Mode (Agent) to request a code change (e.g., “fix this test”)
Plan Mode proposes changes - some may include creating new files
Accept/approve all the proposed changes
Commit the changes with git
Close Cursor completely
Reopen Cursor and the same project
Bug: Previously proposed files from Plan Mode reappear as untracked files, even though they were already handled (committed or rejected)

Expected Behavior

After committing changes, Plan Mode state should be fully cleared. No cached proposals.
Files created/modified during a Plan Mode session should NOT be re-created automatically on restart.

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.1.47 (system setup)
VSCode Version: 1.105.1
Commit: 2d3ce3499c15efd55b6b8538ea255eb7ba4266b0
Date: 2025-12-04T02:31:50.567Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.26200

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. This looks like a bug in Plan Mode state. We need details to reproduce:

  • When exactly do the files appear - right after opening Cursor or after opening a chat/starting a Plan
  • Examples of names and paths of these “ghost” files, and their git status (untracked or modified)
  • A short video or screenshots
  • Request IDs: from the original Plan Mode session where these files were suggested, and from the moment they appear again (Chat menu in the top right → Copy Request ID)
  • Logs: Help > Toggle Developer Tools → Console, copy errors/warnings right after the files appear

A couple of quick checks:

  • Try to reproduce in a new chat in the same project and in a clean repo
  • Launch Cursor with extensions disabled: cursor --disable-extensions
  • Confirm that git status is clean after commit, and the files appear only after restarting Cursor

Send the results - if we can reproduce, we’ll pass it to engineering.

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.