Plan Mode: Cannot exit when user selects 'Info only' - no plan needed
Bug Report: Plan Mode Exit blocked despite 'Info only' response
Environment
- Claude Code CLI
- Model: Opus 4.5
- OS: macOS
Issue
When in Plan Mode, if the user answers a clarifying question indicating they only wanted information (not
implementation), Claude correctly understands no plan is required. However, when Claude tries to call
ExitPlanMode, the system blocks it with:
No plan found. Please write your plan to the plan file first.
Expected Behavior
If the user indicates they only wanted information (not implementation), ExitPlanMode should allow exiting
without requiring a plan file, since there's nothing to plan.
Suggested Fix
- Allow ExitPlanMode to accept an optional parameter like no_plan_needed=true
- Or: Detect when user response indicates 'info only' and auto-exit plan mode
- Or: Provide a 'Cancel Plan Mode' option separate from 'Exit Plan Mode'
Reproduction Steps
- Enter plan mode (e.g., by asking about a feature)
- Claude asks clarifying question with option like "Only info / No implementation needed"
- User selects that option
- Claude tries to exit plan mode → Blocked with "No plan found"
Actual Output
⏺ User answered Claude's questions:
⎿ · Möchtest du einen RAG-Agenten bauen? → Nur Info
⏺ [Claude provides informational response...]
─────────────────────────────────────────────────────────
Ready to code?
Here is Claude's plan:
No plan found. Please write your plan to the plan file first.
─────────────────────────────────────────────────────────
Would you like to proceed?
❯ 1. Yes, and auto-accept edits
- Yes, and manually approve edits
- No, keep planning
The user selected "Info only" but the system still demands a plan file, creating a dead-end.
---
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗