Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/security / / MemoryGuardAuditAction
Type Alias: MemoryGuardAuditAction
ts
type MemoryGuardAuditAction =
| "memory:modification:before"
| "memory:modification:after"
| "memory:guard:snapshot"
| "memory:guard:verified"
| "memory:guard:mismatch"
| "memory:guard:rolled-back"
| "memory:guard:exceeded-budget";Defined in: packages/security/src/guard/audit-emitter.ts:34
Discriminator for MemoryGuardAuditEvent variants. The audit log stores the values verbatim under the canonical <resource>:<action> convention.
Two layers of action names coexist by design:
memory:modification:beforeandmemory:modification:afterare the canonical audit-log entries called out by theAUDIT_ONLY_GUARDandSTRICT_FULL_GUARDspecifications (DEC-153). Every snapshot / verify cycle emits exactly onebeforeand oneafterrow so SIEM dashboards can pair them.- The
memory:guard:*family carries the more granular discriminator (snapshot,verified,mismatch,rolled-back,exceeded-budget) for telemetry consumers that want to filter by outcome without re-reading the metadata.