Skip to main content

Module learning

Module learning 

Source
Expand description

CLM Layer 5: Continuous Learning Stratum & Meta-Circular Loop Γ. Canonical Path: kernel/clm_rust_core/src/layer5/learning.rs

Implements:

  • Epistemic Fitness Scoring (ΔE = S_candidate - S_baseline).
  • Monotonicity verification (candidate state cannot regress existing invariants: ΔE >= 0).
  • Meta-Circular Learning Loop (Γ) closure and epoch advancement.
  • Karpathy write-scope quarantine governance (INV-14).

Structs§

ContinuousLearningEngine
The Layer 5 Continuous Learning Engine. Governs Loop Γ, enforces Karpathy write-scope quarantine boundaries (INV-14), tracks epistemic fitness history, and orchestrates autonomous system adaptation.
EpistemicFitnessReport
Report detailing the epistemic fitness assessment of a candidate state.
EpochState
Immutable record of an epoch boundary state in the continuous learning cycle.
LearningHypothesis
Candidate mutation or refinement hypothesis evaluated under Loop Γ.

Functions§

advance_boundary
Advance epoch boundary to epoch N+1 with updated baseline fitness.
close_gamma_loop
Execute the Meta-Circular Learning Loop (Γ) closure.
compute_delta_e
Compute differential epistemic fitness gain ΔE.
evaluate_epistemic_fitness
Evaluate candidate state against objective verification specifications.
seal_epoch
Seal current learning epoch and mint an immutable epoch boundary token.