Skip to content
PACKAGES

projectAgenticMemoryDurabilityGate()

Project a D590 graph-visible durability result from a canonical batch and commit result.

This helper classifies fact-log persistence progress only. It does not call a backend, append facts, acknowledge application success, mutate records, hydrate/restore graph state, or create a graph commit barrier.

import { projectAgenticMemoryDurabilityGate } from "@graphrefly/ts/solutions";
function projectAgenticMemoryDurabilityGate(
batch: AgenticMemoryCommittedFactBatch<TJson>,
commitResult: AgenticMemoryFactCommitResult,
opts: {
readonly evaluation?: number;
readonly downstreamAdvancePolicy?: AgenticMemoryDurabilityDownstreamAdvancePolicy;
} = {},
): AgenticMemoryDurabilityGateProjection
ParameterTypeDescription
batchAgenticMemoryCommittedFactBatch<TJson>Canonical D589 committed fact batch.
commitResultAgenticMemoryFactCommitResultHost/backend supplied D589 fact-log commit result DATA.
opts{ readonly evaluation?: number; readonly downstreamAdvancePolicy?: AgenticMemoryDurabilityDownstreamAdvancePolicy; }Optional evaluation counter and explicit downstream-advance policy.

Durability result/read-model DATA facts.

This page was generated from source JSDoc, but the structured API tags are incomplete:

  • Missing @example.

packages/ts/src/solutions/agentic-memory/durable-result.ts