Stale Plan Suggestions Persist After Plan File Deletion

Describe the Bug

/* all the content is written by AI */
After deleting a plan file from ~/.cursor/plans/, the UI continues to display the plan suggestions. The suggestions appear as “Planning next moves” with checkboxes that don’t reflect the actual stat

Steps to Reproduce

Create a plan (enters Plan Mode)
Complete or cancel the plan tasks
Delete the plan file from ~/.cursor/plans/ via terminal
Observe that UI still shows the plan suggestions

Expected Behavior

Plan suggestions should disappear immediately when the plan file is deleted, or at least refresh when the user interacts with the chat.

Screenshots / Screen Recordings

Operating System

Linux

Version Information

Version: 3.3.30 (system setup)
VSCode Version: 1.105.1
Commit: 3dc559280adc5f931ade8e25c7b85393842acf30
Date: 2026-05-09T18:28:42.332Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.19045

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hey, thanks for the report. No extra info needed. The key thing is that the plan state isn’t stored only in ~/.cursor/plans/*.plan.md, it’s also kept in an internal registry composer.planRegistry. So when you delete the file in the terminal, the registry entry stays and the UI keeps showing suggestions. That’s by design.

To clear a plan properly, do it from the Cursor UI in plan mode, not by manually deleting the file on disk. External deletion isn’t supported as a cleanup method right now.

If you want Cursor to react to an externally deleted file and clear the UI, that’s a feature request, not a bug.