Worktree cleanup now refuses to delete any checkout Claude Code did not create itself.
What's wrong with this entry?
The background sweep that removes finished job worktrees now refuses to delete one unless it finds Claude Code's own creation marker, so a checkout you made yourself is never reaped.
- The marker check runs before the existing live-lock and worktree-registry checks.
- Unconditional on the reap path.
no Claude Code creation marker (
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.247
Cloud-session seeding names linked worktrees and split git layouts as un-seedable
Both mention worktree
-
v2.1.247
Start-up explanations for unusual checkout shapes
Both mention worktree