Plan mode: 'Clear context and bypass permission' does not switch permission mode

Resolved 💬 3 comments Opened Mar 13, 2026 by Zabelsan Closed Mar 17, 2026

Bug Description

When in plan mode, after creating a plan and selecting the option "Clear context and bypass permission" (confirming with Enter), the permission mode does not change to "bypass permission". Instead, it remains in plan mode.

Steps to Reproduce

  1. Start Claude Code
  2. Enter plan mode (e.g. via /plan)
  3. Create a plan
  4. When prompted, select "Clear context and bypass permission" and confirm with Enter
  5. Observe that the mode stays in "plan mode" instead of switching to "bypass permission"

Expected Behavior

After selecting "Clear context and bypass permission", the context should be cleared and the permission mode should switch to "bypass permission" (bypassPermissions).

Actual Behavior

The context is cleared but the permission mode remains in "plan mode". The user has to manually switch the mode afterwards.

Environment

  • Claude Code CLI
  • macOS (Darwin 25.3.0)

View original on GitHub ↗

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