Worktree cleanup now tells you when a directory is in use by a live session.
What's wrong with this entry?
Cleanup now gives a distinct reason when a worktree is the working directory of a live Claude Code session, instead of a generic skip.
- The liveness checks around reading worktree state were folded into one helper that distinguishes missing, gone and unreadable.
is the working directory of a live Claude Code session
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.239
worktree.locationsetting for Desktop SSH sessionsBoth mention worktree
-
v2.1.246
Worktree cleanup only removes directories Claude Code created
Both mention worktree
-
v2.1.247
Cloud-session seeding names linked worktrees and split git layouts as un-seedable
Both mention worktree