Skip to content
PACKAGES

projectAgenticMemoryRecordApplicationEvidenceFacts()

Projects applied application decisions into appendable D584 evidence facts.

Only applied decisions become evidence. Skipped or rejected decisions remain audit/status material and cannot become record-truth evidence. The returned evidence is future priorEvidence material; this helper does not wire it back into the same application evaluation.

import { projectAgenticMemoryRecordApplicationEvidenceFacts } from "@graphrefly/ts/solutions";
function projectAgenticMemoryRecordApplicationEvidenceFacts(
decisions: unknown,
opts: {
readonly evaluation?: number;
readonly sourceRefs?: AgenticMemoryRecordApplicationPriorEvidence["sourceRefs"];
readonly policyRefs?: AgenticMemoryRecordApplicationPriorEvidence["policyRefs"];
readonly metadata?: AgenticMemoryRecordApplicationPriorEvidence["metadata"];
} = {},
): AgenticMemoryRecordApplicationEvidenceFactsProjection
ParameterTypeDescription
decisionsunknownApplication decision DATA facts.
opts{ readonly evaluation?: number; readonly sourceRefs?: AgenticMemoryRecordApplicationPriorEvidence["sourceRefs"]; readonly policyRefs?: AgenticMemoryRecordApplicationPriorEvidence["policyRefs"]; readonly metadata?: AgenticMemoryRecordApplicationPriorEvidence["metadata"]; }Optional projection evaluation and priorEvidence provenance.

Appendable evidence facts plus a priorEvidence-compatible wrapper.

import { projectAgenticMemoryRecordApplicationEvidenceFacts } from "@graphrefly/ts/solutions/agentic-memory";

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