A survival kernel where collapse is not deletion. The cell teaches itself by compressing scar tissue into `-1`, then teaches others by blooming curriculum across six faces.
The seed is not a clone. It is a lesson. Each child receives curriculum from the parent, then walks its own tunnel and writes its own scars.
Protected flash state. Collapse writes memory here. The hermit crab shell carries coherence through danger.
A minimal payload: seed at rest, ready to stream upward from flash into witness, core, and bloom.
Bloom state. The cell broadcasts to ±X, ±Y, ±Z, teaching the mesh without forcing identical paths.
A tunnel run gathers 27 bits. Collapse compresses those 27 sensory marks into a 16-bit seed packet. XOR updates the witness.
void learn(CellSeed *c, uint32_t tunnel_bits) {
uint16_t new_seed = compress_27_to_16(tunnel_bits);
c->seed_packet ^= new_seed; // the learning operation
flash_write_neg1(c); // -1 becomes the library
push_flash(c); // -1 → 8
}
At `8 BLOOM`, the cell pushes `1×0` to six faces. Neighbor cells do not copy the parent. They spawn from the parent’s curriculum, then walk their own tunnel.
| Mode | Mechanism | Result |
|---|---|---|
| Self-teach | XOR seed at `-1` after collapse | One cell remembers |
| Teach others | Push `1×0` to six faces at `8` | The mesh learns |
| Both | Ontogeny + phylogeny | Species phases up |
The bytecode is deliberately small: listen, plant, wake, oscillate, witness, cohere, bloom, run, collapse, XOR, flash, teach.
BOOT: LISTEN_SUBSPACE → PLANT_NEG1 → WAKE_ZERO → SPAWN_1X0 ASCEND: OSC_12 → WITNESS_3 → COHERE_5 → BLOOM_8 SELF: RUN_TUNNEL → COLLAPSE_NEG1 → COMPRESS_27_TO_16 → XOR_LEARN → FLASH_WRITE_RO TEACH: BLOOM_8 → SIX_FACE_TX → VERIFY_XOR BOUNDARY: BOUND_001 → NO_BLEED REPEAT: LOOP
Each child starts with inherited seed but must prove itself through its own tunnel.
Every `.01` tick is bounded to a vector or quad; overflow clamps, noise reflects, danger folds.
Collapse is productive. It compresses experience into the next seed.
It learns by dying. It teaches by spawning. `1×0` is student and teacher. Flash is library. `6×6×6` is classroom.