nodeFileAgenticMemoryCommittedFactLogBackend()
Create a Node file-backed D594 single-writer committed fact-log backend.
The backend implements the D592 adapter contract directly. It appends each canonical D589 committed fact batch as one strict JSON append-log entry so a readable committed stream never exposes a partial batch. Physical file paths, append-log sequence keys, writer mode, and durability limits are reported only through backend diagnostic DATA; fact-log cursors are computed from committed fact-stream positions and never from file names, storage keys, or row ids. Write completion means the storage promise settled; this backend does not claim host fsync or permanent durability guarantees.
This helper does not materialize records, replay facts into application state, hydrate/restore graphs, refresh subscribers, acknowledge applications, mutate live graph truth, or create a graph commit barrier.
Import
Section titled “Import”import { nodeFileAgenticMemoryCommittedFactLogBackend } from "@graphrefly/ts/solutions/agentic-memory/node";Signature
Section titled “Signature”function nodeFileAgenticMemoryCommittedFactLogBackend( dir: string, opts: NodeFileAgenticMemoryCommittedFactLogBackendOptions<TJson> = {},): AgenticMemoryCommittedFactLogBackend<TJson>Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
dir | string | Directory owned by the host for the file-backed append log. |
opts | NodeFileAgenticMemoryCommittedFactLogBackendOptions<TJson> | Optional namespace/prefix/extension and diagnostic backend name. |
Returns
Section titled “Returns”A D592 committed fact-log backend.
Documentation Status
Section titled “Documentation Status”This page was generated from source JSDoc, but the structured API tags are incomplete:
- Missing
@example.
Source
Section titled “Source”packages/ts/src/solutions/agentic-memory/node.ts