Extended audit event with hash chain fields. These fields are added by the factory functions and stored in the JSONL trail.
Hash chain integrity:
prevHash
chainHash
Actor identity (P27):
actor
actorInfo
Readonly
Optional
Extended audit event with hash chain fields. These fields are added by the factory functions and stored in the JSONL trail.
Hash chain integrity:
prevHash: hash of the previous event (or "genesis" for the first event)chainHash: SHA-256(prevHash + JSON(this event without chainHash))Actor identity (P27):
actor: Classification label — "human", "machine", or "system" (backward-compat string)actorInfo: Optional structured identity (id, email, source). Present on human-influenced events (lifecycle, tool_call, decision). Absent on machine-only events (transition, error). When absent, JSON.stringify omits the field — chain hash stays identical for pre-P27 events.