Skip to main content
We have begun the founding chapter. Be among the first

Worked example | Synthetic data

An AI agent audit trail you can verify

Verify the ML-DSA-65 signatures on a case-note update and a refused refund, then run the same check against altered copies.

Save a case note

Allowed

The request matches a mandate limited to edits on case CS-204 before expiry.

Issue a refund

Refused

The mandate grants case-note edits. The service desk signs an outside-scope refusal for the refund request.

Organization signs a mandate for the agent. The agent sends its signed request to the service desk, which returns a signed receipt.
Three signers in the sample workflow. Download diagram

Run the verification

Save both files in the same folder. Run the command with Node.js and OpenSSL 3.5 or newer with ML-DSA support.

node verify.mjs

Expected output:

update_case_note: allowed | signatures match | altered copy rejected
issue_refund: refused | signatures match | altered copy rejected

The verifier checks the issuer’s signature over the mandate, the agent’s signature over each exact request, and the service desk’s signature over each exact receipt. It checks request-to-receipt linkage and the sample permission. Then it changes the decision text while retaining the original signature, and verifies that the altered copy fails.

What this example establishes

The signatures use real ML-DSA-65 keys generated for this example. The three keys and fictional requests illustrate the mechanics of site-signed evidence. The sample format is educational. It omits live TIP identity, production request framing, live status, log inclusion, witnessed seals, and ledger anchoring.

In an interim deployment the site retains signed receipts and gives the agent a copy. An interim verifier reports site-signed evidence as held or sealed, with an indeterminate overall result. The full profile adds independent witnessing and ledger anchoring.

Receipt definition | Interim deployment rules | Press and citation resources