Repository navigation
Highlights
gavel pr-check: deterministic commit-snapshot gate for new attributable occurrences on added or replacement lines (exit0/1/2, snippet-free JSON). Historical debt, duplicates, pure renames, and protected base policy stay outside the blocking verdict.- Dead-locator candidates include the declaration line, so a newly added declaration is attributed without blaming an unchanged locator whose consumer was deleted.
- PR snapshots omit unrelated mobile binaries and report assets from the Git object buffer.
- Azure Repos template
templates/azure-pipelines/pr-static-check.ymlcaptures the merge parent, verifies the scanner, and publishes the artifact. Enabling the branch policy remains a separate step.
Install
npm install --save-dev @dsolisp/gavel@0.13.0
npx gavel --versionChanged-code gate
npx --yes @dsolisp/gavel@0.13.0 pr-check <repo> --base <captured-target> --head <captured-merge> --jsonSee CHANGELOG.md and docs/PR_CHECK.md.