Repository navigation
Description
Context: #2597
Problem
reclaimable-worktree is a second, weaker answer to a question source-control:worktree status already answers well. Two skills in the same fleet compute worktree disposability by different methods, and the fleet-scoped one is the less safe of the two.
Evidence
source-control:worktree status classifies a stranded-work axis from git worktree list --porcelain, one batched gh pr list, and a landed-work.sh run per repository. Its documented rule: a worktree holding unpushed unlanded commits is stranded, never merely stale, and an unprovable verdict reports unknown and is treated exactly as stranded. Its cleanup action additionally refuses to remove a worktree or emit its git branch -D while work is stranded or unproven, with --acknowledge-stranded as a per-worktree override explicitly distinguished from a bare --force.
repo-fleet-hygiene's reclaimable-worktree rests on git status --porcelain emptiness alone.
Verification of 8 sampled reclaimable-worktree findings found the porcelain claim accurate in all 8 — and separately found that 5 of the 8 hold commits not on origin/<default> whose tips sit on no local remote-tracking ref. Those tips did all exist on GitHub, so no loss was imminent on this fleet, but the check that establishes that is exactly the stranded-work axis the sibling already implements and this skill does not.
The same investigation surfaced a second gap in the weaker signal (ignored files), filed separately. Both are symptoms of computing a private answer instead of consuming the existing one.
Proposed change
- Stop computing a per-worktree disposability verdict in
repo-fleet-hygiene. - Either consume
source-control:worktree status's classification per repository, or delegate to it and aggregate. - Where
source-controlis not installed, degrade to naming the target and the missing collaborator rather than substituting a weaker verdict — the plugin already documents that it must remain useful when optional collaborators are absent, and naming the target satisfies that without inventing a second standard.
This is the concrete form of the narrowing proposed in #2597: the fleet axis is discovery, canonical resolution, cross-repository evidence, and batching — not re-deriving per-repository facts.
Acceptance criteria
repo-fleet-hygieneno longer emits a disposability verdict derived solely fromgit status --porcelain.- Worktree disposability in a fleet report is traceable to
source-control:worktree's classification, including itsstranded/unknowndistinction. - With
source-controlabsent, the report names targets and the missing collaborator and emits no substitute verdict.
Activity
fix(repo-fleet-hygiene): defer reclaimable-worktree to source-control (…
fix(repo-fleet-hygiene): merge #2607 onto main without dropping #2605
docs(repo-fleet-hygiene): define fleet coordination contract for epic #…
feat(repo-fleet-hygiene): apply fleet action plans behind one gate (#…