claude-code - 💡(How to fix) Fix Auto mode selected at plan approval persists after execution completes

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…
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing requests and this hasn't been requested yet
  • This is a single feature request (not multiple features)

Current Behavior

When approving a plan with "Yes, and use auto mode," Claude Code switches to auto mode for execution. After execution completes, the session remains in auto mode indefinitely.

Expected Behavior

Auto mode activated via plan approval should be scoped to that execution. Once Claude stops, the session should return to the mode it was in before the plan was approved — or, if the session started in plan mode via defaultMode, to that configured default.

Why This Is Surprising

"Yes, and use auto mode" expresses intent to execute this plan autonomously — not to permanently change the session's mode. Persisting auto mode after the plan finishes means the user is back in a planning or review context but Claude is still operating without permission prompts.

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 Auto mode selected at plan approval persists after execution completes