Allow disabling Auto Mode; configurable post-plan-mode default
Resolved 💬 3 comments Opened Apr 21, 2026 by RickQuatt Closed Apr 25, 2026
Current behavior
With permissions.defaultMode: "bypassPermissions" set in ~/.claude/settings.json, exiting plan mode still transitions the session into Auto Mode, not back to bypass. The "Exited Auto Mode" system reminder fires immediately after "Exited Plan Mode" even when auto was never explicitly entered.
Adding skipAutoPermissionPrompt: true suppresses the confirmation dialog but does not prevent the mode transition itself.
Desired behavior
Any of the following would resolve this:
permissions.postPlanModesetting -- explicit control over which mode plan-exit returns to (bypassPermissions|acceptEdits|default|auto).disableAutoMode: truetop-level setting -- removes auto mode from the mode cycle entirely; plan-exit falls back todefaultMode.- Honor
permissions.defaultModeon plan-exit instead of hardcoding auto.
Rationale
- A user who already set
defaultMode: bypassPermissionshas made an explicit choice to skip per-action prompts. Forcing them into auto on plan-exit contradicts that choice. - The existing
skip*PermissionPromptflags signal a clear preference for fewer prompts and fewer mode transitions. - Changelog entry for version that added "Fixed Bash tool suggesting
acceptEditspermission mode when exiting plan mode would downgrade from a higher permission level" shows the harness already computes pre/post-plan mode arithmetic; this is a natural extension point.
Environment
- Claude Code CLI, macOS
- Global
settings.jsonhasdefaultMode: bypassPermissions,skipAutoPermissionPrompt: true,skipDangerousModePermissionPrompt: true - Observed: entering plan mode then exiting triggers auto-mode entry, not bypass restoration
Workaround
Press Shift+Tab once after plan-exit to cycle back to bypass.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗