Skip to content
PACKAGES

agenticMemoryConsolidationApplicationBundle()

D171/D572/D576/D577 composition from consolidation outcomes to record truth.

Consolidation remains proposal-only; admission and application are explicit graph-visible boundaries before any AgenticMemoryRecord snapshot changes.

import { agenticMemoryConsolidationApplicationBundle } from "@graphrefly/ts/solutions";
function agenticMemoryConsolidationApplicationBundle(
graph: Graph,
opts: AgenticMemoryConsolidationApplicationBundleOptions<T>,
): AgenticMemoryConsolidationApplicationBundle<T>
ParameterTypeDescription
graphGraphGraph that owns the created nodes or projector.
optsAgenticMemoryConsolidationApplicationBundleOptions<T>Options that configure the helper.

A bundle of graph-visible nodes for the recipe.

import { agenticMemoryConsolidationApplicationBundle } from "@graphrefly/ts/solutions";
  • D151: each input DATA is one complete identity/revision/digest/source-refs occurrence. Policy and prior records travel in its value, never independent latest-value dependencies. Outputs preserve that identity; replay conflicts and retention overflow fail closed. The fixed recipe topology is retained for its graph lifetime; input snapshots are bounded by maxOccurrences, not a claim that one protocol wave is one business occurrence.

packages/ts/src/solutions/agentic-memory/consolidation-application.ts