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.221 ·

Tools can declare a fail-closed permission posture

If a tool's permission check crashes in plan mode, the action is now denied instead of quietly allowed.

You'll notice New Features
JSON All of v2.1.221
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
PermissionsArea: what it touches
New FeaturesKind: in v2.1.221,
New FeaturesSection of the release
What

A new optional tool hook decides what happens when a tool's own permission check throws, instead of the previous behaviour of logging the failure and carrying on.

Details
  • The hook is permissionCheckFailureDecision, consulted whenever a tool's permission check raises.
  • If a tool declares one, its decision replaces the log-and-continue fallback; if the hook itself throws, the call is denied.
  • The Artifact tool uses it so that a crashed permission check in plan mode denies the action rather than letting it past the consent floor.
Evidence

Plan-mode artifact consent floor fails closed when its permission check cannot complete

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.221 →

Feedback