Agent referring to plans deleted!

Describe the Bug

I deleted a plan and can’t find it in codebase, but the agent is still referring to it.

Steps to Reproduce

Create a plan implement it and then delete the plan.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.7.52
VSCode Version: 1.99.3

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. It looks like the agent is keeping a plan in context even though you no longer want to use it.

Quick clarification needed:

  • How did you remove the plan, did you click Undo or just not save it?
  • Does the agent still reference this plan if you start a completely new chat Cmd+I, or does the problem go away?
  • What exactly does the agent say about the plan?
  • Please also check the .cursor/plans folder, the plan might be stored there.

If the agent keeps referencing a discarded plan across new sessions, it’s likely a bug in how plan state is tracked. If it only happens in the current chat, starting a new session should resolve it.

Let me know what you find!