Offline in-toto Statement v1 and DSSE Verification

How do you prove an AI coding agent actually ran tests before a pull request merges?

Vestige signs local test executions from your witness allowlist inside an in-toto Statement v1 payload wrapped in a DSSE envelope with an Ed25519 did:key. In CI, the standalone proof-carrying-pr-action checks the git tree hash completely offline against keys pinned on the base branch.

Drop-in GitHub Actions workflow

The verifier never connects to a third-party cloud service and never opens a developer's local Vestige store. Changing a single byte in the repository tree or bundle fails verification immediately.

name: Proof-carrying PR
on: [pull_request]

jobs:
  verify:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          ref: ${{ github.event.pull_request.head.sha }}
          fetch-depth: 0
      - uses: samvallad33/proof-carrying-pr-action@v1

What the signed DSSE bundle binds together

  • The exact git tree object identifier, so squashes or rebases that preserve the tested tree stay valid while any untested edit fails.
  • Every command listed in .vestige/witness.toml, its exit status, and the SHA-256 digest of its output, rejecting fake runners that report zero executed tests.
  • Failure pairing edges and Operator safety stops from the same development session for complete code-review traceability.

Action repository: https://github.com/samvallad33/proof-carrying-pr-action