Plan mode ignores user instruction to keep plans inside project directory

Resolved 💬 2 comments Opened Apr 6, 2026 by sakal-s Closed Apr 7, 2026

Bug

When plan mode is active, the system message directs Claude to write the plan file to a global path:

~/.claude/plans/<generated-name>.md

This conflicts with user instructions (stored in memory/CLAUDE.md) that specify plans must stay inside the project directory. Claude follows the system message path instead of the user's instruction.

Expected behavior

The plan mode default path should respect user-configured preferences, or at minimum, Claude should prioritize user instructions over the default plan path.

Steps to reproduce

  1. Save a feedback memory or add to CLAUDE.md: "Plans must stay inside project directory"
  2. Enter plan mode
  3. Claude writes the plan to ~/.claude/plans/ despite the user instruction

Environment

  • Claude Code CLI
  • macOS

View original on GitHub ↗

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