Skip to main content

Module conflicts

Module conflicts 

Source
Expand description

Graph Conflict Detection & Resolution (RML-1217)

Inspired by Mem0’s approach to managing conflicting knowledge in graphs. Provides:

  • Detection of four conflict types: direct contradictions, temporal inconsistencies, cyclic dependencies, and orphaned references.
  • Resolution strategies: keep newer, keep higher confidence, merge, or manual.
  • Persistence of detected conflicts in the graph_conflicts table.

Structs§

Conflict
A detected conflict in the knowledge graph.
ConflictDetector
Detects conflicts in the cross_references graph.
ConflictResolver
Resolves conflicts and persists them to the graph_conflicts table.
ResolutionResult
Outcome of resolving a conflict.

Enums§

ConflictType
The category of graph conflict.
ResolutionStrategy
Strategy to apply when resolving a conflict.
Severity
Severity level of a detected conflict.

Constants§

CREATE_CONFLICTS_TABLE
SQL that creates the graph_conflicts table.