Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.267 ·

Policy checks for agent.spawn and tool.call gain argument restoration

Policy checks for spawning agents and calling tools now restore pinned fields a hook altered, not just flag them

TierYou'll noticehow much it should matter to you
Useful2my rating, 1 to 5
Signal2worth watching, 1 to 5
AreaPermissionswhat it touches
KindBug Fixesin v2.1.267,
You'll notice

Policy checks for spawning agents and calling tools now restore pinned fields a hook altered, not just flag them

What

The policy checks that run on agent.spawn and tool.call events now actively restore certain pinned fields if a hook rewrite changed them: the parent agent ID and related fields for agent.spawn, and the agent ID for tool.call. Previously these checks only flagged a mismatch rather than fixing it.

Why

This stops a hook from being able to alter security-relevant identifiers like the parent agent ID, restoring them to their correct values automatically rather than merely reporting that they were changed.

See this entry in the whole of v2.1.267 →

Feedback