[BUG] Subagent permission prompts are invisible in remote/web sessions

Open 💬 0 comments Opened Jun 19, 2026 by stratum01

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?

When a subagent dispatched via the Agent tool is waiting for a tool permission it doesn't have, the local harness shows a permission prompt. In a remote session (or the claude.ai/code web UI), nothing surfaces — the UI just shows "thinking" indefinitely. The session sat for 19+ minutes before I came back to check on it.

What Should Happen?

some visible indication that the session is blocked waiting for user input, not just a spinner.
Repro: use /remote-control (or the web UI), dispatch a subagent that requires a tool not in the allowlist, observe no prompt appears.

Error Messages/Logs

no error msg on remote control/web ui - tool was waiting for permission when i returned to claude-code

I submitted my session for review

Steps to Reproduce

start a session
use Subagent-Driven
start remote control

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.183

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗