Skip to content

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

PropertyModifierTypeDescriptionDefined in
allowSensitivity?readonly(sensitivity) => booleanPrivacy 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
memoryreadonlyMemory-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?readonlyreadonly string[]-packages/memory/src/context-engine/compaction/hooks/types.ts:34
procedural.topic?readonlystring-packages/memory/src/context-engine/compaction/hooks/types.ts:34
scopereadonlySessionScope-packages/memory/src/context-engine/compaction/hooks/types.ts:32