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.
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 sinceAnthropic'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-viewsee the edit
Added sinceA 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-controlsee 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…