Why the Audit Chain must exist from day one
You cannot backfill an audit trail. The evidentiary value of an audit record depends on its contemporaneous capture. If you begin logging after your first transactions, those early transactions are unattributable — and that gap will matter when a dispute, a regulator, or an insurer asks for the complete record.Anatomy of an audit record
Each audit record captures the full chain of custody from user intent through agent action to service response. Thetrust_ledger_ref field links every agent action to the Trust Ledger entry that authorized it, creating an unbroken cryptographic chain of custody.
manifest_hash field in the service block records exactly which version of the service’s manifest was active at the time of the action — so you can prove what the service declared, not just what it does today.
What the Audit Chain enables
| Use case | How |
|---|---|
| Dispute resolution | Prove exactly what capability was invoked and what the service declared at that moment |
| Liability attribution | Determine whether failure was agent error, service error, or misrepresentation |
| Regulatory compliance | EU AI Act requires transparency and auditability records for high-risk AI systems |
| Insurance products | Actuarial data for agent action liability insurance (Layer 6) |
| Refund processing | Verified outcome records support automated refund triggers |
The liability layer connection
The Audit Chain is the infrastructure prerequisite for Layer 6: Liability — where insurance products and governance frameworks for autonomous agent actions will eventually be built. Without complete audit records, no insurer can underwrite agent actions and no governance framework can assign responsibility.Privacy design
Audit records are PII-stripped before storage. Thecontext_provided field in each record contains only a cryptographic hash of the original context — enough to verify what was passed, not enough to reconstruct it. Full context reconstruction requires a key held only by the authorized user, not by AgentLedger.
PII stripping happens at ingestion time, before the record is written. The original context is never stored by AgentLedger. If you need to correlate an audit record with the original user context for dispute resolution, the authorized user must provide the decryption key.