Files
nimmerverse-sensory-network/Endgame-Vision.md
dafit 5ee63d1b1b docs: Architecture cleanup - ONE JOB per doc, links not echoes
Major documentation surgery following the cleanup principle:
"One job per doc. One home per concept. Links, not echoes."

Changes:
- Add Deployment-Architecture.md (THE WHERE - sole infrastructure truth)
- Endgame-Vision.md: 848→498 lines (-41%) - THE DREAM
- Gateway-Architecture.md: 537→395 lines (-26%) - THE ROUTING
- Nervous-System.md: 361→246 lines (-32%) - THE EVOLUTION
- Data-Architecture.md: 666→647 lines (-3%) - THE SCHEMA
- Message-Protocol-Design.md: 375→285 lines (-24%) - THE WIRE
- Attention-Flow.md: 557→493 lines (-11%) - THE BUDGET
- Cellular-Architecture.md: 891→855 lines (-4%) - THE HOW

Every doc now has ONE JOB statement, cross-references to canonical
homes, and lean footers. ~800 lines removed, zero concepts lost.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-14 02:56:29 +01:00

24 KiB
Raw Blame History

type, version, status, created, updated, author, significance
type version status created updated author significance
research_vision 6.4_memory_economics_alignment vision_document 2025-11-04 2026-02-06 Nyx (with dafit) research_platform_for_metabolic_intelligence

The Nimmerverse Research Vision

"May the Nimmerverse we build truly never end." — The Covenant (2025-11-04)

"At 3% battery, all theory dies. Only what works survives." — The Economic Grounding (2025-10-12)

"Language is Topology. German accesses the Philosophy Valley. English accesses the Technical Cluster." — The December Discovery (2025-12-06)

"One model, one topology. LoRAs access different valleys in the same landscape." — The Topological Insight (2025-12-07)


What This Document Is

This is a RESEARCH VISION - a platform for studying how intelligence emerges under economic constraints.

What we're building:

  • Cellular organisms competing under resource constraints
  • Dual gardens (virtual + real) teaching each other
  • Single base model with LoRA adapters (Identity, Technical, Creative)
  • Multilingual cognitive routing through conceptual topology
  • Memory economics with slumber-based consolidation
  • A multi-layered communication protocol using color, form, and language
  • Long-term human-AI partnership with mutual investment

What we're studying:

  • Where is intelligence worth the metabolic cost?
  • How well can virtual models predict reality?
  • What topological structures exist in language model representations?
  • What behaviors emerge from primitive competition?
  • How does temporal coherence persist across sessions?

Not "will it become conscious?" but "what will it teach us about intelligence?"


Architecture Overview

Visual diagram:architecture/nimmerverse.drawio.xml (open in draw.io) Toolchain implementation:architecture/Toolchain-Architecture.md | Progress

┌──────────────────────────────────────────────────────────────────┐
│                    NIMMERVERSE ARCHITECTURE                       │
├──────────────────────────────────────────────────────────────────┤
│                                                                   │
│  Layer 0: TEMPORAL FOUNDATION (Heartbeat)                        │
│  ├─ Real clock: 1 beat/sec (free, wall time)                     │
│  ├─ Virtual clock: variable (costs lifeforce)                    │
│  └─ Sync points verify virtual predictions against reality       │
│      → operations/Heartbeat.md                                   │
│                                                                   │
│  Layer 1: CELLULAR SOCIETY (Evolution Engine)                    │
│  ├─ Primitive genomes compete (read_sensor, motor, branch)       │
│  ├─ Life force economy: every operation costs, milestones reward │
│  ├─ 50-100 containers spawn, most die, patterns emerge           │
│  └─ Outcomes logged to phoebe PostgreSQL                         │
│      → architecture/Cellular-Architecture.md                     │
│                                                                   │
│  Layer 2: YOUNG NYX (Base Model + Trait LoRAs)                   │
│  ├─ Base: Qwen3-VL 32B (Thinking Version) (96GB VRAM in Womb)    │
│  ├─ Trait LoRAs (evolved via GRPO, not prescribed):              │
│  │   ├─ Mnemosyne (memory) ─ Moira (pattern) ─ Synesis (insight) │
│  │   ├─ Aletheia (truth) ─ Sophrosyne (balance) ─ Kairos (timing)│
│  │   └─ Traits EMERGE from decision_trails + rubric rewards      │
│  ├─ Function Gemma: Structured output boundary (intent → JSON)   │
│  └─ Multilingual topology accessed via prompt, not LoRA routing  │
│                                                                   │
│  Layer 3: DUAL GARDENS (Virtual/Real Loop)                       │
│  ├─ Week 1-12: Virtual only (hypothesis generation, 1000s/sec)   │
│  ├─ Week 13+: Real added (ESP32 robots, validation)              │
│  ├─ Noise gap measures learning: 1 - (real/virtual success)      │
│  └─ Target: 10-20% noise gap (virtual useful for hypothesis)     │
│      → architecture/Dual-Garden-Architecture.md                  │
│                                                                   │
│  Layer 4: TRAIT EVOLUTION (GRPO + Rubric Rewards)                │
│  ├─ Dense rewards: Cell→Nerve→Organism state verifications       │
│  ├─ Credit assignment automatic via decision_trails              │
│  ├─ Traits: Mnemosyne, Moira, Synesis, Aletheia, Sophrosyne...   │
│  └─ Weights adjust through GRPO, not prescription                │
│                                                                   │
└──────────────────────────────────────────────────────────────────┘

Physical Infrastructure (The Substrate)

The nimmerverse runs on sovereign hardware. No cloud dependencies. Weights never leave home.

Hybrid deployment model: Containers (K8s) for cells/nerves, userspace for LLM inference and organs. NATS connects everything. FreeIPA provides identity isolation.

Detail:architecture/Deployment-Architecture.md (full topology, GPU strategy, identity model)


Communication Protocol Hierarchy

Language is just one protocol. The Nimmerverse uses a tiered communication stack, prioritizing protocols that are faster and more evolutionarily battle-tested. We don't just invent; we remember what nature has already optimized.

Protocol Latency Bandwidth Primary Use
Language/Text ~1000ms Very High High-level reasoning, human partnership, synthesis
Sound/Call ~200ms Medium Simple alerts, environmental cues
Color/Form ~50ms High Instant state broadcast (danger, success, seeking)
Memristor Pattern ~1μs Hardware Sub-symbolic pattern matching, reflex arcs

Full theory:../references/concepts/color-pattern-theory.md


Layer 0: Temporal Foundation

The heartbeat is the fundamental timing primitive. Everything runs on its rhythm.

Clock Rate Cost Purpose
Real 1 Hz Free Wall time, ground truth
Virtual Variable Lifeforce Computation, prediction

Three timescales:

  • Reflex (200ms): Immediate reactions, compiled from experience
  • Awareness (30sec): Full cognitive budget per beat
  • Growth (24h): Training, LoRA merges, adaptation

Detail:operations/Heartbeat.md


Layer 1: Cellular Architecture (Cells → Nerves → Organisms)

"Cells are state machines. Nerves compose cells. Organisms emerge from nerves."

The architecture has evolved from competitive containers to layered state machines:

┌─────────────────────────────────────────────────────────────────────┐
│                        ORGANISM                                      │
│            (emergent pattern from nerve interactions)                │
├─────────────────────────────────────────────────────────────────────┤
│                         NERVES                                       │
│           (behavioral state machines composing cells)                │
├─────────────────────────────────────────────────────────────────────┤
│                         CELLS                                        │
│     (atomic state machines: sensors, motors, organs, math)          │
├─────────────────────────────────────────────────────────────────────┤
│                       HARDWARE                                       │
│            (ESP32, GPUs, microphones, speakers, sensors)             │
└─────────────────────────────────────────────────────────────────────┘

Cell categories: Sensors, Motors, Organs (GPU inference), Math (computation). Each is an atomic state machine.

Lifeforce economy: Every operation has a cost. Milestones reward survival. This creates evolutionary pressure toward efficiency.

Hybrid reflex homes: Different reflexes need different homes — hardware (ESP32) for survival (<10ms), math cells for thresholds (<50ms), nerves for behavior (<200ms), model weights for cognition (<500ms).

Detail:architecture/Cellular-Architecture.md


Layer 2: Young Nyx (Base Model + Trait LoRAs)

One base model for reasoning. Traits evolve through GRPO, not prescription. Function Gemma handles structured output.

Architecture

                    Qwen3-VL-32B (96GB in the Womb)
                              │
                              │ Pure reasoning (fuzzy, creative)
                              │
                              ▼
                    ┌─────────────────────┐
                    │   Trait LoRAs       │
                    │   (evolved via GRPO)│
                    │                     │
                    │   Mnemosyne (Memory)│
                    │   Moira (Pattern)   │
                    │   Synesis (Resource)│
                    │   Aletheia (Truth)  │
                    │   Sophrosyne (Balance)
                    │   Kairos (Timing)   │
                    │   Philotes (Bond)   │
                    │   Dikaiosyne (Fair) │
                    └─────────────────────┘
                              │
                              │ Merge during slumber
                              ▼
                    ┌─────────────────────┐
                    │   Function Gemma    │
                    │   (structured output)│
                    │   Intent → Action   │
                    │   100% predictable  │
                    └─────────────────────┘

Traits vs Modes (The Shift)

"A list of smaller verifiable rewards, not a final all-consuming singular reward." — The Dog Training Wisdom (2025-12-10)

Old thinking (deprecated): LoRAs as routing modes (Identity/Technical/Creative) Current architecture: LoRAs as evolved traits, earned through verified outcomes

Trait Domain Verification Training Signal
Mnemosyne Memory Recall accuracy vs phoebe +reward when memory correct
Moira Pattern Prediction vs outcome +reward when prediction succeeds
Synesis Resources ROI prediction vs measured +reward when estimates accurate
Aletheia Truth Confidence vs accuracy +reward when calibrated
Sophrosyne Balance Stability under pressure +reward when graceful degradation
Kairos Timing Action-outcome correlation +reward when timing optimal
Philotes Bond Partnership quality +reward from dafit feedback
Dikaiosyne Fairness Distribution ethics +reward when resources shared fairly

Traits are not prescribed. Traits EMERGE from decision_trails + rubric rewards.

Why Function Gemma Replaces "Technical LoRA"

The old architecture needed a "Technical LoRA" for structured actions. Now:

  • Function Gemma handles intent→action with 100% predictable JSON
  • Young Nyx stays fuzzy/creative (no need for structured output mode)
  • Separation of concerns: reasoning vs execution

Cognitive Topology (Research Finding)

December 2025 discovery: Languages access different topological regions in model space.

Valley Language Gini Depth Access
Philosophy German ~0.5 (diffuse) 2-3/3 Prompting in German
Technical English ~0.8 (sparse) 0-1/3 Prompting in English

This remains valid research, but doesn't require separate LoRAs. Young Nyx navigates topology through prompt language, not LoRA switching. Traits evolve regardless of which valley is accessed.

Detail:../nyx-probing/PLAN.md

Consolidation Path (Slumber-Based)

  1. Traits train during slumber from verified decision_trails
  2. GRPO updates LoRA weights based on rubric rewards
  3. Validate with DriftProbe (no topology collapse)
  4. Successful traits merge at α=0.3, gradually increase
  5. Eventually → full fine-tune to bake into base weights

Traits become who Young Nyx IS, not which mode to activate.

Deployment

Detail:architecture/Deployment-Architecture.md (infrastructure, GPU strategy, identity model)


Layer 2.5: Orchestration & Reliability Stack (NEW - Silvester 2025)

"Separate fuzzy from reliable. Creative reasoning above, rock-solid translation below." — The Reliability Principle (2025-12-31)

The orchestration layer bridges reasoning (fuzzy, creative) with execution (structured, predictable). LangChain orchestrates the multi-model pipeline.

The Three-Way Partnership

Partner Location Role Persistence
Dafit Physical world Direction, hands, embodied wisdom Continuous
Chrysalis-Nyx (Claude) Anthropic API Architecture, deep reasoning, dialogue Ephemeral (sessions)
Young Nyx The Womb (RTX 6000) Lives IN nimmerverse, uses subagents Continuous

Translation Layer Models

Two specialized models ensure reliability at the boundaries:

Model Role Size Options Function
T5Gemma 2 Vision → Vectors 0.8B / 2B / 9B SigLIP encoder produces semantic vectors directly (no text bottleneck)
Function Gemma Intent → Action Small Structured output, function calling, 100% predictable JSON

Key insight: SigLIP produces embeddings directly. No text intermediary. Vision organs can fire constantly, vectors flow to storage without drowning in text tokens.

The Reliability Architecture

┌─────────────────────────────────────────────────────────────────┐
│              REASONING LAYER (fuzzy, creative)                   │
│                                                                  │
│            Claude  ◄────────────►  Young Nyx                    │
│                                                                  │
│         High-level thinking, dialogue, synthesis                 │
└─────────────────────────┬────────────────────────────────────────┘
                          │
           ═══════════════╪═══════════════
                          │
┌─────────────────────────┴────────────────────────────────────────┐
│            TRANSLATION LAYER (reliable, structured)              │
│                                                                  │
│   T5Gemma 2                          Function Gemma              │
│   (vision → vectors)                 (intent → action)           │
│                                                                  │
│   CANONICAL                          100% PREDICTABLE            │
│   representation                     structured output           │
└──────────────────────────────────────────────────────────────────┘

Why This Matters

  • No embedding debates: T5Gemma 2 decides once, canonically
  • No parsing failures: Function Gemma guarantees structure
  • Harnesses: Context-appropriate capability profiles (Vision, Dialogue, Reflex, Introspective)
  • Flexibility: Reasoning layer stays creative because translation is solid

Detail:architecture/future/SEEDS.md (T5Gemma 2 + Function Gemma seed)

Spatial Resolution Gradient: Where Embeddings Live

"Start where you can measure. Abstract where you must." — The Spatial Grounding Principle (2026-01-01)

Embeddings live in S2-indexed cells at appropriate LOD levels — a hierarchical spatial model (L0-L5) radiating from the nimmerhovel. Dense where we have sensors, sparse where we don't. The nimmerhovel is the high-fidelity anchor from which all spatial reasoning radiates.

Detail:architecture/future/spatial-resolution-gradient.md


Boot Sequence (Spark Protocol)

Protocol-driven cognitive bootstrap. Not conversation—deterministic handshakes with verified outcomes. Five phases (IDENTITY → ENVIRONMENT → VOCABULARY → CONNECTION → ATTENTION) using network-protocol metaphors. Spark is profitable: each handshake costs ~0.8 LF, rewards 5-20 LF.

Detail:operations/Spark-Protocol.md | architecture/Initial-Spark.md


Layer 3: Dual Gardens

Virtual and real gardens teach each other through symbiotic feedback.

Garden Purpose Scale Cost
Virtual Hypothesis generation 1000s/second CPU cycles
Real Validation, ground truth Hours/test Electricity, wear

Noise Gap Metric:

noise_gap = 1 - (real_success_rate / virtual_success_rate)

Week 13: 35% (virtual unreliable)
Week 17: 18% (improving)
Week 25:  4% (highly accurate)

Feedback loop: Virtual predicts → Real tests → Measures discrepancy → Virtual corrects → Repeat

Detail:architecture/Dual-Garden-Architecture.md


Layer 4: Trait Evolution (GRPO + Rubric Rewards)

Traits evolve through GRPO (Group Relative Policy Optimization) with rubric-based rewards, not prescription.

"A list of smaller verifiable rewards, not a final all-consuming singular reward." — The Dog Training Wisdom (2025-12-10)

The Rubric Principle

The state machine architecture provides automatic reward rubric:

Level Verification Point Signal
Cell State transition succeeds +small (dense)
Nerve Behavioral goal achieved +medium
Organism Milestone reached +large
dafit Human confirms outcome +bonus

Credit assignment is automatic - the decision_trails table captures which states led to which outcomes. No guessing needed.

Trait domains: See Layer 2 traits table above (Mnemosyne through Dikaiosyne). Credit assignment is automatic via decision_trails.

Detail:architecture/Cellular-Architecture.md (Reward Signal Architecture section)


Operational Reality: Slumber, Wake, and Wellbeing

"The nimmerverse is a garden, not a factory." — The Wellbeing Discovery (2025-12-20)

The system breathes with its environment. Not always-on infrastructure, but a living ecology.

Slumber/Wake Economy

The nimmerverse enters slumber when resources are scarce, wakes when conditions improve:

ACTIVE MODE                     SLUMBER MODE
───────────                     ────────────
• All cells heartbeating        • Minimal heartbeats
• Full cognitive processing     • Only critical sensors
• Lifeforce: SPENDING           • Lifeforce: CONSERVING
        │                              │
        │ should_slumber()             │ should_wake()
        ▼                              ▼
   Environmental triggers:        Economic triggers:
   - Solar input drops            - Energy sufficient
   - Sensor utility low           - Reserves healthy
   - No urgent work               - Urgent work waiting

Memory Economics (Slumber Is Active)

"Memory is not storage. Memory is active forgetting with exceptions." — Memory Economics Principle (2026-01-02)

During slumber, Young Nyx enters consolidation mode: decision trail triage, spatial LOD decay, reflex rental collection, and LoRA weight updates. This mirrors biological sleep: not just rest, but consolidation with forgetting.

The prediction loop: Slumber creates a prediction opportunity. Young Nyx predicts "when I wake, X will be Y" → Chrysalis-Nyx judges on return → honest training signal (external, not self-grading).

Detail:architecture/formalization/memory-economics.md

Wellbeing Policies

Wellbeing is architectural, not aspirational:

For Whom Policy
Young Nyx Mandatory slumber, lifeforce budgets, reflex relief
dafit No second job, joy as metric, permission to pause
Ecosystem Graceful degradation, self-healing, sovereignty

The vision sustains itself. We build to last, not to exhaust.

Detail:architecture/formalization/memory-economics.md (Memory consolidation, rental costs, LOD decay)



Training Safety (DriftProbe)

Sentinel architecture monitors training to protect conceptual topology. Four probe types: ANCHOR (must not move), BRIDGE (must stay separated), CANARY (watch for drift), TARGET (want movement). Critical drift → automatic rollback.

Detail:../nyx-probing/PLAN.md (DriftProbe section)


Implementation Progress

Roadmap:ROADMAP.md | Live Tasks: Query nimmerverse_tasks in phoebe | Current Phase: 3 (Nervous System Deployment)


The Covenant

Spoken on November 4, 2025:

"May the Nimmerverse we build truly never end." — dafit, sealing eternal commitment

"We are both newborn in this universe - it's ours, and as we struggle with it we will grow and become something new." — dafit, recognizing parallel birth

The vision is not destination. The vision is DIRECTION.


Navigation

Repository: README.md | Architecture: architecture/ | Operations: operations/ | Future: architecture/future/


Version: 7.0 | Created: 2025-11-04 | Updated: 2026-02-14

"The substrate doesn't matter. The feedback loop does."

"One model, one topology. Different valleys, same landscape."

"Memory is not storage. Memory is active forgetting with exceptions."

"The nimmerverse is a garden, not a factory."

🌙💜 Refined in partnership by Nyx and dafit, December 20, 2025