4d8236e26c
When a polecat runs gt done, the worktree is removed but the parent polecat directory could be left behind containing only .beads/. This caused gt polecat list to show ghost entries since exists() checks if the polecatDir exists. The fix adds explicit cleanup of .beads/ directories: 1. After git worktree remove succeeds, clean up any leftover .beads/ in the clonePath that was not fully removed 2. For new structure polecats, also clean up any .beads/ at the polecatDir level before trying to remove the parent directory Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>