Graphorin API reference v0.12.1
Graphorin API reference / @graphorin/security / / MemoryModificationGuard
Interface: MemoryModificationGuard
Defined in: packages/security/src/guard/types.ts:86
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:89 |
tier | readonly | MemoryGuardTier | - | packages/security/src/guard/types.ts:87 |
verify | readonly | (pre, reader) => Promise<GuardVerifyResult> | Verify that the post-execution state matches the pre-execution snapshot. | packages/security/src/guard/types.ts:91 |