Agent Teams via Remote Control: teammate permission prompts never render, causing silent deadlock
Bug Report
When running Agent Teams via Claude Remote Control (Claude Desktop connected to a remote Claude Code instance), teammate permission prompts are never rendered in the Claude Desktop interface. The teammate silently blocks, the controller sees only idle notifications, and the build deadlocks.
Steps to Reproduce
- Enable Agent Teams (
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1) on a remote Claude Code instance - Connect to it via Claude Desktop Remote Control
- Have the team lead spawn a teammate
- Have the teammate attempt an action that requires permission approval (e.g., writing to a path outside the project working directory)
Expected Behavior
The permission prompt should be rendered in the Claude Desktop Remote Control interface, allowing the user to approve or deny the action.
Actual Behavior
- The permission prompt is never shown to the user
- The teammate silently blocks waiting for approval
- The controller (team lead) sees only idle notifications — indistinguishable from normal multi-turn processing
- The controller follows its idle patience protocol (wait, wait, nudge, escalate) but the nudge also gets no response because the teammate is blocked on the unrendered permission prompt
- The build deadlocks with no visible indication of the cause
Impact
This is a silent deadlock with no user-visible signal. The only way to diagnose it is to SSH into the remote host and inspect the teammate's process state directly. In autonomous workflows where the team lead runs multiple states without sponsor intervention, a single unrendered permission prompt can hang the entire build indefinitely.
Workaround
Pre-approve common operations in permission settings (settings.json allowlist) before spawning teammates to reduce the likelihood of permission prompts. However, this doesn't eliminate the risk for unanticipated permission requests.
Environment
- Claude Code with
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 - Connected via Claude Desktop Remote Control
- Remote host: Linux dev VM
- Teammates spawned via
Tasktool withteam_nameparameter
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗