Audit Proof Format
The audit service returns inclusion proofs that bind one canonical audit event to a signed batch root. The native verifier CLI can also emit a JSON proof bundle from an archive directory.
Fields
Section titled “Fields”event: canonical audit event as defined by the audit event contract.batch: signed batch metadata, includingbatch_id,tenant_id, sequence range, Merkle root,signer_key_id, and signature.meta_root: archive anchor metadata when the batch has been anchored.event_to_batch: ordered Merkle sibling list from the event leaf to the batch root.batch_to_meta_root: ordered Merkle sibling list from the batch envelope leaf to the meta-root when present.
Verification
Section titled “Verification”- Encode
eventwithvortex_audit_core::encode_event. - Compute
leaf = BLAKE3(0x00 || encoded_event). - Apply
event_to_batchin order using the shared node hash helper. - Compare the result with
batch.merkle_root. - Verify the batch signature using the public key identified by
batch.signer_key_id. - When a meta-root is present, verify the batch envelope path and meta-root signature.
The archive verifier performs these checks offline from the archive objects and public keys available in the archive.
