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

  1. Enter plan mode with /plan
  2. Create/use a plan (a .md file is created in ~/.claude/plans/)
  3. Exit plan mode
  4. Delete the plan file: rm ~/.claude/plans/<name>.md
  5. 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

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗