Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.304 ·

Cleanup of old agent worktrees passes an extra option

When Claude Code removes old agent worktrees, it now passes an option about worktrees kept inside another folder

Under the hood Internal Changes
JSON All of v2.1.304
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
WorktreesArea: what it touches
Internal ChangesKind: in v2.1.304,
Internal ChangesSection of the release
What

A worktree is an extra checkout of a git repository in its own folder, and agents can use them to work separately. When Claude Code cleans up old agent worktrees, the removal step now receives an extra option about worktrees that are kept inside another folder. Before, it received no options.

Why

This is likely meant to stop the cleanup from touching worktrees that live inside a folder that should be left alone.

See this entry in the whole of v2.1.304 →

Feedback