Skip to main content

Module accumulator

Module accumulator 

Source
Expand description

Per-context coherence accumulators and the full coherence field.

§Patent Claims 2–7, 13

  • CoherenceAccumulator: per-context trust state with earned floor and asymmetric decay (Claims 2–5).
  • CoherenceField: context-keyed accumulator map with asymmetric min-gate (Claims 6–7, 13).

§Invariants

  • CCF-001: effective_coherence uses asymmetric gate:
    • Unfamiliar contexts (ctx < 0.3): min(instant, ctx) — earn trust first.
    • Familiar contexts (ctx >= 0.3): 0.3 * instant + 0.7 * ctx — history buffers noise.
  • CCF-002: All accumulator values bounded [0.0, 1.0].
  • CCF-003: Personality modulates deltas, not structure.
  • I-DIST-001: no_std compatible; uses hashbrown::HashMap (no std dependency).
  • I-DIST-005: Zero unsafe code.

Structs§

CoherenceAccumulator
Per-context coherence accumulator. Grows through repeated positive interaction, decays with disuse, drops on negative events.
CoherenceField
The coherence field: a map of context → CoherenceAccumulator.