claude-code - 💡(How to fix) Fix Plan mode: expose 'auto-classifier collapses plan body' as opt-in setting [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#58795Fetched 2026-05-14 03:39:19
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
2
Author
Timeline (top)
labeled ×3commented ×1

In recent versions of Claude Code, when plan mode finishes and the auto mode classifier judges the proposed plan safe, the plan body is collapsed behind a /plan to preview command. The "Exit plan mode? Yes/No" prompt appears immediately afterwards - without the plan body being rendered inline in the chat transcript.

Previously the plan body was printed inline before the approval prompt, so the user could read it in context and decide.

I'd like this fast-path behavior to be opt-in via a setting, with the old inline-plan behavior restored as the default.

Root Cause

  • Approving a collapsed plan requires an extra round-trip: pick No -> type /plan -> read -> re-approve. That's friction on the exact step where the user is supposed to be reviewing.
  • The whole point of plan mode is human review of the proposed approach before edits land. The classifier's "this looks safe" judgment is useful as a signal, but it shouldn't silently replace the user's review by collapsing the artifact they were asked to approve.
  • It's also confusing UX: the prompt asks "Exit plan mode?" without showing what would actually be approved, so the user has no context in the scroll-back either.

Code Example

* Updated plan
  L /plan to preview
  L Allowed by auto mode classifier

Exit plan mode?
  1. Yes
  2. No

---

{
  "planMode": {
    "autoCollapseWhenClassifierAllows": false
  }
}
RAW_BUFFERClick to expand / collapse

Summary

In recent versions of Claude Code, when plan mode finishes and the auto mode classifier judges the proposed plan safe, the plan body is collapsed behind a /plan to preview command. The "Exit plan mode? Yes/No" prompt appears immediately afterwards - without the plan body being rendered inline in the chat transcript.

Previously the plan body was printed inline before the approval prompt, so the user could read it in context and decide.

I'd like this fast-path behavior to be opt-in via a setting, with the old inline-plan behavior restored as the default.

What I see today

* Updated plan
  L /plan to preview
  L Allowed by auto mode classifier

Exit plan mode?
  1. Yes
  2. No

Steps:

  1. Start a session in plan mode.
  2. Ask Claude to draft a non-trivial plan.
  3. When Claude finishes, observe the collapsed "Updated plan" line.
  4. The "Exit plan mode?" prompt fires immediately, with no plan body in the transcript.

Why this matters

  • Approving a collapsed plan requires an extra round-trip: pick No -> type /plan -> read -> re-approve. That's friction on the exact step where the user is supposed to be reviewing.
  • The whole point of plan mode is human review of the proposed approach before edits land. The classifier's "this looks safe" judgment is useful as a signal, but it shouldn't silently replace the user's review by collapsing the artifact they were asked to approve.
  • It's also confusing UX: the prompt asks "Exit plan mode?" without showing what would actually be approved, so the user has no context in the scroll-back either.

Proposal

Expose this as an opt-in setting in settings.json. For example:

{
  "planMode": {
    "autoCollapseWhenClassifierAllows": false
  }
}

Defaults:

  • false (default): always render the plan body inline in chat before the "Exit plan mode?" prompt - the previous behavior.
  • true: keep the current fast-path - collapse the body when the auto classifier allows the exit.

Alternative naming if you prefer phrasing it positively: planMode.showPlanInline with default true.

Environment

  • Claude Code: 2.1.140
  • Platform: macOS (Darwin 25.3.0)
  • Shell: zsh

Thanks!

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix Plan mode: expose 'auto-classifier collapses plan body' as opt-in setting [1 comments, 2 participants]