Plan mode does not block Edit/Write tool calls
Resolved 💬 2 comments Opened Mar 31, 2026 by smirky-rabbit Closed Mar 31, 2026
Bug Description
When plan mode is active, Claude can still execute Edit and Write tool calls. The system reminder says plan mode is read-only, but the tools are not actually blocked at the tool-execution level — they go through successfully.
Expected Behavior
Edit and Write tool calls should be rejected/blocked when plan mode is active, similar to how other restricted tools are blocked.
Actual Behavior
Edit and Write tools execute normally despite plan mode being active. The only enforcement is via system reminder instructions, which the model can (and does) ignore.
Steps to Reproduce
- Enter plan mode (e.g., via
/planor automatic plan mode trigger) - Ask Claude to investigate and fix a bug
- Claude proceeds to use Edit tool to modify files despite plan mode being active
- Edits succeed without any blocking
Environment
- Claude Code on Windows 11
- Model: claude-opus-4-6
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗