47c95130f7
A linked worktree at <repo>-<suffix> that has been deleted leaves its sessions with a dangling cwd: the git probe fails and no git_repo_root was persisted, so the path-only heuristic promoted each one to its own standalone project. Every abandoned worktree added another phantom entry to the sidebar, and they accumulate indefinitely. Recover the parent by trimming one -<segment> at a time off the basename and returning the first sibling that resolves. A deleted worktree has no checkout to return to, so its sessions land in the parent's trunk lane rather than a lane keyed by the dead path. Live worktrees are unaffected — they resolve through the git probe and keep their own lane.