Plan mode transitions to auto mode instead of bypassPermissions when launched with --dangerously-skip-permissions
Resolved 💬 3 comments Opened Mar 12, 2026 by skylarkitchen-anthropic Closed Mar 16, 2026
Bug
When Claude Code is launched with --dangerously-skip-permissions and the user toggles to plan mode, approving a plan transitions to auto mode instead of returning to bypassPermissions. This causes execution to fail when the auto mode classifier is unavailable.
Steps to reproduce
- Launch with
claude --dangerously-skip-permissions(starts inbypassPermissionsmode) - Toggle to plan mode via
Shift+Tab - Give a task, review the plan, approve it
- Observe: mode transitions to
autoinstead ofbypassPermissions - Tool calls fail with:
Error: The auto mode classifier is temporarily unavailable, so Bash cannot be used right now.
Expected behavior
After approving a plan, execution should return to bypassPermissions — the mode the session was started with via --dangerously-skip-permissions.
Additional context
settings.jsonhas"defaultMode": "bypassPermissions"— this is also not respected- The error message includes
dacEnabled=n/a, hasExtraBody=false - Read-only tools (Read, Grep, Glob) continue to work; only tools requiring classification (Bash, Edit, Write) are blocked
- Workaround: manually toggle back to
bypassPermissionsviaShift+Tabafter plan approval, before execution begins
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗