Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/security / / MemoryModificationGuard
Interface: MemoryModificationGuard
Defined in: packages/security/src/guard/types.ts:85
Per-tool guard interface. Each tier returns its own implementation via the createGuard(...) factory.
Stable
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
snapshot | readonly | (reader) => Promise<MemorySnapshot> | Snapshot the relevant regions before tool execution. | packages/security/src/guard/types.ts:88 |
tier | readonly | MemoryGuardTier | - | packages/security/src/guard/types.ts:86 |
verify | readonly | (pre, reader) => Promise<GuardVerifyResult> | Verify that the post-execution state matches the pre-execution snapshot. | packages/security/src/guard/types.ts:90 |