ishana2007/ProofGate

Shift the burden of proof to PR contributors: run the test suite, detect test-gaming tricks, require an AI-disclosure attestation, and post one clear verdict — strong, weak, or gaming-detected.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github-tokenToken used to read the PR diff and post the verdict comment. Needs `pull-requests: write` to comment; falls back to the job summary without it.no${{ github.token }}
test-commandCommand that runs the project's test suite. When omitted, ProofGate auto-detects npm/pnpm/yarn, pytest, go, cargo, rspec, gradle, or maven.no
coverage-commandCommand that runs the suite WITH coverage (used instead of test-command), e.g. "npx vitest run --coverage" or "pytest --cov --cov-report=lcov".no
coverage-filePath to the coverage report (lcov or Go coverprofile). Auto-detected at lcov.info, coverage/lcov.info, coverage.lcov, or coverage.out.no
patch-coverage-thresholdMinimum percent of changed lines that must be covered by tests before the verdict can be strong. "0" disables the check.no50
require-testsWhen coverage is unavailable, flag PRs that change source without touching any tests ("true"/"false").notrue
base-test-pinningRerun the suite with the base branch's versions of any test files this PR modified: "auto" (only when tests were modified), "always", or "off". A pass→fail divergence is treated as gaming.noauto
mode"check" analyzes the PR (default). "post" is for workflow_run relay jobs: it reads a previously uploaded proofgate-report artifact from report-path, recomputes the diff scan and attestation, and posts the verdict comment — this is how fork PRs get comments.nocheck
report-pathDirectory containing the downloaded report artifact (mode: post).noproofgate-report
require-attestationRequire the "ProofGate Attestation" section in the PR description ("true" or "false").notrue
fail-onWhen to fail the check: "gaming" (default — fail only on gaming-detected), "weak" (fail unless strong), or "never".nogaming
working-directoryDirectory in which tests are detected and run.no.
namedescription
verdictThe verdict: strong, weak, or gaming-detected.
tests-passedWhether the test suite passed ("true"/"false").
findingsJSON array of gaming-scan findings.
patch-coveragePercent of changed lines covered by tests (empty when not computed).