Follow Discord
Sweep 27 Oct 2026 · 19:04Z Build v2.1.312 531 read Stable v2.1.308 Latest v2.1.312 Next v2.1.312 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.309 ·

A hook that answers "ask" no longer lets its updated input auto-allow a tool

When a hook decides 'ask', the permission check now gets hookAsked and no longer auto-allows the tool from the hook's updated input

Group of 2 You'll notice Internal Changes
JSON All of v2.1.309
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
HooksArea: what it touches
Internal ChangesKind: in v2.1.309,
ImprovementsSection of the release

Unclear What Claude Code does differently with a hook-requested prompt is not stated.

What

A hook is a script you configure to run at set points, for example before a tool is used. A hook can answer that the user should be asked before the tool runs. Claude Code now passes this to its permission check as hookAsked: true when the hook's decision was "ask", next to the existing planModeWriteFloor.

  • The check that uses a hook's updated tool input now also requires that the hook did not ask.
  • The exception is a tool that needs user interaction anyway.
  • When a hook asked, the tool is no longer allowed automatically just because the hook supplied new input.

Why

If your PreToolUse hooks return "ask" together with changed input, expect to be prompted rather than having the tool go ahead on its own.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhat Claude Code does differently with a hook-requested prompt is not stated.

See this entry in the whole of v2.1.309 →

Feedback