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

Worktree errors now say why a removal failed

When a worktree cannot be removed, the message now gives the reason, and entering one logs when sandbox setup could not be rebuilt

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

A worktree is a separate working copy of a git repository that Claude Code can work in. Changes:

  • ExitWorktree: when it cannot remove a worktree, the message still says where it was kept and now also gives the reason. It also checks one more condition about copies before removing.
  • EnterWorktree: when the sandbox settings (the limits on what commands can touch) cannot be rebuilt for the worktree, it logs an error. The settings from before the move stay in force.
Why

You get a clearer explanation when a worktree is left behind, and a record when sandbox settings did not follow you into a worktree.

See this entry in the whole of v2.1.328 →

Feedback