Graphorin API reference v0.13.8
Graphorin API reference / @graphorin/memory / / HookDeps
Interface: HookDeps
Defined in: packages/memory/src/context-engine/compaction/hooks/types.ts:30
Stable
Resolved dependency surface every built-in hook reads. Threaded through Phase 12's lifecycle; tests pass a fixture implementation.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
allowSensitivity? | readonly | (sensitivity) => boolean | Privacy evaluator threaded from the engine's resolved privacy config. true = the provider may see content of this sensitivity. Built-in hooks MUST consult it before re-injecting tier content: assemble() filters what ships to the provider, and the post-compaction splice ships to the SAME provider - without the check, a secret-tier persona block / rule / pinned fact that the assembly correctly withheld leaks on the first compaction. Absent (operator-built HookDeps) means no filtering; the engine always supplies one. | packages/memory/src/context-engine/compaction/hooks/types.ts:46 |
memory | readonly | Memory | - | packages/memory/src/context-engine/compaction/hooks/types.ts:31 |
procedural? | readonly | { tags?: readonly string[]; topic?: string; } | Optional context tags surfaced to the procedural-rules query. | packages/memory/src/context-engine/compaction/hooks/types.ts:34 |
procedural.tags? | readonly | readonly string[] | - | packages/memory/src/context-engine/compaction/hooks/types.ts:34 |
procedural.topic? | readonly | string | - | packages/memory/src/context-engine/compaction/hooks/types.ts:34 |
scope | readonly | SessionScope | - | packages/memory/src/context-engine/compaction/hooks/types.ts:32 |