[BUG] Plan mode: accepting plan is interpreted as rejection, creating infinite loop
Resolved 💬 2 comments Opened Mar 13, 2026 by saurabhav88 Closed Apr 10, 2026
Environment
- Claude Code CLI (terminal, not VS Code)
- macOS Darwin 25.4.0
- Model: claude-opus-4-6
Bug Description
When in plan mode, after Claude presents a plan and the user selects the option to accept/submit the plan for execution, the system incorrectly interprets the acceptance as a rejection. Claude responds with something like "the user denied the plan" and re-presents the plan, creating an infinite loop where it's impossible to proceed to execution.
The only way out is to cancel and start over outside of plan mode.
Steps to Reproduce
- Start a task in Claude Code
- Enter plan mode (Shift+Tab or
/plan) - Claude generates a plan
- When prompted with the plan approval options, select the option to accept/execute the plan (option 1)
- Observe that Claude reports the plan was denied/rejected instead of accepted
- Claude loops back to presenting the plan again
Expected Behavior
- Selecting the accept/submit option should approve the plan
- Claude should exit plan mode and begin executing the approved plan
Actual Behavior
- The accept selection is misinterpreted as a rejection
- Claude says the user denied the plan
- The plan is re-presented in an infinite loop
- No way to proceed to execution from plan mode
Related Issues
- #7320 — Similar misinterpretation of approval as rejection (file edits, closed)
- #30463 — Plan mode blocks in don't-ask mode (different trigger, same area)
- #4251 — ExitPlanMode infinite loop in SDK
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗