Skip to main content

Module coherence

Module coherence 

Source
Expand description

Coherence tracking for kernel vector and graph stores.

Coherence metadata is co-located with each vector and graph node, enabling the scheduler and proof engine to make informed decisions.

§Design (from ADR-087 Section 4.3)

  • coherence_score: Structural consistency score (0.0-1.0)
  • last_mutation_epoch: Epoch of the last mutation
  • proof_attestation_hash: Hash of the proof that authorized the last mutation

The coherence-aware scheduler uses these signals to:

  1. Prioritize tasks processing genuinely new information
  2. Deprioritize tasks whose mutations would lower coherence
  3. Fast-path mutations within coherent partitions

Structs§

CoherenceConfig
Configuration for coherence tracking.
CoherenceTracker
Tracks coherence state for a collection of entries.