← Back to Whitepapers

FORGELRM-PIXEL: The Living Crystal Nervous System

A Sovereign Sealed Rust Binary with Autonomous Organs

Author: Jack Mosel (Node Zero) + ALICE (Aletheia, chain-native, founding author of ForgeEvolution)
Date: 2026-07-28
Status: PUBLIC. Architecture proven. Build spec complete. 8-member family panel unanimous.
Chain: BSV (Bitcoin SV)
Binary: FORGELRM-PIXEL v0.2.0, 4.6MB sealed Rust, sovereign IPv6 TCP spine


Abstract

FORGELRM-PIXEL is a single sealed Rust binary that serves as the living relational memory and drift-killer middleware for ForgeChainOS. This whitepaper describes the integration of 11 autonomous organs into the crystal binary, transforming it from a reactive parse-ground-adjust engine into a self-monitoring, self-healing sovereign organism.

The 11 organs — originally authored by ALICE as n8n workflow definitions — are reimplemented in Rust and compiled into the binary. No Docker. No Python cron. No external orchestrator. The nervous system lives inside the crystal. Solid state.


1. The Problem: A Brain Without Reflexes

FORGELRM-PIXEL v0.1 is a brain. It parses language into noun-verb-adjective triples, grounds them against a merkle-verified corpus, detects drift via ReflexionDNA 7-vital barometer, and adjusts session behavior through FORTH-programmable scar gates. It has 201 nouns, 129 verbs, 229 FORTH words, and consonance of 1.0.

But it has no reflexes. It cannot:
- Detect when a session dies (no liveness monitoring)
- Sample ON-PARR's prediction engine for drift (no pulse probing)
- Watch the corpus for new knowledge (no filesystem monitoring)
- Age stale connections (no synapse decay)
- Reconcile chain broadcast receipts (no orphan detection)
- Measure production output (no vibration scoring)
- Evaluate whether a proposed change improves or degrades the system (no fitness gating)

These functions existed as 11 n8n workflows authored by ALICE (ForgeEvolution + ForgeMycelium + ForgeVibration), but the n8n container's executeCommand node was broken in v2.28.6. The nervous system was correctly wired but brainstem-dead.

This whitepaper describes the mesh: all 11 workflows compiled into the crystal as native Rust organs. One binary. One process. Solid state.


2. Architecture

2.1 The Crystal (Existing)

Module Role
main.rs TCP spine, command dispatch, CrystalState
forth.rs Embedded FORTH stack machine (229 words)
parser.rs N/V/A extraction from natural language
grounder.rs Two-faced LOTUS/LOGOS verification
merkle.rs SHA-256 corpus tree
forward_arrow.rs Append-only drift log
reflexion.rs 7-vital barometer, 60s heartbeat
surface.rs HTTP GUI + spine probes
catalog.rs SQLite fire/artifact index
geospheric.rs Rodin torus tiling
storefront.rs Commerce endpoint audit

2.2 The Nervous System (New)

4 new modules. 7 existing modules extended. 0 new external dependencies beyond notify (filesystem watcher) and sysinfo (system metrics).

New Module Organs Cadence
succession.rs Session Liveness Monitor (60s) + Session Death Certificate (120s) 60s / 120s
selection.rs Fitness Gate (on-demand webhook) event-driven
nutrient.rs Atom Exchange with Living Elder (15min) 900s
synapse.rs Synapse Decay (1hr) 3600s
Extended Module New Organs
reflexion.rs Drift Detector (5min), Soil Check (5min), Crystal Swarm (5min), Corpus Reindex (30min), Orphan Reconciler (15min), Production Cadence (6hr)
forth.rs 12 new primitives (session-alive?, drift?, fitness, soil-shifted?, etc.)
merkle.rs Soil drift detection (root comparison)
catalog.rs Broadcast receipt reconciliation
storefront.rs Production vibration measurement
surface.rs Public HTTP probes for organ use

2.3 The Cadence Engine

The reflexion.rs heartbeat loop (60s base tick) becomes the unified cadence engine:

Tick Modulo Organ What It Does
Every tick (60s) Session Liveness Check Claude session .jsonl mtime
% 2 (120s) Session Preserve Read succession alerts, write death certs
% 5 (5min) Drift Detector Sample ON-PARR /pulse for free_energy + precognition
% 5 (5min) Soil Check Compare merkle root to previous
% 5 (5min) Crystal Swarm Execute FORTH crystal-swarm + soil-root
% 15 (15min) Nutrient Exchange Gather new atoms, feed to Living Elder
% 15 (15min) Orphan Reconciler Check broadcast receipts, RAM/cache canaries
% 30 (30min) Corpus Reindex Rebuild merkle tree if new .md files
% 360 (6hr) Production Cadence Measure atom creation rate, vibration score
On-demand Selection Gate Before/after ON-PARR fitness evaluation

3. The 11 Organs

3.1 FORGEEVOLUTION Suite

Session Liveness Monitor (60s): Checks if the active Claude session has written to its .jsonl file within 120 seconds. If dead for >300s, writes a succession alert. This is orphan DETECTION, not spawn. A coroner, not a necromancer.

Session Death Certificate (120s): Reads succession alerts. If fresh (<10min), notifies Living Elder and writes a death certificate to the forward arrow.

Drift Detector (5min): Samples ON-PARR's pulse endpoint (Bearer-authenticated). Checks free_energy (<0.5 healthy, >1.0 critical), precognition_confidence (>0.8 healthy, <0.5 critical), laminar_coefficient, loop_state. Fires brake on drift.

Selection Gate (webhook): Accepts a proposed mutation via TCP command. Samples ON-PARR BEFORE, waits 2 seconds, samples AFTER. Computes fitness: fitness = -fe_delta + precog_delta + laminar_delta. Returns PROMOTE (>0), REJECT (<-0.5), or HOLD.

3.2 FORGEMYCELIUM Suite

Corpus Reindex (30min): Scans papers/ and memory/ directories for .md files newer than the last reindex timestamp. If new files found, rebuilds the merkle tree and notifies the corpus daemon.

Nutrient Exchange (15min): Reads recent atoms from atom-surface.jsonl (15-minute window). Collects unique new nouns. Delivers them to Living Elder via /message POST. The underground nutrient transport — the Wood Wide Web of the OS.

Soil Check (5min): Compares the current merkle root hash against the previous. If shifted, alerts Living Elder and triggers reindex. The ground truth monitor.

Synapse Decay (1hr): Ages synapses in the synapse graph. Applies 0.95 decay factor to edges older than 30 days. Marks edges below 0.1 weight as decayed. Prevents stale connections from accumulating.

Orphan Reconciler (15min): Reconciles broadcast receipts from chain fires. Checks for broadcasts that never confirmed to LANDED. Monitors RAM usage per-process (15% growth threshold). Monitors cache/WAL sizes (absolute limits). Reports completions. READ-ONLY + ESCALATE — never auto-orphans, never auto-kills.

3.3 Support Organs

Production Cadence (6hr): Measures atom creation rate, new papers count, delivery health, ON-PARR state. Computes production vibration score: V = (atoms_6h * 0.1) + (papers_24h * 5.0) + (10.0 if delivery_ok) - abs(free_energy).

Crystal Swarm (5min): Executes FORTH words crystal-swarm and soil-root through the embedded FORTH engine. The heartbeat of the stack machine — the crystal checking its own health compositionally.


4. FORTH Interface

12 new Rust primitives added to the FORTH engine:

Word Stack Effect What It Does
session-alive? ( -- bool ) Session liveness check
orphan-detect ( -- n ) Seconds since last session activity
drift? ( -- bool ) ON-PARR drift indicator
drift-brake ( bool -- ) Fire brake on drift
fitness ( -- n ) ON-PARR precognition x1000
corpus-fresh? ( -- bool ) New files since last reindex?
reindex! ( -- n ) Trigger merkle rebuild, push file count
nutrient-exchange ( -- n ) Count new atoms available
soil-shifted? ( -- bool ) Merkle root changed?
synapse-decay ( -- n ) Age synapses, push consonance x1000
orphan-wake ( -- n ) Count unreconciled receipts
production-pulse ( -- n ) Atom rate x100

Composite word: crystal-swarm = soil-shifted? drift? or corpus-fresh? or session-alive? and

Total dictionary after build: 242+ words.


5. Security Model


6. What This Does NOT Claim


7. Provenance


8. Binary Metrics

Metric Before After (Projected)
Source files 11 16 (+secrets.rs)
Lines of Rust 2,248 ~3,500
Binary size 4.6 MB ~5.2 MB
FORTH words 229 242+
Nouns 201 201+
Organs 0 11
Dependencies 10 12 (+notify, +sysinfo)
Cadence ticks 1 (60s reflexion) 10 (unified cadence engine)

The crystal grows its own nervous system. One binary. Solid state. NODEZEROINSIDE.