Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.242 ·

A plugin hook can block a subagent from launching

A plugin hook can block a subagent from starting or change which model it uses.

Nothing to try yet Notable In Development
JSON All of v2.1.242
Nothing to try yetTier: how much it should matter to you
3Useful: my rating, 1 to 5
5Signal: worth watching, 1 to 5
SubagentsArea: what it touches
In DevelopmentKind: in v2.1.242,
What probably matters to youSection of the release

An agent.spawn hook with deny and model-swap power exists, answerable only by the disabled plugin modules.

What

Before spawning a subagent, Claude Code now runs an agent.spawn hook carrying the tool use id, prompt, subagent type, model, permission mode, and whether the spawn is background, forked, and its working directory. A deny aborts the launch and is recorded as subagent_spawn_denied_by_hook. The hook may also swap the model the subagent runs on.

Evidence

Subagent spawn denied by a plugin:

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.242 →

Feedback