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.333 ·

Worktree creation now checks the repository location is safe

Creating a worktree now runs a safety check on the repository and worktree location before and after fetching and adding it

You'll notice Improvements
JSON All of v2.1.333
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
WorktreesArea: what it touches
ImprovementsKind: in v2.1.333,
ImprovementsSection of the release
What

A worktree is a separate working copy of a git repository. When Claude Code creates one, it now runs a check before and after fetching and adding it, and refuses if the repository or worktree location is unsafe or has been swapped part-way through.

Why

Worktree creation is harder to trick into writing somewhere it should not.

See this entry in the whole of v2.1.333 →

Feedback