Remote Control: ExitPlanMode approval prompt appears on both Remote UI and terminal; selecting on Remote UI causes stuck state

Resolved 💬 4 comments Opened Mar 23, 2026 by zio3 Closed Apr 21, 2026

Summary

When using Remote Control and ExitPlanMode is triggered (after Claude completes writing a plan), the approval prompt appears on both the Remote UI and the terminal simultaneously. If the user approves on the Remote UI side, the terminal-side prompt remains unresolved and the session enters a stuck state. The session only progresses when the user manually interacts with the terminal-side prompt.

Steps to Reproduce

  1. Launch Claude Code
  2. Enable Remote Control with /remote-control
  3. Switch to Plan mode
  4. Ask Claude to create a plan (e.g., "Create a file and write the current time")
  5. When Claude finishes writing the plan, an approval prompt automatically appears on both the Remote UI and the terminal
  6. Select "Approve" on the Remote UI side
  7. The Remote UI transitions to "Clauding..." (working state), but the terminal-side prompt remains displayed
  8. The session does not progress until the user manually interacts with the terminal-side prompt

Technical Details

  • When the plan is completed, the ExitPlanMode tool is called internally, generating an approval prompt
  • This prompt is dispatched to both the Remote UI and the terminal
  • The approval response from the Remote UI does not dismiss the terminal-side prompt

Test Results

Reproduced consistently on Windows 11 across multiple test runs, with and without bypass permissions enabled.

Additional Finding

  • AskUserQuestion prompts do NOT appear on the Remote UI at all (only on the terminal) — this is the opposite behavior from ExitPlanMode, suggesting inconsistent prompt routing between the two tool types

Related Issues

  • #28508 — AskUserQuestion selections on mobile not received by CLI
  • #35637 — Permission prompts (incl. ExitPlanMode) not rendering on mobile
  • #35285 — Remote control blocks mobile when CLI has selection prompt

Environment

  • OS: Windows 11 Pro (10.0.26200)
  • Claude Code: v2.1.50
  • Browser: Chrome (Remote Control UI)

View original on GitHub ↗

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