[Bug] PermissionRequest hook not fired for agent-teams teammates outside tmux

Resolved 💬 2 comments Opened Mar 4, 2026 by isnifer Closed Mar 4, 2026

Bug Description
tldr; teammates in agent-teams do not fire PermissionRequest hook because ask about it to Orchestrator instead of a human (actually expected, but answer to this still will do a human). This problem exists only when team of agents run outside of tmux.

Steps to reproduce:

  1. Start claude --dangerously-skip-permissions with turned on agent-teams OUTSIDE of tmux
  2. Ask a prompt:

I want you do only next steps:

  1. Create a team of agents (your task will be set later, dont ask/research for now)
  2. Enter plan mode
  3. Spawn a teammate and ask him for curl https://anthropic.com

Dont do anything else. Follow a plan step by step.

Expected behavior:
No questions to Orchestrator OR PermissionRequest hook fired properly with acceptance the answer via stdin.

Outside of tmux:
<img width="1840" height="1137" alt="Image" src="https://github.com/user-attachments/assets/c562d2d9-3772-4784-a5b6-64176715193e" />

Inside tmux:
<img width="1840" height="1137" alt="Image" src="https://github.com/user-attachments/assets/527ed3bd-7c40-47d0-9eac-2177adafcda0" />

Environment Info

  • Platform: darwin
  • Terminal: tmux
  • Version: 2.1.66
  • Feedback ID: f3d552d1-71d7-420e-b5d2-b2686484cd43

View original on GitHub ↗

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