--dangerously-skip-permissions exits when an auto-edit prompt is declined, breaking Shift+Tab mode cycle

Resolved 💬 2 comments Opened Apr 25, 2026 by Doughboyshredder Closed May 28, 2026

Summary

When a session is launched with --dangerously-skip-permissions, declining an auto-accept-edits prompt drops the session out of dangerously-skip-permissions mode entirely. This breaks the Shift+Tab cycle, since dangerously-skip-permissions is no longer in the rotation after the first decline.

Repro

  1. Launch claude --dangerously-skip-permissions
  2. Shift+Tab to cycle into auto-accept-edits mode
  3. Decline an auto-edit prompt
  4. Observe: session drops out of --dangerously-skip-permissions entirely

Expected

Declining an auto-edit prompt should leave --dangerously-skip-permissions intact so Shift+Tab can keep cycling through modes normally.

Environment

  • OS: Windows 11
  • Shell: bash (Git Bash)

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗