Skip to content

v0.13.0 - deterministic changed-code PR gate

Latest

Choose a tag to compare

@dsolisp dsolisp released this 09 Oct 13:23

Highlights

  • gavel pr-check: deterministic commit-snapshot gate for new attributable occurrences on added or replacement lines (exit 0 / 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.yml captures 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 --version

Changed-code gate

npx --yes @dsolisp/gavel@0.13.0 pr-check <repo> --base <captured-target> --head <captured-merge> --json

See CHANGELOG.md and docs/PR_CHECK.md.