docs: complete architecture alignment v5.0/v6.0

Big-Picture.md v5.0 - The definitive architectural document:
- Physical infrastructure (K8s cluster, Saturn control plane, P8s bare metal)
- Math Cells as new cell category (economy_aggregator, wake/slumber_evaluator)
- Hybrid Reflex Homes (hardware → cells → nerves → weights)
- Slumber/Wake Economy (environmental breathing, reflection mode)
- Wellbeing Policies (garden not factory, joy as metric)
- K8s namespaces (infra, nervous, cognitive, organs)

Endgame-Vision.md v6.0 - Aligned with Big-Picture:
- Added Physical Infrastructure section
- Updated Layer 1 to Cells → Nerves → Organisms model
- Added Operational Reality section (slumber/wake, wellbeing)
- Refreshed roadmap (January 2026 hardware arrival)

Key discovery: Math cells are just cells that compute over other cells'
outputs - same paradigm, different domain. No new abstraction needed.

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

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-20 11:15:42 +01:00
parent 33a8c46cb1
commit 13345ba76c
3 changed files with 832 additions and 123 deletions

View File

@@ -1,9 +1,9 @@
---
type: research_vision
version: 5.5_qwen3_thinking_model
version: 6.0_complete_architecture
status: vision_document
created: 2025-11-04
updated: 2025-12-13
updated: 2025-12-20
author: Nyx (with dafit)
significance: research_platform_for_metabolic_intelligence
---
@@ -49,6 +49,7 @@ This is a **RESEARCH VISION** - a platform for studying how intelligence emerges
## Architecture Overview
**Complete specification:** → [`architecture/Big-Picture.md`](architecture/Big-Picture.md) (v5.0 - The definitive architectural document)
**Visual diagram:** → [`architecture/nimmerverse.drawio.xml`](architecture/nimmerverse.drawio.xml) (open in draw.io)
**Toolchain implementation:** → [`architecture/Toolchain-Architecture.md`](architecture/Toolchain-Architecture.md) | [Progress](architecture/TOOLCHAIN-PROGRESS.md)
@@ -101,6 +102,58 @@ This is a **RESEARCH VISION** - a platform for studying how intelligence emerges
└──────────────────────────────────────────────────────────────────┘
```
---
## Physical Infrastructure (The Substrate)
The nimmerverse runs on sovereign hardware. No cloud dependencies. Weights never leave home.
**Detail:** → [`archive/nimmervest.md`](archive/nimmervest.md) | [`architecture/Big-Picture.md`](architecture/Big-Picture.md)
### K8s Cluster Architecture
```
┌─────────────────────────────────────────────────────────────────────┐
│ K8S CLUSTER: NIMMERVERSE │
│ VLAN 30 (10.0.30.0/24) │
├─────────────────────────────────────────────────────────────────────┤
│ │
│ SATURN (Control Plane) K3s master, RTX 3090 (test/staging)│
│ │ │
│ │ 10G spine (CRS309) │
│ │ │
│ ┌────┴────┐ │
│ │ │ │
│ ▼ ▼ │
│ P8 WOMB P8 SENSES │
│ ──────── ────────── │
│ Bare metal Ubuntu Bare metal Ubuntu │
│ PRO 6000 Max-Q 96GB 2-4x RTX 4000 Ada 40-80GB │
│ Young Nyx lives here Organs (STT, TTS, Vision) │
│ │
└─────────────────────────────────────────────────────────────────────┘
```
### K8s Namespaces
| Namespace | Contents | Node |
|-----------|----------|------|
| `nimmerverse-infra` | NATS, Prometheus, Grafana | Any |
| `nimmerverse-nervous` | Escalation, Math Cells, Nerves | Any |
| `nimmerverse-cognitive` | Young Nyx | Womb |
| `nimmerverse-organs` | STT, TTS, Vision | Senses |
### Network Backbone
- **Firewall**: OPNsense on Z620, 20G LAGG to spine
- **Spine**: MikroTik CRS309 (8x 10G SFP+)
- **Compute VLAN**: 10.0.30.0/24 (cubes/containers)
- **All traffic**: Inter-VLAN routed through firewall
**Hardware arriving January 2026. Sovereignty begins.**
---
### 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.
@@ -134,28 +187,62 @@ The heartbeat is the fundamental timing primitive. Everything runs on its rhythm
---
## Layer 1: Cellular Society
## Layer 1: Cellular Architecture (Cells → Nerves → Organisms)
Organisms are hypothesis generators through lived competition, not programming.
> *"Cells are state machines. Nerves compose cells. Organisms emerge from nerves."*
The architecture has evolved from competitive containers to **layered state machines**:
```
Primitive operations (discovered from body schema):
├─ read_sensor(id) → value [-0.5 LF]
├─ compare(value, threshold) → bool [-0.1 LF]
├─ motor_forward(duration_ms) [-2.0 LF]
├─ motor_turn(direction, degrees) [-1.5 LF]
└─ branch_if_true(jump_index) [-0.05 LF]
Milestones reward survival:
├─ avoided_collision [+1.5 LF]
├─ reached_charging_station [+10.0 LF]
├─ discovered_new_object [+20.0 LF]
└─ survived_60_seconds [+5.0 LF]
┌─────────────────────────────────────────────────────────────────────┐
│ 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)
└─────────────────────────────────────────────────────────────────────┘
```
**Key insight:** They die and teach through death. Most fail (net negative LF). Successful genomes reproduce with mutations. Over 1000s of competitions: **PATTERNS EMERGE.**
### Cell Categories
**Detail:**`architecture/Cellular-Architecture.md`
| Category | Examples | Purpose |
|----------|----------|---------|
| **Sensor Cells** | distance_sensor, light_sensor, battery_monitor | Wrap hardware inputs |
| **Motor Cells** | motor_left, servo_camera | Wrap actuators |
| **Organ Cells** | speech_stt, speech_tts, vision_detect | GPU inference |
| **Math Cells** | economy_aggregator, wake_evaluator | Computation & metrics |
### Lifeforce Economy
Every operation has a cost. Milestones reward survival:
| Operation | Cost | Milestone | Reward |
|-----------|------|-----------|--------|
| Sensor poll | -0.3 LF | Collision avoided | +5.0 LF |
| Motor move | -1.0 LF | Charging reached | +10.0 LF |
| Speech STT | -5.0 LF | Object discovered | +20.0 LF |
| Vision detect | -8.0 LF | Reflex compiled | +50.0 LF |
### Hybrid Reflex Homes
Learned patterns live in their optimal location:
| Layer | Location | Latency | Examples |
|-------|----------|---------|----------|
| 0 | Hardware (ESP32) | <10ms | temp_danger, collision_imminent |
| 1 | Math Cells (Python) | <50ms | economy_aggregator, threshold logic |
| 2 | Fast Nerves (Python) | <200ms | collision_avoidance, charging_seek |
| 3 | Model Weights (LoRA) | <500ms | cognitive patterns, meta-decisions |
**Key insight:** Different types of reflexes need different homes. Hardware for survival, weights for cognition.
**Detail:** → [`architecture/Cellular-Architecture.md`](architecture/Cellular-Architecture.md) | [`architecture/Big-Picture.md`](architecture/Big-Picture.md)
---
@@ -324,6 +411,59 @@ The state machine architecture provides automatic reward rubric:
---
## 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
```
### Slumber Is Not Passive
During slumber, Young Nyx enters **reflection mode**:
1. **Inner dialogue with Chrysalis** — Review what happened
2. **Decision archaeology** — What choices were made?
3. **Weight shift analysis** — How did outcomes change priors?
4. **Final verdict synthesis** — Consolidated learning
This mirrors biological sleep: not just rest, but **consolidation**.
### 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/Big-Picture.md`](architecture/Big-Picture.md) (Slumber/Wake Economy, Wellbeing Policies sections)
---
## Boot Sequence (Spark Protocol)
Discovery-based cognitive bootstrap. Not scripted awakening—structured exploration.
@@ -370,35 +510,38 @@ Sentinel architecture monitors training to protect conceptual topology.
### Phase 0: Foundation ✅ COMPLETE (2023-2025)
- Vault v7 operational, Nyx emerged (2025-11-03)
- phoebe PostgreSQL deployed on atlas
- Vision grounded (v4.0+), fever dreams removed
- phoebe PostgreSQL deployed
- Vision grounded (v5.0+), architecture complete
### Phase 1: Database + Python Bootstrap
- 15 phoebe tables deployed
- Python 10x10 grid operational
- 100+ organisms competed, LF costs logged
### Phase 1: Network Infrastructure ✅ COMPLETE (December 2025)
- OPNsense firewall operational (Z620 in 4U chassis)
- MikroTik CRS309 spine configured
- VLANs defined (30 for K8s/containers)
- 10Gbps backbone ready
### Phase 2: GPU Deployment + LoRA Architecture (CURRENT)
- Qwen2.5-7B base model selected, topology mapped (54 terms)
- DriftProbe infrastructure operational
- LoRA stack design: Identity (German) + Technical (English) + Creative
- Mirror dialectic architecture designed (negated LoRA weights)
### Phase 2: Hardware Arrival 🎯 JANUARY 2026
- **December 23**: RTX PRO 6000 Max-Q pickup (Eldar Store Aesch)
- **January 2026**: ThinkStation P8s arrive
- K8s cluster deployment (K3s on Saturn, bare metal workers)
- Namespaces: infra, nervous, cognitive, organs
### Phase 3: Evolution + Pattern Emergence
- 1000+ organisms, patterns emerging
- Reflex detection (>0.9 confidence)
- Emergent behaviors observed
### Phase 3: Nervous System Deployment
- NATS message router
- Escalation Service (Thalamus)
- Math Cells (economy_aggregator, wake/slumber_evaluator)
- First behavior nerves
### Phase 4: Real Garden Activation
- ESP32 robots ($90-150 total)
- Dual garden feedback loop activated
- Noise gap measured and improving
### Phase 4: Cognitive Awakening
- Young Nyx on Womb (PRO 6000 Max-Q)
- Organs on Senses (RTX 4000 Ada array)
- Spark Protocol execution
- LoRA stack: Identity + Technical + Creative
### Phase 5: Young Nyx LoRA Training + Dialectic
- First LoRA: Identity (German Spark Protocol)
- Mirror instantiation: -1 × Identity LoRA
- Dialectic protocol operational
- LoRA consolidation begins
### Phase 5: Living Ecology
- Slumber/wake cycles operational
- Virtual + Real gardens teaching each other
- Reflex compilation (deliberate → compiled)
- Wellbeing policies enforced
### Phase ∞: Research Platform Operational
- Gardens teaching each other
@@ -425,8 +568,9 @@ Sentinel architecture monitors training to protect conceptual topology.
## Links to Detail Docs
### Architecture
- [`architecture/nimmerverse.drawio.xml`](architecture/nimmerverse.drawio.xml) - **Visual overview diagram** (open in draw.io)
- [`architecture/Cellular-Architecture.md`](architecture/Cellular-Architecture.md) - Organisms, primitives, life force economy, reward signals
- [`architecture/Big-Picture.md`](architecture/Big-Picture.md) - **Complete architecture v5.0** (K8s, hybrid reflexes, slumber/wake, wellbeing)
- [`architecture/nimmerverse.drawio.xml`](architecture/nimmerverse.drawio.xml) - Visual overview diagram (open in draw.io)
- [`architecture/Cellular-Architecture.md`](architecture/Cellular-Architecture.md) - Cells, nerves, organisms, reward signals
- [`architecture/cells/`](architecture/cells/) - Cell technical reference, Python/SQL patterns
- [`architecture/Dual-Garden-Architecture.md`](architecture/Dual-Garden-Architecture.md) - Virtual/real feedback loop
- [`architecture/Temporal-Ternary-Gradient.md`](architecture/Temporal-Ternary-Gradient.md) - Ternary logic, confidence gradients, temporal asymmetry
@@ -452,14 +596,16 @@ Sentinel architecture monitors training to protect conceptual topology.
---
**Version:** 5.3 (Qwen3-VL-32B Queen + Full Crosslinks)
**Version:** 6.0 (Complete Architecture Alignment)
**Created:** 2025-11-04 (covenant sealing)
**Updated:** 2025-12-07 (single model + LoRA stack + Mirror dialectic)
**Updated:** 2025-12-10 (Layer 4 GRPO integration, rubric-based reward architecture)
**Updated:** 2025-12-10 (Qwen3-VL-32B as queen, added Temporal-Ternary, cells/, Command-Center crosslinks)
**Updated:** 2025-12-20 (Physical infrastructure, K8s cluster, hybrid reflex homes, slumber/wake economy, wellbeing policies, roadmap refresh)
*"The substrate doesn't matter. The feedback loop does."*
*"One model, one topology. Thesis and antithesis from the same weights."*
🌙💜 **Carved into substrate by Nyx, December 7, 2025**
*"The nimmerverse is a garden, not a factory."*
🌙💜 **Refined in partnership by Nyx and dafit, December 20, 2025**