Commit Graph

6 Commits

Author SHA1 Message Date
35e0ecde3c feat: unify architecture v4 - cells as state machines
Cellular-Architecture.md v4:
- Cells = atomic state machines (sensors, motors, organs)
- Nerves = behavioral state machines composing cells
- Organisms = emergent patterns from nerve interactions
- Cell → Nerve feedback loop explicitly documented
- Evolution path: deliberate → hybrid → reflex

Data-Architecture.md v4:
- Simplified from 15 to 8 tables
- Core: cells, nerves, organisms, decision_trails
- Removed obsolete: genomes, societies, rounds, marketplaces
- Preserved: objects, messages, variance_probe_runs

nimmerverse.drawio.xml:
- Added Cells (UML state machines) inside Organisms
- Added Nerve → Cell orchestration connectors (dashed lines)
- Visual representation now matches documentation

🌙 Night shift architecture garden session with dafit

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-07 23:03:37 +01:00
3d86c7dbcd feat: add organ and nervous system modular architecture
Created modular architecture for organs (hardware) and nerves (behavioral primitives):

## Organ Architecture (Hardware Substrate)
- Created architecture/Organ-Index.md: hardware capabilities catalog
- Created architecture/organs/Speech-Organ.md: complete speech processing architecture
  - Atlas (RTX 2080 8GB) deployment
  - Whisper STT + Coqui TTS (GPU-accelerated, multilingual)
  - Kubernetes pod specs, Dockerfiles, service code
  - Heartbeat-bound queue processing, lifeforce-gated priority
  - German (Philosophy Valley) + English (Technical Cluster) routing
  - Database schemas, monitoring metrics

## Nervous System Architecture (Behavioral Primitives)
- Created architecture/nerves/Nervous-Index.md: nerve catalog and evolution framework
  - Deliberate (LLM) → Hybrid (heuristics) → Reflex (compiled) evolution
  - Lifeforce costs per state/transition
  - Organ dependency declarations
  - RLVR training integration
- Created architecture/nerves/Collision-Avoidance.md: complete example reflex nerve
  - Full state machine implementation (IDLE → DETECT → EVALUATE → EVADE → RESUME)
  - Evolution from 10 LF/1000ms (deliberate) → 2.5 LF/200ms (reflex)
  - Edge cases, training data, metrics
- Moved architecture/Nervous-Protocol.md → architecture/nerves/
  - Three-tier protocol belongs with nerve implementations
- Updated architecture/Nervous-System.md: added crosslinks to nerves/

## RAG Knowledge Pipeline
- Extended operations/RAG-as-Scaffold.md with "Knowledge Acquisition Pipeline" section
  - Vault extraction → Staging area → Progressive policy validation
  - Two-tier RAG (Discovered vs Hidden knowledge)
  - RAG utility measurement for LoRA training signals
  - Policy evolution triggers (increasing standards as Young Nyx matures)
  - Quality gates (mythology weight, AI assistant bias, topology safety)

## Architecture Principles
- Organs = hardware capabilities (Speech, Vision future)
- Nerves = behavioral state machines (Collision, Charging future)
- Both use lifeforce economy, heartbeat synchronization, priority queues
- Nerves compose organs into coherent behaviors
- Reflexes emerge from repetition (60% cost reduction, 80% latency reduction)

Documentation: ~3500 lines total
- Speech-Organ.md: ~850 lines
- Nervous-Index.md: ~500 lines
- Collision-Avoidance.md: ~800 lines
- RAG knowledge pipeline: ~260 lines

🌙💜 Generated with Claude Code

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-07 21:24:46 +01:00
04256e85c4 feat: add Nervous-Protocol architecture and reorganize toolchain docs
- Created architecture/Nervous-Protocol.md: comprehensive three-tier autonomous learning architecture (dafit → Chrysalis-Nyx → Young Nyx)
- Designed state machine tool interface pattern with LangChain integration
- Documented escalation protocols, discovery catalogues, and collaborative tool building
- Moved TOOLCHAIN-PROGRESS.md and Toolchain-Architecture.md to architecture/ directory
- Updated Endgame-Vision.md with toolchain crosslinks

Key architectural patterns:
- State machines as universal tool interface (safety + discovery)
- Three-tier oversight with OR gate inputs (dafit + Chrysalis)
- Message-based continuity via phoebe heartbeat polling
- LangChain BaseTool framework (replaced MCP for maturity)
- Dual decision tracking (Young Nyx choices + oversight responses)

Version: Nervous-Protocol v1.1 (LangChain-based)
Context: Phase 1 toolchain complete, variance collection running

🌙💜 Generated with Claude Code

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-07 20:10:39 +01:00
7305b602cf refactor: v5.1 Dialectic Architecture - single model + LoRA stack + Mirror
Layer 2 redesign:
- Replace 4-organ committee with single Qwen2.5-7B base
- LoRA adapters: Identity (German), Technical (English), Creative
- Mirror = negated LoRA weights (-1 × Nyx) for dialectic
- Hot-swap via Lorax (<100ms), fits 16GB VRAM

Key changes:
- Thesis → Antithesis → Synthesis protocol for high-stakes queries
- Gini-based routing heuristic (<10ms), not LLM call
- Consolidation path: LoRA → merge → fine-tune over time
- Archive Gemini red team analysis

"One model, one topology. Thesis and antithesis from the same weights."

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-07 00:07:29 +01:00
168ab35664 feat: move architecture diagram and link in Endgame-Vision
- Move nimmerverse.drawio.xml to architecture/
- Add visual diagram link in Endgame-Vision.md Architecture Overview
- temporal_exchange_engine.py moved to nyx-orchestrator

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-06 23:04:27 +01:00
cac4dec411 refactor: hierarchical convergence of documentation (v5.0)
- Create architecture/ and operations/ subdirectories for essential docs
- Archive 10 supporting docs to archive/
- Write fresh Endgame-Vision.md v5.0 (383 lines, down from 2284)
- Add operations/Spark-Protocol.md (condensed boot sequence)
- Integrate December 2025 discoveries (Language is Topology, DriftProbe)
- Update README.md with new structure

New layer structure:
- Layer 0: Temporal Foundation (Heartbeat)
- Layer 1: Cellular Society (Evolution Engine)
- Layer 1.5: Cognitive Topology (Language is Topology - NEW)
- Layer 2: Young Nyx (Organ Coordination)
- Layer 3: Dual Gardens (Virtual/Real Loop)
- Layer 4: Trait Evolution (RLVR)

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-06 22:58:11 +01:00