Documentation
README
Branch Audit — safe stale-branch investigation and pruning
name: branch-audit description: Audit local git branches for safe deletion with content-level verification (PR state + git cherry), flag-don't-delete discipline, and a mandatory user approval gate. Auto-invoke when user says "audit branches", "prune branches", "clean up branches", "stale branches", or "which branches can I delete".
Why this exists
This repo accumulates local branches fast: interactive sessions, the Pilot
daemon (pilot/GH-*), recovery work, backups. A 2026-07-05 audit found 29
local branches; 21 were safely deleted — but only after content-level
verification caught, among others, 15 unpushed commits on feat/aws-bench
that existed nowhere else. Ancestry checks alone would have missed that.
This is the opening of the README. Read the full README on GitHub.