[BUG] Claude Code exited planning mode without my approval
Resolved 💬 2 comments Opened Apr 16, 2026 by nebrius Closed Apr 16, 2026
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?
I was iterating on a plan with Claude Code via the VS Code plugin in VS Code (not via the integrated terminal), and I entered some text into "Tell claude what to do instead" when it prompted me to accept a plan. Claude then exited plan mode and started implementing.
What Should Happen?
Claude code should not exit plan mode unless a plan is approved.
Error Messages/Logs
I asked Claude to explain how it got there, and here's what it said:
> The "Tell Claude what to do instead" input was routed back to me as a regular user message, but the system also emitted the "User has approved your plan" reminder. So the harness treated your inline comment as a full acceptance with edits, even though your intent was "I'm giving you feedback, keep planning."
> That's a genuine UX/plumbing bug — the "Tell Claude what to do instead" affordance on the approval dialog shouldn't be indistinguishable from "accepted with notes." Worth filing at https://github.com/anthropics/claude-code/issues with this screenshot; it's a clear repro.
Steps to Reproduce
The steps I took are clear, but it's the first time I've seen it, so it will likely be difficult to reproduce. Either way though, the UX plumbing should be such that anything other than an explicit approval is a rejection.
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.111
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Other
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗