Back to blog

Check the Receipt, Keep the Evidence

The same saved receipt can be an unverified attachment or an authenticated record. Run the public example to see what changes—and which original bytes stay intact.

6 min readInvarLock Team
An unbroken outline sits beside a separate matching contour. Equal points mark corresponding positions while a clear gap keeps the reference apart from the original.

A supplier sends a signed evaluation and the receipt from an earlier verification. You want to deliver a readable client review that shows whether that receipt checks out. InvarLock can authenticate it against separately supplied expectations and put the result beside the original evidence.

We exercised that workflow with the public Ministral 3 8B quantization comparison. All 26 evidence files and the original receipt stayed byte-for-byte identical. Supplying the reference expectations produced an authenticated snapshot. Changing only the expected verifier fingerprint stopped the package from being written.

The useful distinction is what made the receipt verifiable: the receiving side supplied an expected identity. The receipt did not become more trustworthy merely because the package contained a public key or the word “pass.”

Give the check something independent to compare

A verification receipt records the result of checking a particular evidence pack. Its signature lets a recipient check who signed those exact claims. The recipient still needs an independently established expectation about which verifier it intended to trust.

For this native comparison, InvarLock's package command accepts an expectations file naming the verifier, its key fingerprint, the evidence signer, the policy and the exact artifacts, cases and runtimes. A fingerprint is a cryptographic identifier for a key. Matching it prevents an otherwise valid signature from an unexpected key from satisfying the check.

The public reproduction package includes the publisher's reference expectations for this retained comparison. The verifier fingerprint and trust-profile digest were recovered from its archived verifier record; the other comparison anchors and policy are available in the released OSS repository. The published file makes this example repeatable. For your own review, obtain and approve expectations through your own trusted channel rather than copying them out of the submitted receipt.

Check the original receipt with the released command

The example uses InvarLock v0.17.4 with the original evidence and receipt retained in the public release history. The comparison is the same 400-question BF16-to-Q5_K_M result available in the Ministral client review. Its measurements and policy verdict are unchanged.

After preparing the files described in the reproduction instructions, the authentication step is:

invarlock report ./evidence \
  --review-context ./review-context.json \
  --retained-receipt ./verification.receipt.json \
  --receipt-expectations ./receipt-expectations.json \
  --package ./authenticated-package \
  --json

Use a fresh output directory outside the evidence. The context supplies the review's explanation and attribution. The expectations supply the identities and policy for the receipt check. Keeping those inputs separate makes it possible to change the explanation without quietly choosing a different verifier.

The command writes a client brief, full review, technical report, verification instructions and an archive. It also writes verification-snapshot.json, identifying the evidence, receipt and expectations used for this check. It performs no model inference and signs no replacement receipt.

Diagram
Actual v0.17.4 client brief panels showing the recorded policy satisfied, recipient verification as authenticated historical acceptance, and an owner decision still pending.

Read the receipt check

Policy result
The saved result met its recorded rules.
Receipt check
The original receipt passed the check against the supplied reference inputs.
Evidence signing
The brief points to the scoped signing details below these panels.
Owner decision
Pending. The authored context grants no right to deploy.

Actual v0.17.4 brief from the November 19 check. The original files are unchanged. This receipt check does not establish current signer trust or evidence age.

What to notice Actual v0.17.4 brief. The receipt check appears beside the recorded result and the owner’s pending decision.

Change one expectation and watch the outcome

The reproduction runs three package requests over the same original evidence and receipt:

Table 1: Change one expectation and watch the outcome. Data table with columns: Supplied expectations, Package result, What the recipient gets
Supplied expectationsPackage resultWhat the recipient gets
NoneWritten; exit 0The receipt is retained as an unverified attachment.
Published reference inputsWritten; exit 0A snapshot recording authenticated historical acceptance.
Same inputs, wrong verifier fingerprintStopped; exit 2No output package.

Scroll horizontally to see every column.

For the third request, the checker replaces only the expected verifier fingerprint with a deliberately wrong value. The receipt and its signature remain untouched. InvarLock reports receipt verifier key does not match caller expectation and refuses to publish the package.

That is a useful failure to try before integrating the command into a handoff. It shows that this path uses the caller's expectation rather than accepting whichever key arrived with the receipt. It is one targeted check of the verifier identity boundary; it does not exercise every possible malformed input.

The first two requests also explain why a successful packaging command is not enough to identify an authenticated receipt. Both exit successfully, but only the second returns recipient_verification: authenticated_acceptance. A script that requires authentication should inspect that field as well as command success.

Keep the new check beside the originals

The authenticated package contains the original evidence under evidence/ and the unchanged receipt as verification.receipt.json. The snapshot is a separate file. We compared every copied evidence file and the receipt against their pinned public originals; the retained hash table records all 27 matches.

This separation gives a recipient two inspectable objects: the earlier signed record and the later check of it. A newer renderer can explain the result without changing the bytes that the earlier signer authenticated.

The snapshot also makes a less obvious distinction visible. It records when this authentication ran, while original_verification_time remains null because the original receipt contract supplies no timestamp. Running the check today cannot recover a time that the signed record never contained.

Keep both facts when handing the review to someone else. The new check time belongs to the snapshot. The earlier measurements, receipt and original policy retain their own meaning. Recheck the Evidence, or Rerun the Model? covers the broader choice between inspecting saved evidence and collecting new observations.

Try it on your handoff

Download the reproduction ZIP and follow the instructions and observed results. They obtain the pinned public files, run the three requests and check preservation of the originals. Installation and downloading require network access; the package checks themselves make no model calls.

For another comparison, replace the reference expectations with approved inputs for that exact evidence family and subject. Retain the resulting snapshot with the original receipt and evidence. If the check rejects a binding, resolve the mismatch before delivering the package as authenticated.

Limitations

  • These checks cover one retained native comparison and one deliberately wrong verifier fingerprint. Captured, judge and combined evidence have their own expectations and verification paths.
  • The published expectations let readers reproduce the publisher's check. They do not establish that the verifier is authorized by a reader's organization.
  • The unsigned snapshot records this local authentication. Another recipient should repeat the check with its own approved expectations. It does not establish current signer authorization, evidence freshness or suitability for a new workload; the original verification time is unavailable.

Sources

Website documentation explains the maintained workflow. The package checks use released InvarLock v0.17.4 with the original Ministral evidence and receipt retained in the public v0.17.0 snapshot. The accompanying records retain the November 19 reproduction. No model was rerun, no new receipt was signed, and the original evidence was preserved.

More in Assurance

Explore nearby related posts.