If a plugin's agent.spawn hook rewrites a spawn into a form that a permission rule would allow, deny, or ask about, Claude Code now detects that conflict explicitly and blocks the launch, telling the caller to dispatch the spawn directly instead.
New spawn-hook error: permission-rule conflicts with rewritten spawn
Spawn hooks that conflict with a permission rule now block the launch with an explicit error.
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
PluginsArea: what it touches
Bug FixesKind: in v2.1.260,
Bug FixesSection of the release