You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
ImprovementsKind: in v2.1.327,
ImprovementsSection of the release
What
In agent teams, Claude Code starts other Claude Code sessions, called teammates, that work alongside yours. A deny rule blocks Claude from using a tool, and you can pass one on the command line with --disallowed-tools. Some of these rules cannot be passed on to a teammate unchanged, so the teammate is not started.
The error now names the rule that caused this. It tells you to remove that rule or move it to permissions.deny in settings, then try again. Before, the message did not say which rule was at fault.
Why
If you use agent teams with --disallowed-tools, you can now see which rule stopped the teammate and what to change.