[BUG] Permission mode not synced across devices for the same session — remote instance stays in default mode
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?
Actual: Remote client never received the Plan Mode change; answering there flipped the local session out of Plan Mode without notice. The agent then began making edits that Plan Mode was meant to prevent.
There appears to be a bug with Claudi.AI that if you have two apps open. One locally, one on a remote machine. I changed a local instance to Plan Mode. I then entered my prompt on my local machine and let claude work on a response. I later checked my remote app to review questions prompted to continue. I answered those questions on my remote machine. However, I didn't notice that remote machine didn't change to Plan Mode, even though I set that on my local machine. When I answered remotely, Claude changed the mode on my local machine. Instead of staying in Plan Mode it switched to Accept Changes and then started to make modifications to my code base and burn through tokens.
What Should Happen?
Expected: Permission mode is session state and propagates to every attached client; answering from a second client does not silently downgrade Plan Mode.
Error Messages/Logs
Impact: Loss of the safety guarantee Plan Mode exists to provide — unintended file writes and token spend.
Suggested fix: Propagate mode changes to all attached clients, and/or reject an answer from a client whose mode is stale rather than adopting it.
Steps to Reproduce
- Open the same session on two machines (local desktop + remote).
- On the local machine, switch to Plan Mode.
- Agent asks a question (AskUserQuestion); answer it on the remote machine, which is still in the default/Accept Edits mode.
- The session's effective mode becomes the remote machine's mode.
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.2.220
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Other
Additional Information
Reference ID: 6cdbad27-aa3c-46a4-8dc3-468bcabd885a
Local Windows Claudi.AI App: 1.24012.9 (03c61d)
Remote Mac Claudi.AI App: 1.24012.9 (03c61d)
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗