Follow Discord
Sweep 08 Oct 2026 · 18:53Z Build v2.1.295 516 read Stable v2.1.286 Latest v2.1.295 Next v2.1.295 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.290 ·

Clearer messages when an agent's worktree cannot be removed

When cleaning up an agent's worktree fails, Claude Code now says whether its own deletion failed or git refused, and keeps the worktree

You'll notice Improvements
JSON All of v2.1.290
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.290,
ImprovementsSection of the release
What

A worktree is a separate working copy of a git repository that Claude Code can set up for an agent (a helper that works on a task on its own). When Claude Code tries to clean one up and cannot, it now tells two cases apart:

  • Claude Code's own attempt to delete the files failed
  • git refused to remove the worktree

In both cases the worktree is left in place, and the message now reads "removal failed, kept" instead of always blaming git worktree remove. A failed delete is recorded as its own kind of failure.

Why

When cleanup goes wrong, the message now points at the step that actually failed, which makes it easier to work out what to fix.

See this entry in the whole of v2.1.290 →

Feedback