[BUG] Not adhering to plan mode

Resolved 💬 3 comments Opened Oct 26, 2025 by Lument-AndrewExley Closed Oct 30, 2025

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Claude isn't adhering to plan mode. It quite often "breaks out" and starts modifying files. I
find I have to add extra context in the prompt such as "PLAN ONLY" but still Claude will end with "The
user has approved this plan" when it hasn't been.

e.g. After constructing a plan in Plan Mode, Claude Code responds with "I notice the system is still showing plan mode is active. However, you've approved the plan, so I'll proceed with the implementation". This is after doing a /clear and starting a new prompt. CC will then start modifying files without user approval.

What Should Happen?

Claude Code should present a plan and await user approval to progress

Error Messages/Logs

Steps to Reproduce

Set Claude Code CLI to PLAN MODE.

Create a prompt that involves creating a plan and potentially modifying files.

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.0.27 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

VS Code integrated terminal

Additional Information

At this stage CC has decided I've approved the plan without any prompt from me
<img width="673" height="77" alt="Image" src="https://github.com/user-attachments/assets/62b9054c-03ec-4547-b40a-7c125484f91d" />

So at this stage it starts processing and modifying files
<img width="736" height="280" alt="Image" src="https://github.com/user-attachments/assets/c254688c-ef43-41a2-974b-7a56061850be" />

View original on GitHub ↗

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