VasperaMesh · Ledger Spec

VasperaMesh Ledger Specification — vaspera-mesh-ledger-v2

An append-only, hash-chained record of AI decisions, externally anchored to Bitcoin and verifiable offline by anyone, with zero trust in the vendor. This page is the versioned, public reference. The standalone verifier implements it from scratch, importing nothing from our code.

1. The hashed preimage (14 fields)

Each row commits exactly these fields, RFC 8785 (JCS) canonicalized, domain-prefixed:

preimage = "vaspera-mesh-ledger-v2\n" + JCS({
  seq, prevHash, chainId, agent, action, model,
  inputs, sources, outputs, confidence,
  decision, decisionReason, policyVersion, createdAt
})
rowHash  = sha256_hex(preimage)

chainId is inside the preimage (anti-substitution: a chain served under the wrong identity fails even if internally consistent). Any column outside this set — reasoning-chain links, encrypted-content pointers, operational telemetry — is not hashed and cannot change a rowHash.

2. Chain rules

3. External anchoring

Chain heads are timestamped via OpenTimestamps; the receipt upgrades to a Bitcoin block attestation. Only the 32-byte head hash leaves the boundary. A verifier cross-checks that every witnessed head still matches the chain — divergence means history was rewritten after being witnessed.

4. Verify it yourself

# fully independent — the script imports nothing from VasperaMesh
curl -O https://vasperamesh.com/api/verifier   # verify-mesh-ledger.mjs
npm i canonicalize
node verify-mesh-ledger.mjs --base https://vasperamesh.com --chain <chain-id>

Exit code 0 only if the chain is fully intact and consistent with every anchor.

5. Regulatory mapping

FrameworkObligationDischarged by
EU AI Act Art. 12 / 19Automatic, retained logs of eventsWORM hash-chained rows, retained indefinitely; anchors fix them in time
EU AI Act Art. 14Human oversight & interventionEnforcing-mode blocks + ledger-stamped approve/deny
ISO 42001 A.6.2.8 / A.9.2Operation logged; policy documentedEvery row carries the policy version in force
NIST AI RMF MEASURE 2.7 / MANAGE 2.3Trustworthiness & override auditableBitcoin anchor + recorded overrides

Generate an auditor-ready, chain-backed evidence pack from the Compliance page.