Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.334 ·

A blocking callback hook's reason now shows up as its output

When a callback hook blocks an action and gives no system message, its reason is now used as the output

You'll notice Bug Fixes
JSON All of v2.1.334
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
Bug FixesKind: in v2.1.334,
Bug FixesSection of the release
What

A hook is code that runs automatically at set moments and can block an action. When a hook of the callback type returns a decision to block and does not set a system message, Claude Code now uses the hook's reason as its output. Before, the output was the system message only, so in this case nothing was shown. The WorktreeCreate hook is an exception and keeps the old behaviour.

Why

The reason a callback hook blocked something now becomes visible instead of being lost.

Read from
Names in the bundleWorktreeCreate
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 WorktreeCreate, on Manage multiple agents with agent view. This message from `claude rm` means files remain in a worktree directory that isn't inside any git repository or that a [`WorktreeCreate` hook](https://code.claude.com/docs/en/hooks#worktreecreate) manages. Copy out any files you want to k… agent-view see the edit
Added since A small documentation edit on Continue local sessions from any device with Remote Control touched a line naming WorktreeCreate after this was published. > | `--spawn <mode>` | How the server creates sessions. • `same-dir` (default when no mode is saved): sessions share one copy of your files, so their edits can conflict. • `worktree`: each on-demand session gets its own [git worktree](http… remote-control see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesA small documentation edit on Continue local sessions from any device with Remote Control touched a line naming WorktreeCreate after this…

See this entry in the whole of v2.1.334 →

Feedback