Skip to content
PACKAGES

agenticMemoryCommittedFactLogAppendAttempt()

Append a canonical committed fact batch and project D590 durability DATA.

This helper is an explicit runtime/source-boundary composition over D589 and D590. It appends only caller-supplied canonical committed fact batches through the supplied fact log and returns durability DATA for explicit downstream policy. A result is fact-log persistence progress only: not application acknowledgement, live graph truth, record mutation authority, hot hydration, restore, or a graph wave/batch commit barrier.

import { agenticMemoryCommittedFactLogAppendAttempt } from "@graphrefly/ts/solutions";
function agenticMemoryCommittedFactLogAppendAttempt(
log: AgenticMemoryCommittedFactLog<TJson>,
batch: AgenticMemoryCommittedFactBatch<TJson>,
opts: AgenticMemoryCommittedFactLogAppendAttemptOptions = {},
): | AgenticMemoryCommittedFactLogAppendAttemptResult<TJson>
| PromiseLike<AgenticMemoryCommittedFactLogAppendAttemptResult<TJson>>
ParameterTypeDescription
logAgenticMemoryCommittedFactLog<TJson>D589/D592-compatible committed fact log.
batchAgenticMemoryCommittedFactBatch<TJson>Canonical committed fact batch to append.
optsAgenticMemoryCommittedFactLogAppendAttemptOptionsOptional evaluation counter and explicit downstream policy.

Append attempt composition DATA, or a PromiseLike when the log is async.

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

  • Missing @example.

packages/ts/src/solutions/agentic-memory/fact-log-runtime-persistence.ts