ronniepinnell/refute
PR-level claim-evidence enforcement. Fails the check when the PR body or its commit messages claim completion (fixed/done/works/...) without an "Evidence: <command + result>" line or a test-file diff.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| claim-words | Comma-separated override of the completion-claim word list. Default matches hooks/judgment/claim-evidence.sh: fixed,fixes,fix,done,works,working,complete,completed,resolved,resolves | no | "" |
| test-pattern | Python regex identifying test files in the PR diff (a test diff counts as evidence). Default matches the local hook. | no | "" |
| scan-commits | Also scan every commit message in the PR (true/false). | no | true |
| scan-reviews | When true, also fetch PR review bodies (via gh api + GITHUB_TOKEN; silently skipped when either is unavailable) and, if the PR's claims lack evidence, add a gentle job-summary note about "LGTM"/"looks good" approvals. Annotation only — never changes the check's pass/fail. | no | false |
| ledger | When true, append REFUTE verdict lines (verdict grammar) to a commit-less artifact named refute-ledger containing .claude/verdicts.log fragments to merge into your ledger. | no | false |
Outputs
| name | description |
|---|---|
| verdict | CONFIRMED | UNVERIFIED | NO-CLAIMS |