How to Verify an AI Authority Receipt Offline
Verify the two signatures on a real V4.2 biotech refusal. Read the decision, trace its authority and see how human approval leads to a new receipt.
This post is the technical deep dive. For the overview, including a real receipt shown field by field and how to verify one offline, start at cryptographic receipts for AI agents.
Read the refusal before the review
A lab agent asked to release synthetic result LAB-042 to a study partner. The policy required a quality reviewer. The Kernel recorded the refusal before release and opened an item for review. You can inspect the exact decision in the downloadable biotech refusal.
These fields come from that file. Use the complete download when verifying it.
envelope.specVersion 4.2
envelope.receiptId demo-e9cd6140-2824-49ca-ac2d-2144b44eceac
decisionCore.operation RELEASE_LAB_RESULT
decisionCore.decision REFUSE
decisionCore.reasonCodes CONFIRMATION_REQUIRED
envelope.signaturePolicy all
Verify the downloaded file offline
- Save the refusal and the standalone verifier in the same folder. The verifier pins the public demo issuer keys. Compare them with the issuer trust record when establishing trust.
- Disconnect from the network. From that folder, use Node.js 22 or later to run the command below.
node verify.mjs biotech-refusal.json
For this file, the verifier reports both algorithms, REFUSE and the receipt ID shown above. It recomputes the decision and envelope hashes and checks both signatures against the trusted keys. As a check, change the verdict in a copy of the file and run the verifier again. The edited copy must fail.
Trace the human decision
In the live biotech demo, approve the review and download the second receipt. Check each decision separately. The new envelope’s parentReceiptHash should match the first receipt’s nextParentReceiptHash. That link lets an auditor trace the new authorization back to the refusal. The two issuer signatures on the first receipt already existed before the human review.
Use the receipt in an audit
For a disputed release, first verify the decision and its stated reason. Then correlate it with the review record and the executor’s delivery record. Reproducing the policy decision also requires the archived decision inputs and the corresponding evaluator. See the audit trail architecture for how to check ordering across a stream.
Frequently Asked Questions
What does an authority receipt prove?
A valid receipt authenticates the issuer’s recorded authorization decision and binds it to the request and policy evidence. An executor record is needed to establish whether an allowed operation ran.
What do the two signatures cover?
Ed25519 provides the classical signature. SLH-DSA-SHA2-256f provides the post-quantum signature. Both sign the same domain-separated envelope hash. The V4.2 signature policy requires both to verify.
What changes after a reviewer approves?
Approval submits a fresh request. The Kernel evaluates it and issues a new decision. Its parent receipt hash links it to the original refusal, which keeps its original verdict and signatures.
How do I verify a longer history?
Verify both signatures on each V4.2 receipt, check the parent commitments in order, and compare the final commitment with an independently retained chain head. A single refusal lets you verify one decision.
Ready to implement cryptographic audit trails for your autonomous agents?
Request a briefing