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§
- Continuous
Learning Engine - 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.
- Epistemic
Fitness Report - Report detailing the epistemic fitness assessment of a candidate state.
- Epoch
State - Immutable record of an epoch boundary state in the continuous learning cycle.
- Learning
Hypothesis - 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.