Skip to content

Type Alias: RememberOutcome

@kortexya/reasoninglayer


@kortexya/reasoninglayer / RememberOutcome

RememberOutcome = "created" | "updated" | "unchanged" | "contradicts_existing" | "unresolved_contradiction"

Defined in: src/types/memory.ts:60

What a remember call did.

  • created — a new memory was stored.
  • updated — the write merged into an existing memory with the same or nearly the same text; memoryId names that memory.
  • unchanged — the same text and importance were already stored; nothing changed. memoryId names the existing memory.
  • contradicts_existing — a new memory was stored and flagged as contradicting the memory named by contradictsMemoryId. Both are kept.
  • unresolved_contradiction — the memory was stored, but contradiction detection did not finish; contradictionCheckIncomplete says why. The absence of a contradiction is then not established.