You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
WorktreesArea: what it touches
Bug FixesKind: in v2.1.324,
Bug FixesSection of the release
What
When you start Claude Code with --worktree, it creates a git worktree for you. A git worktree is a separate working folder linked to the same repository. Plugins are add-ons that extend Claude Code, and they can respond to the WorktreeCreate and WorktreeRemove hooks. A hook is an event a plugin can react to.
Claude Code now registers these plugin hooks before it creates the worktree. It also registers seed marketplaces first. Marketplaces are the catalogues plugins are installed from. Before this, Claude Code could create the worktree before the plugin hooks were in place, and it logged that they had not been registered in time.
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 Intercept and control agent behavior with hooks.| `WorktreeCreate` | No | Yes | Claude Code needs a worktree, and the hook creates it instead of git | Create the worktree and return its path in [`hookSpecificOutput.worktreePath`](https://code.claude.com/docs/en/hooks#worktreecreate-outp…agent-sdk/hookssee the edit
Confirmed sinceAnthropic's documentation has since written up --worktree, on Explore the .claude directory.**When it loads**: Read when Claude creates a [git worktree](https://code.claude.com/docs/en/worktrees.md) via `--worktree`, the `EnterWorktree` tool, or subagent `isolation: worktree`claude-directorysee 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 --worktree, on Explore the .claude directory.