Expand description
Immutable, hash-chained audit entry for Agent Assembly governance events.
Each AuditEntry commits to all tamper-meaningful fields via a SHA-256 hash
that includes the hash of the preceding entry, forming a tamper-evident chain.
Gated on the alloc feature because AuditEntry::payload is an
alloc::string::String.
Structs§
- Audit
Entry - An immutable, hash-chained record of a single governance event.
- Audit
Log - A session-scoped, append-only sequence of
AuditEntryrecords that enforces monotonic sequence numbers and hash-chain continuity on every append. - Lineage
- Optional agent-topology fields attached to an
AuditEntry.
Enums§
- Audit
Event Type - Category of a governance event recorded in an
AuditEntry. - Audit
LogError - Error returned by
AuditLog::pushwhen an appended entry violates the log’s monotonicity or hash-chain invariants.
Functions§
- audit_
entry_ for_ tool_ dispatch - Build an
AuditEntryfor adispatch_toolcall, carrying the placeholder-form args as thepayload.