Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.326 ·

Tool calls with after-call hooks stay in the foreground if the hook check fails

If Claude Code can't check a tool's after-call hooks, the tool call now stays in the foreground instead of moving to the background

You'll notice Improvements
JSON All of v2.1.326
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
HooksArea: what it touches
ImprovementsKind: in v2.1.326,
ImprovementsSection of the release
What

Claude Code can move some tool calls to the background so that they finish while the conversation goes on. A tool call is one action Claude takes, such as running a command. Before it moves a call, Claude Code checks whether any hooks would run on the result. Hooks are your own scripts. The ones checked here are PostToolUse, PostToolUseFailure and PostToolBatch.

That check is now done separately. If looking up the hooks fails, the call does not move to the background. The test for whether a tool counts as having a hook also changed.

Why

Tool calls whose results your hooks need to see stay in the foreground more reliably.

Read from
Feature flag
tengu_tool_detach Not enough to say

Nothing here resolved what this flag was doing on this version, so nothing here should be read as on or off.

This account: no value returned · anonymous baseline: no value returned · compiled default in v2.1.326: on

These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.

Read once, for one account on one subscription tier, against v2.1.326. It isn't a statement about your account. What a flag value here can and cannot tell you

Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up PostToolUseFailure, on Hooks reference. For redaction or transformation use cases, intercept at `PreToolUse` for outbound tool inputs and `PostToolUse` for the results of successful calls. `PostToolUseFailure` can't rewrite a result, so it can't redact a failing command's output. hooks see the edit
Confirmed since Anthropic's documentation has since written up PostToolBatch, on Claude Code changelog. * Changed managed `PostToolUse` hooks to no longer fire for calls refused before they ran: no log entry, rewrite, block or stop there; `PostToolBatch` gets most, not marked as refused changelog see the edit
Confirmed since Anthropic's documentation has since written up PostToolUse, on Claude Code changelog. * Fixed Claude getting a long managed PostToolUse hook output twice when a mod added context to the tool call changelog see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up PostToolUse, on Claude Code changelog.

See this entry in the whole of v2.1.326 →

Feedback