Plan mode: blue label persists after deleting plan file
Resolved 💬 2 comments Opened Mar 24, 2026 by mvdnbrk Closed Apr 22, 2026
Description
After deleting a plan file with rm ~/.claude/plans/<name>.md, the blue plan label remains visible in the UI for the current session.
Steps to reproduce
- Enter plan mode with
/plan - Create/use a plan (a
.mdfile is created in~/.claude/plans/) - Exit plan mode
- Delete the plan file:
rm ~/.claude/plans/<name>.md - The blue plan label still shows in the UI
Expected behavior
The blue label should disappear after the plan file is deleted, or at minimum after toggling /plan again.
Actual behavior
The label persists until starting a new conversation (/clear or restarting Claude Code).
Environment
- Claude Code (CLI)
- macOS
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗