[BUG] "Accept and auto mode" shows "Permission mode couldn't be changed" warning when accepting a plan (Claude for Mac)
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
App: Claude for Mac v1.7196.0 (2dbd78)
OS: macOS 15 (Darwin 25.4.0)
Actual: Yellow warning banner appears: "Permission mode couldn't be changed. You can try again." Mode still switches to Auto and execution proceeds normally — appears to be a false warning.
Notes: Clicking plain "Accept" and then manually switching to Auto does not trigger the warning. Issue seems specific to the combined "Accept and auto mode" action — likely a race condition between plan acceptance and permission mode switch.
What Should Happen?
Frequency: Reproducible consistently — happens every time I accept a plan with "Accept and auto mode".
Error Messages/Logs
"Permission mode couldn't be changed. You can try again."
Steps to Reproduce
- Enter Plan mode
- Claude proposes a plan
- Click "Accept and auto mode" (⌘↵)
- Expected: Plan accepted, mode switches to Auto without errors.
Claude Model
Not sure / Multiple models
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
1.7196.0
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Other
Additional Information
<img width="1392" height="278" alt="Image" src="https://github.com/user-attachments/assets/98de9108-6f72-446c-98c6-d92e0d3f1671" />
<img width="1100" height="118" alt="Image" src="https://github.com/user-attachments/assets/45b75145-148e-473d-a6a8-6904dfff6646" />
<img width="342" height="118" alt="Image" src="https://github.com/user-attachments/assets/326300b3-8d71-49e6-93b2-bf6f691d415c" />
5 Comments
Proposed Solution: Fix Race Condition in "Accept and Auto Mode"
Root Cause
The "Accept and auto mode" action (⌘↵) performs two sequential operations:
The warning appears because of a race condition: the permission mode change is triggered before the plan acceptance fully completes its state transition. The mode switch API call receives a stale/conflicting state and returns an error, even though the mode eventually switches correctly.
Key evidence:
Fix: Sequential Await with State Verification (Recommended)
Alternative: Optimistic UI with Error Suppression
Since the mode does switch correctly, verify before showing the warning:
Impact
Full solution:
solutions/claude-code-60277-accept-auto-mode-permission-warning-fix.mdUpdate: The issue is not limited to "Accept and auto mode." Clicking plain "Accept" and then manually switching to Auto also triggers the same warning. Even switching to Bypass and then back to Auto reproduces it. The warning appears on any permission mode switch, not just during plan acceptance.
Was hitting something similar:
claude --permission-mode auto, acknowledged the risk"permissions" → "defaultMode": "auto"in~/.claude/settings.jsonauto:<img width="528" height="128" alt="Image" src="https://github.com/user-attachments/assets/43194a93-eba1-4704-abf4-5c297e570f11" />
autoimmediately jumping toAsk permissions. All attempts to return toautowith a dropwdown produced this:<img width="466" height="64" alt="Permission mode couldn't be changed. You can try again." src="https://github.com/user-attachments/assets/678debfe-603f-40b3-b961-efec97037caf" />
I tried to re-login everywhere, update, reinstall - no luck. Then I bumped into this:
https://code.claude.com/docs/en/permission-modes#eliminate-prompts-with-auto-mode
So in my case I was trying auto on Opus 4.6 on the Max plan which was not expected to work. I wish the UI was more informative here. It's clearly wrong to show
autonext toOpus 4.6if these options are incompatible in my case anyway. The notification is pretty useless too - it reads as if there's downtime or some other glitch in the system.I won't get an hour of frustration back, but hope this helps someone.
It seems the bug is really: when you change to a model which doesn't support the mode you're in, please give the user an informative message that Model ... doesn't support auto/bypass. rather than giving a message without any hope for the user, but to land here on this page.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.