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

Worktree Orphan Directory Cleanup

Entry
JSON All of v2.1.202
EntryKind: in v2.1.202,
ImprovementsSection of the release

A new self-healing check detects and removes orphaned worktree directories left behind from interrupted worktree operations.

Details
  • A directory is considered orphaned when its path exists on disk but is not registered as an active worktree in git
  • Before removing, the check verifies: (1) the branch has no unpushed commits, (2) git remote succeeds, (3) git rev-parse succeeds on the branch ref
  • If any safety check fails, removal is refused with a message explaining what to do manually
  • On successful cleanup: "[worktree] removed orphaned worktree directory at [path]"
Evidence

Orphan worktree cleanup (search for "Orphaned worktree dir at" and "refusing to self-heal")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.202 →

Feedback