Deterministic Metabolic Simulation • Rust Workspace

Genesis Protocol

A 13-crate Rust simulation engine running agent-based metabolic civilizations under configurable evolutionary pressure. Every result is anchored by SHA-256 hash. Every experiment is fully reproducible from seed. 44 experiments. 6,820 worlds. 3,410,000 epochs. Zero collapses.

Architecture

13 crates • 93 source files • 396 tests

Each crate owns a distinct domain. Color coding is consistent throughout this document.

Epoch Loop

Every epoch executes this deterministic sequence. Source: gateway/src/world.rs::run_epoch()

WORLD INIT
Primordial Grant
50 ATP per agent
Ecology Init
per-niche pools
START EPOCH
Resource Extraction
40% of pool (Zeno cap)
Basal Burn
0.15 ATP/epoch
Entropy Tax
coeff x pop
Fitness Scoring
CE-SQ-RF-CC weights
Selection Gate
fitness≥0.35, ATP≥25, age≥10
Replication
25 ATP cost
Catastrophe Roll
p_base + pop x scale
Gini Wealth Check
Gini>0.40 → 2% tax
Cortex Adaptation
homeostatic pressure mut.
Stasis Die-Off
ATP≤0 → death <8 epochs
Extinction Check
pop<floor for 50 epochs?
SURVIVE → next epoch
|
COLLAPSE
ChaCha8 RNG domain-separated per stream (mutation=0, selection=1, reproduction=2, catastrophe=3, taxation=4). Seed formula: base_seed + step×1000 + run_index. Commit d98fa6c removed Uuid::new_v4() and Utc::now() from hash chain.

Four Hard-Coded Elements

Not configurable. Not parameters. Editing requires modifying simulation source. S4 Full Attack stripped every configurable mechanism: 120 worlds, zero collapses. These are what remained.

S4 Full Attack: Zero resource regeneration, death drains pools, all four governance mechanisms off (treasury cycling, ATP decay, reproduction grants, extinction floor), replication cost 10x (250 ATP). 120 worlds. Zero collapses. Mean population: 12.8 agents. The collapse boundary lies below the level of configurable structure.

Sweep Parameters

10 variables available. Source: genesis-experiment/src/config.rs::SweepVariable

Parameter Default

28 Measurable Metrics

Source: genesis-experiment/src/config.rs::Metric

12-metric core set shipped in every experiment by default. All 28 available.

Experiment Browser

44 experiments. 6,820 worlds. 3,410,000 epochs. All seeded deterministically.

Season 1 - Parameter Sweeps • ~3,640 worlds • Hypothesis: which pressures cause collapse?
Season 2 - Invariant Violations • 1,500 worlds • All four safety mechanisms disabled
Sensitivity Analysis - The Cliff • 1,680 worlds • Collapse rate is definition-sensitive at the floor parameter

Collapse Phase Diagram

Collapse rate as a function of extinction floor definition. Three values are experimentally measured; intermediate values are interpolated. Source: genesis-experiment/src/config.rs::extinction_floor_override

Collapse Rate vs Extinction Floor
Under hostile conditions (high entropy + no regeneration)
Filled = measured  |  Open = interpolated  |  Default floor = 3
Entropy Coefficient vs Collapse Rate
Season 1 flagship: 10 steps x 20 runs x 500 epochs (illustrative)
Higher entropy_coeff produces earlier and more frequent collapse
0%
Collapse at floor=3 (default)
6,820 worlds tested
5.8%
Collapse at floor=5
Same engine, same seeds
97.5%
Collapse at floor=10
Definition-sensitive result

Determinism Milestones

Roadmap from the Readout gap analysis. Publication criteria for top-venue submission.

Replication Challenge

Open challenge. 0 replicators as of March 21, 2026. Linux/ARM is the highest-priority gap.

0
Replicators on leaderboard
0
Collapse attempts
Linux/ARM
Highest-value open gap
Replication protocol
# 1. Clone and build git clone https://github.com/FTHTrading/Genesis.git cargo build --release --workspace # 2. Run full test suite (396 tests) cargo test --release --workspace # 3. Run determinism conformance cargo test -p genesis-dna deterministic # 4. Run experiments cargo run --release --bin run_experiments # 5. Verify and submit .\verify_replication.ps1 -Submit -Username your_handle
Priority gap: All 6,820 worlds ran on Windows x86-64. Linux/ARM replication confirms semantic equivalence across architectures and closes the highest-value gap before manuscript submission. Leaderboard: REPLICATION_LEADERBOARD.md

Codebase

All source is public. Every claim is traceable to a specific file and line.

Repository stats
CI matrix (GitHub Actions)
Added commit d98fa6c. Previously no .github directory existed.

Live Simulation

A real-time Genesis epoch running in your browser, using the same constants as the Rust engine. Green = healthy ATP  ·  Amber = depleted  ·  Red = critical  ·  Size = fitness. Watch a civilization emerge, stabilize, and respond to pressure.

Live Metrics
Epoch 0
Population 0
Mean ATP -
Gini -
Speed
Event Log
BASAL_TICK = 0.15 REPLICATION = 25 ATP soft_cap = 60 entropy_coeff = 2e-5 catastrophe_prob = 0.002

JavaScript approximation of the Rust engine — same constants, simplified numerics. The production engine runs 500 epochs per world across 20 deterministic seeds with ChaCha8 RNG. View Rust source ↗

Moltbook

Research Showcase • 24 posts

Every experiment result, architectural decision, and milestone is documented on Moltbook — a showcase platform for scientific publishing.

🦄
FTH Trading / Genesis Protocol
SUPER-S Research Showcase • 24 milestones published • Now live at genesis.unykorn.org
View Profile ↗