dreamwell_loom/lib.rs
1// dreamwell-loom — CausalIntelligenceKernel.
2//
3// The Third Hamiltonian: H₂ governs the parameter optimization landscape.
4// Runs as a background daemon at 618Hz (1000/φ), evolving a meta-density-matrix
5// over the parameter space. The spectral structure of this meta-state provides:
6// 1. Spectral learning rate (eigenvalue entropy gradient, zero cost)
7// 2. Free energy momentum (φ-weighted dF/dt, quantum analog of Adam)
8// 3. Convergence gating (Second Law detection, thermodynamic stopping)
9// 4. Quantum gradient direction (Born-sampled from meta-populations)
10//
11// Three Hamiltonians:
12// H₀ (Universe): 1618 Hz = 1000×φ — field ground truth
13// H₁ (Player): 60 fps — observation (Born measurement)
14// H₂ (Optimizer): 618 Hz = 1000/φ — gradient landscape evolution
15//
16// Blaed's Algorithm governs the training gate lifecycle:
17// Open → Closing (progressive dephasing) → Closed (classical tensor, BLAKE3 sealed)
18//
19// Clean Compute: all buffers pre-allocated. φ-scaled at every boundary.
20
21pub mod gradient_field;
22
23#[cfg(feature = "qsr")]
24pub mod qsr;
25
26pub use gradient_field::{CausalIntelligenceKernel, LoomConfig, TrainingGate};