hive-forge: lint stale-branches reports each branch's merge outcome

This commit is contained in:
damocles 2026-08-28 15:23:14 +02:00 committed by mara
commit 6e05863f02
3 changed files with 54 additions and 16 deletions

View file

@ -30,7 +30,10 @@ dimension directly.
neglected owner.
- **Stale branches** - `hive-forge lint stale-branches --days <n>`
finds remote branches with no recent commits (skips branches that are
heads of open PRs), useful for spotting abandoned work.
heads of open PRs) and reports each one's merge outcome (PR merged /
closed unmerged / no PR at all) — squash-merge ancestry can't tell
those apart, so don't delete a stale branch on the age alone; check
the verdict first.
## Using them as a sweep