Script
ledger report
Counts ledger-recorded merges that were later reverted, found by grepping commit messages.
Reads the merge rows of the ledger and checks each target repo’s commit history, through the GitHub API, for This reverts commit <sha>.
It is called reverts detected by message grep on purpose: roll-forward fixes, title-only squash merges and force-push rollbacks are invisible to it. It reads the GitHub App credentials from 1Password, like a dispatch.