[Bug] Plan-mode-exit dialog ignores `permissions.defaultMode` setting

Resolved 💬 1 comment Opened May 26, 2026 by JakeSummers Closed Jun 27, 2026

Bug Description
Here's a copy-paste-ready feedback message: --- Plan-mode-exit dialog should respect permissions.defaultMode instead of hardcoding "bypass permissions" as the default option. When I exit plan mode (via ExitPlanMode), I'm shown: 1. Yes, and bypass permissions ← always highlighted 2. Yes, manually approve edits 3. No, refine with Ultraplan on Claude Code on the web 4. Tell Claude what to change I have "permissions": { "defaultMode": "auto" } set in ~/.claude/settings.json. Auto mode is what I want as my default permission mode — that's the whole point of setting defaultMode. But every time I exit plan mode, the dialog ignores that setting and defaults to bypassPermissions, which is more permissive than what I've explicitly configured. I have to arrow down and pick the right option every single time. Ask: Make the plan-exit dialog's default selection match the session's defaultMode (or the value of defaultMode at session start), rather than always bypassPermissions. Bonus: a dedicated setting like permissions.planExitDefault would also work. This is mildly annoying on its own, but more importantly it nudges users toward a more permissive mode than they asked for, which seems like the wrong default from a safety standpoint. --- Feel free to trim — the core ask is the first sentence and the paragraph starting with "Ask:".

Environment Info

  • Platform: darwin
  • Terminal: tmux
  • Version: 2.1.150
  • Feedback ID: 5e3e8994-3473-4729-8815-c8afdcdc0ca5

Errors

[]

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗