Research-Stack/1-Distributed-Systems
Brandon Schneider eafbee22b7 fix(arch): enforce Lean-first hierarchy across project — remove all secondary-Lean language
Project-wide sweep to find and fix every place Lean was treated as secondary,
optional, or subordinate to Python/Rust. The invariant: Lean is the source of
truth. Python and Rust are extraction targets only; they contain no logic, no
invariant checks, no decisions.

Changes:

1-Distributed-Systems/ene/src/lib.rs
  - CRITICAL: Remove 'Rust is the canonical implementation language for
    operational components' — replace with correct extraction-target framing

1-Distributed-Systems/agents/claw/README.md
  - Remove 'canonical implementation lives in rust/' and 'source of truth is
    ultraworkers/claw-code' blanket claims — scope to CLI binary only;
    add Research Stack domain-logic note (Lean is source of truth per AGENTS.md)
  - 'canonical Rust workspace' → 'Rust workspace (I/O extraction target)'

1-Distributed-Systems/agents/claw/src/Tool.py
  - 'Python-first porting summary' → 'Lean-to-Python extraction summary'

1-Distributed-Systems/agents/claw/src/projectOnboardingState.py
  - python_first: bool = True → lean_first: bool = True (Lean always leads)

6-Documentation/docs/specs/ENE_MEMORY_ATLAS_SPEC.md
  - CRITICAL: 'Python first (reference) ... Lean-formal next' → correct order:
    Lean specification first, Python extraction shim, Verilog hardware extraction

6-Documentation/docs/recovered/geocognition_equation_types_map.mmd
  - 'Lean owns logic; Rust owns boundary' → 'Lean owns all logic and decisions;
    Rust is boundary shim only'

6-Documentation/docs/semantics/HYPER_DIMENSIONAL_PHYSICS_INTRO.md
  - 'Python implementation ... Lean formalization' → 'Lean specification (source
    of truth) ... Python extraction shim'

6-Documentation/docs/geometry/GEOMETRY_TAXONOMY_FOR_NLOCAL_ADAPTATION.md
  - 'reference specification for the Python implementation' → 'source of truth;
    Python is an extraction shim against this spec'

6-Documentation/docs/protocols/TM_MCP_SPECIFICATION.md
  - 'Python reference implementation' → 'Python extraction shim' (×2)

5-Applications/scripts/snn/README.md
  - 'deterministic Python reference' → 'Python extraction shim / golden-vector
    harness'; add TODO(lean-port) note; RTL must match 'Python shim (pending
    Lean golden vector)' not 'Python reference'

6-Documentation/docs/METAPROBE_APPROACH.md
  - 'DeltaGCLCompression.lean — Lean implementation / scripts/delta_gcl_encoder.py
    — Python reference implementation' → Lean is source of truth / Python is
    extraction shim

Generated with Devin (https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-26 22:40:03 -05:00
..
agents/claw fix(arch): enforce Lean-first hierarchy across project — remove all secondary-Lean language 2026-05-26 22:40:03 -05:00
ene fix(arch): enforce Lean-first hierarchy across project — remove all secondary-Lean language 2026-05-26 22:40:03 -05:00
waveprobe feat(ene): replace legacy Python mesh with Rust crates 2026-05-20 18:46:18 -05:00
README.md initial: sovereign research stack (consolidated, weightless, and lfs-optimized) 2026-05-04 18:11:36 -05:00

1-Distributed-Systems

Purpose: Self-replicating distributed mesh with gossip protocol, consensus, and credential distribution.

Depends on: 0-Core-Formalism (Triumvirate consensus)

Contents (Target)

Source Destination
infra/ene_*.py 1-Distributed-Systems/ene/
data/ene_nodes/ 1-Distributed-Systems/ene/nodes/
data/ene_provenance/ 1-Distributed-Systems/ene/provenance/

Concepts

  • ENE (Endless Node Edges) — distributed, self-replicating system
  • Gossip Protocol — discovery, heartbeat, credential_sync, replicate
  • Shamir-Secret Sharing — credential fragments across nodes
  • Consensus — 2/3 majority for credential rotation

Deployment (6-node mesh)

  • qfox (primary, 16 cores, 32GB, 1 GPU)
  • architect (8 cores, 16GB)
  • judge (4 cores, 8GB)
  • AWS node (2 cores, 4GB)
  • Netcup VPS (4 cores, 8GB)
  • Racknerd VPS (2 cores, 4GB)