Permission mode silently resets after `/model` switch (selection from ExitPlanMode does not persist)

Resolved 💬 3 comments Opened Apr 17, 2026 by wade-cms Closed Apr 21, 2026

Environment

  • Claude Code: 2.1.113
  • macOS: 15.6.1
  • Shell: zsh

Repro

  1. Start session in Opus, enter plan mode (e.g., a custom skill that calls EnterPlanMode, or any plan flow).
  2. At the ExitPlanMode dialog, choose Yes, and auto-accept edits (or bypass permissions).
  3. Run /model sonnet to switch for execution.
  4. Trigger any tool that writes files (Write, Edit, Bash for git, etc.).

Expected

Permission mode persists — file writes go through without per-call approval, matching what was selected in step 2.

Actual

Mode silently reverts to default. Every file write/edit prompts for approval. The mode indicator at the bottom of the prompt shows the default mode, not the one chosen at plan exit.

Workaround

After /model <name>, manually press Shift+Tab to cycle the indicator back to bypass permissions / accept edits. This works reliably.

Why it matters

The Opus-plan → Sonnet-execute → Opus-document workflow is recommended for cost/quality reasons; this bug forces an extra manual step on every model switch and is easy to forget mid-task. Permission mode appears session-scoped in the UI but behaves model-scoped in practice.

Notes

Not specific to a particular skill — reproduces with any plan-mode exit followed by /model. Reproduced multiple times across separate sessions.

View original on GitHub ↗

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