Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/core / / SessionAuditEntry
Interface: SessionAuditEntry
Defined in: packages/core/src/contracts/session-store.ts:65
Session lifecycle audit event. The @graphorin/sessions package appends one row per noteworthy lifecycle step (created, closed, forked, replayed, cassette-recorded, cassette-replayed, commentary-sanitized, …) plus per-session-handoff. Adapters can surface the rows verbatim from disk.
The metadata field is intentionally an open record — storage adapters serialize it as JSON. Callers should keep it small and never include secret values.
Stable
Properties
| Property | Modifier | Type | Defined in |
|---|---|---|---|
action | readonly | string | packages/core/src/contracts/session-store.ts:68 |
actor? | readonly | { id: string; kind: string; label?: string; } | packages/core/src/contracts/session-store.ts:70 |
actor.id | readonly | string | packages/core/src/contracts/session-store.ts:72 |
actor.kind | readonly | string | packages/core/src/contracts/session-store.ts:71 |
actor.label? | readonly | string | packages/core/src/contracts/session-store.ts:73 |
at | readonly | string | packages/core/src/contracts/session-store.ts:69 |
id | readonly | string | packages/core/src/contracts/session-store.ts:66 |
metadata? | readonly | Readonly<Record<string, unknown>> | packages/core/src/contracts/session-store.ts:75 |
sessionId | readonly | string | packages/core/src/contracts/session-store.ts:67 |