{"version":"2.1.227","anchor":"worktree-cleanup-explains-when-a-directory-is-still-in-use","canonical_anchor":"worktree-cleanup-explains-when-a-directory-is-still-in-use","heading":"Worktree cleanup explains when a directory is still in use","tier":"notice","area":"Worktrees","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.227\/e\/worktree-cleanup-explains-when-a-directory-is-still-in-use","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.227","markdown":"### Worktree cleanup explains when a directory is still in use\n\nWorktree cleanup now tells you when a directory is in use by a live session.\n\n**What**\n\nCleanup now gives a distinct reason when a worktree is the working directory of a live Claude Code session, instead of a generic skip.\n\n**Details**\n\n- The liveness checks around reading worktree state were folded into one helper that distinguishes missing, gone and unreadable.\n\n**Evidence**\n\n`is the working directory of a live Claude Code session`\n\n- Area: Worktrees\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 1\/5"}