Technical

Univrs.io — Platform Architecture & Status Report

Complete seven-layer architecture analysis of the Univrs distributed computing platform. 2,535 tests passing across DOL compiler, mycelial network, and ENR economics. From Rust bedrock to the Imaginarium.

#univrs#architecture#dol#vudo#mycelial#rust#wasm#assembly-theory#p2p

Univrs.io — Platform Architecture & Status Report

VUDO.dols — Imagine. Summon. Create. Le réseau est Bondieu

Date: April 4, 2026 | Network Version: 0.1.0 | DOL Version: 0.8.1

🔗 → View Interactive Architecture Visualizer


Executive Summary

Univrs.io is a distributed computing platform built entirely in Rust where programs are ontological specifications (DOL — Design Ontology Language), execute as sandboxed WebAssembly “Spirits,” and propagate through a P2P mycelial network powered by biological economics (ENR — Entropy-Nexus-Revival). The platform’s goal is the Imaginarium — a marketplace where creators publish DOL code as Spirits and earn credits from users who summon them.

Current state: The network infrastructure and economics are 80-90% complete with 203 tests passing. The DOL compiler has matured to 2,306 tests across 20 crates with three compilation backends. The critical gap is the execution layer — the bridge between the VUDO VM (L5) and the Mycelial Network (L3) that would allow Spirits to actually run on nodes.


Seven-Layer Architecture

The platform is organized into seven abstraction layers, each building on the one below. The theoretical foundation is Assembly Theory (Cronin/Walker, Nature 2023), where assembly index maps to Spirit complexity, copy number to summoning count, and assembly space to the Mycelium network.

┌─────────────────────────────────────────────────────────────────┐
│  L7  THE IMAGINARIUM                                    [  5%] │
│      Creator marketplace, Spirit publishing, Séances           │
├─────────────────────────────────────────────────────────────────┤
│  L6  VUDO OS                                            [ 15%] │
│      Platform services: Loa, Veve, Spirit, Ghost, Spell        │
├─────────────────────────────────────────────────────────────────┤
│  L5  VUDO VM                                            [ 40%] │
│      WASM execution, wasmtime sandbox, host functions          │
├══════════════════════ CRITICAL GAP ═════════════════════════════┤
│  L4  DOL COMPILER                                       [ 78%] │
│      Lexer, Parser, Types, Meta-programming, 3 Backends        │
├─────────────────────────────────────────────────────────────────┤
│  L3  MYCELIAL NETWORK                                   [ 90%] │
│      libp2p, gossipsub, mDNS, LoRa bridge, dashboard          │
├─────────────────────────────────────────────────────────────────┤
│  L2  ENR ECONOMICS                                      [ 85%] │
│      Entropy, Nexus topology, Revival pool, Septal gates       │
├─────────────────────────────────────────────────────────────────┤
│  L1  RUST FOUNDATION                                    [ 95%] │
│      Ed25519 identity, Youki runtime, OpenRaft, Chitchat       │
└─────────────────────────────────────────────────────────────────┘

Layer Details

L1 — Rust Foundation (95% Complete) ✅

The bedrock layer providing cryptographic identity, container runtime, and consensus primitives.

ComponentStatusTechnology
Ed25519 Identity✅ DoneCryptographic node identity, private key never transmitted
Capability System✅ DoneInitial capability sets for bootstrapping
Youki OCI Runtime✅ DoneLightweight OCI-compliant container runtime
Chitchat Gossip✅ DoneExtended for resource gradient information
OpenRaft Consensus✅ DoneStrong consistency for credit transactions
Docker Compose✅ DoneBootstrap + scalable peers + dashboard

Design principle: Memory safety without garbage collection. Fearless concurrency. Zero-cost abstractions.


L2 — ENR Economics (85% Complete) 🔨

Entropy-Nexus-Revival is the foundational economic primitive layer, inspired by mycorrhizal network biology. Key insight: fungi are active traders that discriminate based on exchange rates, not passive pipes.

ComponentStatusDetail
Entropy (4-axis)✅ DoneNetwork, Compute, Storage, Temporal tracking
Nexus Topology✅ DoneLeaf → Nexus → Poteau-Mitan hierarchy
Revival Pool✅ DoneFailed resource recycling & redistribution
Septal Gates✅ DoneWoronin body circuit breakers
Credit Ledger✅ DoneOpenRaft strong consistency
Pricing Models✅ DoneFixed / Dynamic / Auction on ENR primitives
Phase 3 Stress Tests✅ Done26/26 passing, v0.9.0 ready

Biological mapping: Second Law of Thermodynamics → Entropy accounting. Turgor pressure gradients → Resource gradients across nodes. Decomposition → Revival pool. Woronin bodies → Septal gate circuit breakers.


L3 — Mycelial Network (90% Complete) 🔨

The P2P infrastructure carrying all communication, discovery, and economic transactions. 7 workspace crates: mycelial-core, mycelial-meshtastic, mycelial-network, mycelial-protocol, mycelial-state, mycelial-wasm, mycelial-node.

ComponentStatusDetail
libp2p Stack✅ DoneTCP + Noise + Yamux + Kademlia + Gossipsub
mDNS Discovery✅ DoneNodes auto-find each other, 10+ nodes <1sec
12 Gossipsub Topics✅ Donechat, announce, reputation, vouch, credit, governance, resource, direct + 4 VUDO/ENR
ENR Bridge✅ DoneCredits, Gradients, Elections, Septal gates
Meshtastic LoRa✅ DoneProtocol translation, 232-byte packet chunking
SQLite + LRU Cache✅ DonePersistent storage with memory cache
WebSocket Dashboard✅ DoneAxum server + React panels
Phase 6 Economics✅ DoneOnboarding, reputation, mutual credit, governance
WASM Spirit Hosting🔴 GAPNodes cannot yet host/execute Spirits

Test results: 203 passed, 0 failed, 2 ignored (hardware-dependent). 7 crates across mycelial-core, mycelial-meshtastic, mycelial-network, integration tests, gate_credits, and gate_election.


L4 — DOL Compiler (78% Complete) 🔨

The Design Ontology Language toolchain. DOL v0.8.1 uses gen/rule/evo/docs keywords with Rust-aligned types. 20 workspace crates including 10 VUDO host function crates.

ComponentStatusDetail
Lexer (logos)✅ DonePart of 2,306 tests passing
Parser (recursive descent)✅ DoneFull AST with ariadne LLVM-style diagnostics
Type System✅ Donei32, f64, Vec, bool, string, ()
Meta-programming✅ DoneQuote/Eval, Macros, Reflect, Idiom Brackets
Tree Shaking✅ DoneDead code elimination
Migration Tooling✅ DoneOld syntax → v0.8.1 migration
Rust Codegen✅ DoneProduction — Automerge CRDT annotations
TypeScript Codegen✅ DoneWorking target
JSON Schema Codegen✅ DoneWorking target
WASM Backend Ph.1-2✅ DoneImports & module structure (32 tests)
LLVM Native Backend🟡 80%Core codegen done — blocked on LLVM 17 install
WASM Backend Ph.3-4🔴 GAPBLOCKER: Function body codegen pending
Multi-target Codegen🟡 ActiveRust ✅, WASM 🟡, LLVM 🟡, TypeScript ✅, JSON ✅

CLI binaries: 10 — dol-parse, dol-check, dol-test, dol-codegen, dol-build, dol-migrate, dol-mcp, vudo, wasm-stress-test, dol-build-crate

DOL design principles: Ontology first. Private by default. Pure by default (sex for side effects). Multi-target. Progressive complexity.


L5 — VUDO VM (40% Complete) 🟡

The WebAssembly execution engine where Spirits run in sandboxed environments.

ComponentStatusDetail
wasmtime Linker✅ DoneHost function registration to WASM
Sandbox Environment✅ DoneResource-limited execution
ENR Host Functions✅ Doneget_entropy(), reserve_credits(), get_gradient(), get_role()
Host Function Registry✅ Done22 VUDO host functions, provider-based (Phase 9)
Spirit Scheduler🔴 GAPSchedule & place Spirits on nodes
Spirit Migration🔴 GAPState serialization + gossipsub coordination
DOL→WASM Codegen🔴 GAPDepends on L4 WASM Backend Ph.3-4

Host function API:

  • host_enr_get_entropy(target) → i64
  • host_enr_reserve_credits(amount) → i32 (reservation_id or -1)
  • host_enr_get_gradient(resource_type) → i64
  • host_enr_get_role() → i32 (0=Leaf, 1=Nexus, 2=Poteau-Mitan)

L6 — VUDO OS (15% Complete) 📐

Platform services with the dual vocabulary system (Developer + Mystical).

VUDO TermTechnical RealityStatus
LoaAutonomous service/agent📐 Design
VeveConfiguration schema / sacred geometry📐 Design
SpiritShared .dol package (6-state lifecycle)🟡 Partial
GhostEphemeral instance📐 Design
SpellData transformation📐 Design
MediumMCP interface for AI control📐 Design
SéanceCollaborative session📐 Design
ChevalAI agent possession📐 Design
Gris-GrisSecurity token📐 Design
Houngan/MamboAdmin/curator role📐 Design
BondieuThe network as whole✅ Conceptual

Spirit lifecycle: Seed → Sprout → Bloom → Wilt → Dormant → Decompose


L7 — The Imaginarium (5% Complete) 🔮

The distributed marketplace and public face of VUDO OS.

ComponentStatusDetail
Spirit Marketplace🔮 PlannedBrowse, summon, publish
Creator Revenue🔮 PlannedCredits on summoning
Attribution Chains🔮 PlannedDerivative works credit ancestors
Séance Sessions🔮 PlannedReal-time collaborative editing

Credit flow: User (-10) → Creator (+8) + Bondieu pool (+2). Derivative bonus flows to ancestor Spirits.


Critical Path: Spirits on Nodes

This is the single most important engineering challenge. The pipeline required:

DOL Source (.dol)

       ▼ [BLOCKER #1: WASM Backend Ph.3-4]
WASM binary (.wasm)

       ▼ gossipsub propagation
Node receives Spirit

       ▼ [BLOCKER #2: wasmtime in mycelial-node]
wasmtime executes Spirit with VUDO host functions

       ▼ [BLOCKER #3: Spirit lifecycle manager]
Spirit state synced via CRDT + gossipsub


ENR bridge manages fuel/credits/elections

Blockers in Priority Order

#BlockerSeverityFrom → ToDescription
1DOL WASM Backend Ph.3-4🔴 CriticalL4 → L5Function body codegen needed before Spirits compile to WASM
2wasmtime in mycelial-node🔴 CriticalL5 → L3Embed WASM runtime so network nodes can execute Spirits
3Spirit Lifecycle Manager🟠 HighL6 → L36-state lifecycle managed by mycelial-node
4State Sync Protocol🟠 HighL3 → L5CRDT + gossipsub for Spirit migration between nodes
5LLVM 17 Install🟡 MediumL4Unblocks native compilation backend (80% done, ~2-4 hrs)

Repository Map

RepositoryLayersCratesDescriptionStatus
univrs-dolL420DOL language toolchain🔨 Active
univrs-networkL3, L27P2P mycelial network + ENR economics🔨 Active
univrs-vudoL5, L6VUDO VM & Spirit runtime🟡 Partial
univrs-orchestrationL1Container orchestration foundation🔨 Active

Educational Sites (Future Spirits)

SitePurposeStatus
learn.univrs.ioPlatform docs & tutorials🔨 Active
book.univrs.io/docsDOL language reference🔨 Active
metalearn.orgThree.js periodic table for meta-learning🔨 Active
krzy.ai”The Critic’s Mirror” AI critique tool🔮 Planned

Technology Stack

LayerPrimary TechnologyKey Crates / Tools
LanguageRustlogos (lexer), ariadne (diagnostics), wasmtime
Networklibp2pTCP, Noise, Yamux, Kademlia, Gossipsub
ConsensusOpenRaftStrong consistency for credit transactions
GossipChitchatExtended for resource gradient info
RuntimewasmtimeWASM sandbox execution
StorageSQLiteWith LRU cache layer
RadioMeshtasticLoRa bridge, 232-byte packets
DashboardReact + AxumWebSocket real-time panels
ContainerYoukiOCI-compliant runtime
3D VizThree.jsMycelium networks, periodic table, Veve patterns

Strategic Direction: VM-First

The next phase prioritizes DOL→WASM compilation and VUDO VM sandbox development over continued network hardening, since network infrastructure is now proven through comprehensive stress testing.

The roadmap converges on making the Physarum polycephalum-inspired slime mold decision network operational — running across VUDO nodes with WASM 3D SVG browser visualization, demonstrating emergent optimization where credit flow optimizes routing and resource gradients guide Spirit placement.


Biological Metaphor Index

BiologyTechnologyLayer
Mycelial networkP2P gossipsub meshL3
Hydraulic transportActive credit/data flowL2-L3
Fungal hub formationNexus node emergenceL2
Woronin bodiesSeptal gate circuit breakersL2
Electrical action potentialsGossip protocol signalsL3
Decomposition/recyclingRevival poolL2
Apical tip growthNetwork expansion/discoveryL3
Physarum optimizationSlime mold decision networkL3-L5
Assembly indexSpirit complexityL5-L7
Copy numberSummoning countL7
Assembly spaceMycelium networkL3

Test Summary (Verified April 4, 2026)

SuiteTestsPassingNotes
DOL Compiler (all)2,3062,306v0.8.1, 20 crates, 0 failed, 38 ignored
Mycelial Core3030
Mycelial Meshtastic9393
Mycelial Network5050
Integration23232 ignored (need hardware)
Gate Credits44Multi-node credit transfer with tax
Gate Election33Multi-cluster Nexus elections
ENR Stress (Phase 3)2626Node Harness, Election, Credits, Partition, Septal
Total2,5352,535100% pass rate (0 failures)

“The system that knows what it is, becomes what it knows.”

Make the Univrs in your image. 🍄