The Invariants daemon (services/invariants/) enforces four structural constraints on Frank's knowledge store that operate independently of — and cannot be overridden by — the LLM.
4 Constraints
- Energy Conservation — Total epistemic energy is conserved. Knowledge can't be created from nothing.
- Entropy Bounds — Contradictions trigger forced consolidation. The knowledge store can't become arbitrarily incoherent.
- Core Kernel Protection — Foundational knowledge is write-protected during high-entropy states.
- Triple Reality Validation — Three databases must converge on claims for them to be considered "known."
Why It Matters
The LLM can hallucinate. It can confabulate. It can generate confident nonsense. The Invariants daemon is the architectural guarantee that hallucinations cannot permanently corrupt Frank's knowledge base. It's a separate process, invisible to the LLM — Frank can't detect, query, or disable it.