Permission mode silently resets after `/model` switch (selection from ExitPlanMode does not persist)
Environment
- Claude Code: 2.1.113
- macOS: 15.6.1
- Shell: zsh
Repro
- Start session in Opus, enter plan mode (e.g., a custom skill that calls
EnterPlanMode, or any plan flow). - At the
ExitPlanModedialog, choose Yes, and auto-accept edits (or bypass permissions). - Run
/model sonnetto switch for execution. - Trigger any tool that writes files (
Write,Edit,Bashfor 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.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗