Skip to main content

Module cognitive_tick

Module cognitive_tick 

Source
Expand description

Configurable cognitive tick loop – the heartbeat of the ECC cognitive substrate.

The CognitiveTick service drives the kernel’s cognitive processing cycle at a configurable interval, with optional adaptive adjustment based on measured compute timings and drift detection.

The run_democritus_loop function implements the DEMOCRITUS two-tier coherence cycle: O(1) EML prediction on every tick, falling back to exact O(k*m) Lanczos spectral analysis when drift exceeds a threshold.

Structs§

CognitiveTick
The cognitive tick service.
CognitiveTickConfig
Configuration for the cognitive tick loop.
CognitiveTickStats
A point-in-time snapshot of cognitive tick statistics.

Functions§

run_democritus_loop
Run the DEMOCRITUS two-tier coherence loop.
run_democritus_loop_with_chain
Run the DEMOCRITUS loop with optional ExoChain logging.