Skip to content
PACKAGES

agenticWorkItemMemoryBridgeBundle()

Creates a DATA-only WorkItem to AgenticMemory mapper bridge bundle (D581/D582).

import { agenticWorkItemMemoryBridgeBundle } from "@graphrefly/ts/solutions";
function agenticWorkItemMemoryBridgeBundle(
graph: Graph,
opts: AgenticWorkItemMemoryBridgeBundleOptions<TInput, TRecord>,
): AgenticWorkItemMemoryBridgeBundle<TInput, TRecord>
ParameterTypeDescription
graphGraphGraph that owns the created nodes.
optsAgenticWorkItemMemoryBridgeBundleOptions<TInput, TRecord>Nodes carrying current WorkItem projection, mapping policy, and optional DATA inputs.

Bridge projection nodes for score signals, proposals, and bridge-local read models.

import { agenticWorkItemMemoryBridgeBundle } from "@graphrefly/ts/solutions/agentic-work-item-memory";
  • 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-work-item-memory/bridge.ts