[Bug] Team leader approval gate missing permission_response in SendMessage union types
Resolved 💬 4 comments Opened May 1, 2026 by zhuligs Closed Jun 1, 2026
Bug Description
Team-leader-approval gate fires for spawned team agents but team-lead
has no permission_response API to answer it; SendMessage's union types
are shutdown_response and plan_approval_response only. Either bypass
the gate when team-lead is itself a Claude with bypassPermissions, or
ship a permission_response shape.
Environment Info
- Platform: darwin
- Terminal: tmux
- Version: 2.1.123
- Feedback ID: 5f34e52e-d979-4f08-8527-303dd780d61d
Errors
[{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: ECONNREFUSED\n at Sj5 (/$bunfs/root/src/entrypoints/cli.js:2767:5533)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T20:23:30.485Z"},{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: ECONNREFUSED\n at Sj5 (/$bunfs/root/src/entrypoints/cli.js:2767:5533)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T20:23:30.485Z"}]This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗