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 ·

New tool hook stages and new reasons for review, environment and compaction outcomes

Claude Code adds two tool hook stages, tool.judge and tool.run, plus new reasons for refused compaction and disabled features

Under the hood Internal Changes
JSON All of v2.1.326
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
HooksArea: what it touches
Internal ChangesKind: in v2.1.326,
Internal ChangesSection of the release

Unclear It is not clear whether hooks can already be set up for the tool.judge and tool.run stages.

What

Hooks are your own commands that Claude Code runs at set points. Two new stages for tool hooks appear: tool.judge and tool.run.

New reason codes also appear, covering these cases:

  • ultrareview_off_for_organization: the ultrareview feature is turned off for the organization.
  • session_env_vars_disabled: session environment variables are disabled.
  • compact_prompt_round_kept: a prompt round was kept during compaction, which is when Claude Code summarizes the conversation to free up space.
  • compact_reply_refused: the reply to a compaction request was refused.

A new field about results being placed beside running tool calls is also recorded in usage data.

Why

These point to a rework of when tool hooks run and to new handling for a compaction summary that is refused.

Read from
Names in the bundletool.judgetool.run
What the documentation says
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 tool.run, on Mods reference. | `tool.run` | An allowed call is about to run. Requires Claude Code v2.1.326 or later. | `next(e)`, `{ deny: reason }`, or `{ result }` | plugins/mods/reference see the edit
Confirmed since Anthropic's documentation has since written up tool.judge, on Mods reference. | `tool.judge` | [Auto mode](https://code.claude.com/docs/en/permission-modes.md#eliminate-prompts-with-auto-mode) is about to ask its classifier about a call. Requires Claude Code v2.1.326 or later. | `next(e)` or `{ decision }` | plugins/mods/reference see the edit
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 doubtIt is not clear whether hooks can already be set up for the tool.judge and tool.run stages.
Anthropic's documentation agreesAnthropic's documentation has since written up tool.judge, on Mods reference.

See this entry in the whole of v2.1.326 →

Feedback