Bug: /remote-control session permanently stuck on usage limit prompt — no recovery path from mobile app
Bug Description
When using /remote-control with the Claude Code mobile app, hitting the usage limit causes an interactive prompt on the local terminal that cannot be dismissed through the remote control channel. The session is permanently blocked until someone physically accesses the machine.
Steps to Reproduce
- Start Claude Code on a desktop/server with
/remote-controland--dangerously-skip-permissions - Connect to the session from the Claude Code mobile app
- Run a long-running task that eventually hits the usage limit
- Observe: usage limit prompt appears on the local terminal, the mobile app session freezes
Expected Behavior
The usage limit event should either:
- Be surfaced through the remote control channel so it can be dismissed remotely, or
- Be handled non-interactively (wait and resume, or exit cleanly) so the session doesn't block
Actual Behavior
The session blocks indefinitely on the local terminal. The mobile app has no way to interact with this prompt. There is no recovery path without physical access to the machine.
Why This Is a Bug
The remote control protocol creates a reasonable expectation that the session can be fully managed remotely. A blocking local prompt that is invisible and unresolvable through the remote channel breaks this contract.
Related Feature Request
See #41502 for the corresponding feature request (--wait-on-usage-limit flag).
Environment
- Claude Code with
/remote-control - Client: Claude Code mobile app
- Platform: Windows (but the issue is protocol-level, likely affects all platforms)
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗