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 ·

Hook problems are now shown as a short headline and a reason

Messages about hooks that fail, report a problem, stop Claude or defer a tool now show one headline followed by the reason

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
1Signal: worth watching, 1 to 5
HooksArea: what it touches
ImprovementsKind: in v2.1.326,
ImprovementsSection of the release
What

A hook is a command of your own that Claude Code runs at set moments, for example just before a tool runs. When a hook fails, cancels something, stops Claude or defers a tool, Claude Code now shows the message in one layout: a headline, then the reason. The headlines replace the older "hook returned blocking error", "hook error" and "hook warning" wording:

  • <hook> hook failed
  • <hook> hook reported a problem
  • <hook> hook stopped Claude
  • <hook> hook deferred <tool>

Long hook output is trimmed in a different way than before. When a PreToolUse hook (one that runs before a tool call and can block it) exits with code 127, an extra hint is added to the message. The goal status text now reads "Goal couldn't be achieved".

Why

What you see when a hook goes wrong now reads differently. Anything you have that looks for the old wording, such as a script or a saved search, will no longer find it.

See this entry in the whole of v2.1.326 →

Feedback