[BUG] Plan mode: approving plan repeatedly does not exit plan mode
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report
- [x] I am using the latest version of Claude Code
What's Wrong?
When using plan mode, the user approves the plan by pressing "yes", but Claude Code does not exit plan mode and begin execution. Instead, it loops back and re-presents the plan for approval. Pressing "yes" multiple times has no effect — the plan is never executed.
The user had to manually copy the plan and paste it as a regular message outside of plan mode to get it implemented.
What Should Happen?
After the user approves the plan, Claude Code should exit plan mode and begin implementing the approved plan.
Steps to Reproduce
- Start a conversation with Claude Code using Opus model
- Enter plan mode (or let Claude enter it automatically for a multi-step task)
- Claude presents a detailed implementation plan
- Press "yes" to approve the plan
- Claude loops back to plan mode instead of executing
- Press "yes" again — same result, stuck in a loop
Claude Model
Opus
Is this a regression?
I don't know
Claude Code Version
2.1.76 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
The workaround was to copy the plan content and paste it as a user message outside of plan mode, which then executed successfully.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗