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

Claude Code v2.1.101 ·

Worktree Orphan Self-Healing

Entry
JSON All of v2.1.101
EntryKind: in v2.1.101,
New FeaturesSection of the release
What

Automatic detection and cleanup of orphaned worktree directories that can accumulate when sessions crash or are interrupted.

Details
  • Detects orphaned worktree directories (directories that exist but have no corresponding git worktree entry)
  • Checks that the worktree has no unpushed commits before self-healing to prevent data loss
  • Falls back to recursive directory cleanup if git worktree remove fails
  • Logs cleanup actions: "[worktree] removed orphaned worktree directory at ..."
Evidence

Orphan worktree cleanup (search for "Cannot self-heal orphaned worktree")

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.101 →

Feedback