export_audit_trail
Export the agent's action ledger to a hash-chained JSONL audit trail file, following IETF draft-sharif-agent-audit-trail-04 for interoperability.
Instructions
Write the action ledger as an IETF draft-sharif-agent-audit-trail-04 JSONL file: twelve mandatory fields
per record, hash-chained per RFC 8785, so tooling that reads that format can read this ledger. The memory
digest and recalled ids travel under action_detail.inspeximus; the salted digests are exported under their
own name, never as the draft's plain input_hash. agent_id is a URI, agent_version a semver.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ||
| out_path | Yes | ||
| session_id | No | ||
| agent_version | Yes |