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
- Save a feedback memory or add to CLAUDE.md: "Plans must stay inside project directory"
- Enter plan mode
- Claude writes the plan to
~/.claude/plans/despite the user instruction
Environment
- Claude Code CLI
- macOS
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗