- cupfox-config.nix: add Open WebUI container with chat.researchstack.info proxy, gather-metrics service/timer, rclone, and tmpfiles for persistent storage - Lean semantics: reduce axiom count from 109 to 18 across 10 files; FixedPoint now 0 axioms, 0 sorries with 12 theorems - Documentation: update AGENTS.md with current axiom/sorry counts and FixedPoint status; refine bind signature - Add topology scripts, CGA/FAMM/GeneticOptimizer/MMRFAMM Lean modules, devcontainer config, MEMORY.md, and Modelfile
5.1 KiB
Observerless Research Stack Master Memory
This file serves as the definitive local memory and core knowledge base for the Hermes Agent. It encapsulates the mathematical foundation, layer topology, core invariants, and promotion structures of the Observerless Research Stack.
1. Core Philosophy & Q16.16 Arithmetic
The Observerless Research Stack is a formal verification and compression framework grounded in cross-domain invariant analysis.
- source of truth: Lean 4 formalizations. All computation, transformations, and assertions must be backed by formal proofs. No unproven claims, no receipt-free promotions.
- arithmetic totality: Every arithmetic operation is executed using Q16.16 fixed-point representation. Raw floating-point arithmetic is prohibited to prevent precision drift and non-deterministic behavior.
- receipt-bearing event: Every transformation (compression pass, PDE discretization, STDP weights update) must yield a receipt-bearing event that preserves declared invariants.
2. Layer Topology (Levels 0 - 6)
The stack is organized into seven distinct functional tiers:
- Level 0 — Primordial (Pure Math):
- Substrates: PIST/DIAT shells, Q16.16 arithmetic, BraidField, BracketedCalculus.
- Invariant:
mass = t * (2k + 1 - t), arithmetic totality.
- Level 1 — Geometric (Shape-Aware):
- Substrates: GWL rotational coupling, toroidal shells, torsion quaternions, GWL throat.
- Invariant:
dE/dt <= 0, no zero-mass singularities.
- Level 2 — Biological (Life-Aware):
- Substrates: 64 codon tables, Izhikevich spiking neurons, STDP plasticity.
- Invariant: Codon validity, spike threshold
v < 30mV.
- Level 3 — Thermodynamic (Energy-Aware):
- Substrates: Trixal state (thermal/work/irreversibility), homeostatic governor, HyperFlow Navier-Stokes on shells.
- Invariant: Irreversibility < threshold,
|γ + s'(p*)| < 1.
- Level 4 — Security (Attack-Aware):
- Substrates: AngrySphinx exponential gate, FAMM frustration tensor, ASIC admissible operations.
- Invariant:
E_solve >= 2^nwheren = type depth, NaN boundary atF = 0, operation admissibility.
- Level 5 — Semantic (Meaning-Aware):
- Substrates: CrossDimensionalFilter (12 primes), manifold networking, compression control.
- Invariant: Shared primes non-empty, flat-to-ordinary kernel mapping.
- Level 6 — Meta-Computation (Self-Aware):
- Substrates: Cognitive load router, auto-adaptive metatyping.
- Invariant:
efficiency >= 0, mass conservation across tiers.
3. The Seven Core Invariants
Every lawful operation inside the research stack must strictly maintain these seven mathematical constraints:
- Mass Conservation (PIST/Geometry):
- The shell mass equation
mass = t * (2k + 1 - t)must remain perfectly conserved under all lawful transitions.
- The shell mass equation
- Exponential Gate (AngrySphinx/Security):
- Security verification complexity must scale as
E_solve >= 2^nwherenis type depth.
- Security verification complexity must scale as
- Semantic Prime Conservation (CrossDimensionalFilter/Semantics):
- The twelve irreducible semantic primes must be conserved across all dimensional reductions.
- Frustration Monotonicity (FAMM/Security):
- Triadic incompatibility within the frustration tensor must grow monotonically until explicitly resolved.
- Homeostatic Fixed Point (HomeostaticGovernor/Thermodynamics):
- Compression pressure must converge dynamically to a stable homeostatic fixed point
p*.
- Compression pressure must converge dynamically to a stable homeostatic fixed point
- Cognitive Load Decomposition (CognitiveLoad/Meta):
- Strategy selection must minimize the total cognitive load
L_total = λI·L_I + λE·L_E - λG·L_G + λR·L_R + λM·L_M.
- Strategy selection must minimize the total cognitive load
- Q0_64 Scalar Universality (GENSIS/Meta):
- Every substrate state must reduce to a single, unsigned [0, 1) Q0_64 scalar interface to enable cross-tier validation.
4. Settlements & Promotion Ladders
Artifacts and models move through strict validation stages. No progress is permitted without receipt-bearing evidence.
Artifact Settlement States:
SEED → FORMING → STABLE → CRYSTALLIZED → COMPRESSED
Model Promotion Ladder:
RAW_IDEA
→ SANITIZED_METAPHOR
→ TOY_MODEL
→ TYPED_MODEL
→ RESIDUAL_TESTED
→ COST_ACCOUNTED
→ PROOF_CANDIDATE
→ CORE_MODULE
Note: Demotion is immediate if a proof is broken (moves back to COST_ACCOUNTED) or if an analogy is misleading (moves to ARCHIVED).
5. Grounded Codebase Directories
0-Core-Formalism/: Source of truth. Contains Lean 4 formalizations (Semantics/), OTOM specs (otom/), and Rust/Python extraction targets (core/).1-Distributed-Systems/: ENE mesh nodes, gossip control planes, and waveprobe telemetry.2-Search-Space/: Manifold compression algorithms (pist_gcl_compression.py, shifters).3-Mathematical-Models/: Equation registry, model maps, and mathematical databases.4-Infrastructure/: Hardware shims, GPU/FPGA Verilog code, and hardware drivers.5-Applications/: Audit tools, golden traces, Hutter prize compression benchmarks.6-Documentation/: Master specs, roadmaps, vision boards, and user guides.