Skip to content

Graphorin API reference v0.8.0


Graphorin API reference / @graphorin/memory / / MemoryIngestGate

Type Alias: MemoryIngestGate

ts
type MemoryIngestGate = (record) => boolean;

Defined in: packages/memory/src/consolidator/types.ts:33

B3 (item 15): deterministic pre-extraction admission gate. Runs on every fetched SessionMessageRecord BEFORE noise filtering on both consolidator batch paths (runtime dispatch pre-fetch and the standard phase's self-fetch). Return true to admit the record into extraction. Excluded records still advance the idempotency cursor - a blocked turn can never wedge consolidation. A throwing gate excludes the record (fail-closed).

Parameters

ParameterType
recordSessionMessageRecord

Returns

boolean

Stable