Skip to main content

Module contradiction

Module contradiction 

Source
Expand description

Heuristic contradiction detection for lifecycle memories.

Identifies when a new memory’s summary conflicts with existing accepted/canonical memories of the same type. Detection is conservative — better to miss a contradiction than false-positive.

Structs§

ContradictionHit
DedupSuggestion

Enums§

ContradictionSignal

Functions§

detect
Detect contradictions between a new memory’s summary and existing records. Only checks records with the same memory_type and active states (Accepted/Canonical). Returns empty vec when no contradictions found.
find_duplicates