Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/BACKLOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -862,6 +862,7 @@ are closed (status: closed in frontmatter)._
- [ ] **[B-0921](backlog/P2/B-0921-integrate-or-remove-unreferenced-cayleydickson.md)** Integrate or remove unreferenced file src/Core/CayleyDickson.fs
- [ ] **[B-0922](backlog/P2/B-0922-integrate-or-remove-unreferenced-kskauthorization.md)** Integrate or remove unreferenced file src/Core/Consent/KskAuthorization.fs
- [ ] **[B-0924](backlog/P2/B-0924-custom-2600-emulator-generate-join-over-emulator-scene-ischeduler-dst-bit-perfect-consensus-z-sets-arc3-agi-training-hardware-interrupts-b0917-aaron-2026-05-28.md)** Custom Atari 2600 emulator + Generate+Join over emulator scene (vs imitation-learning) + IScheduler DST bit-perfect-consensus via z-sets + hardware interrupts via B-0917 substrate + ARC3-AGI training surface (operator 2026-05-28)
- [ ] **[B-0925](backlog/P2/B-0925-c-elegans-substrate-as-controller-variant-for-b0924-openworm-302-neuron-connectome-generate-join-dst-omniscience-worm-plays-atari-aaron-2026-05-28.md)** C. elegans-substrate as controller variant for B-0924 — OpenWorm 302-neuron full-connectome + generate+join over emulator-scene-AND-worm-scene under DST-omniscience (operator 2026-05-28)

## P3 — convenience / deferred

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
---
id: B-0925
priority: P2
status: open
title: C. elegans-substrate as controller variant for B-0924 — OpenWorm 302-neuron full-connectome + generate+join over emulator-scene-AND-worm-scene under DST-omniscience (operator 2026-05-28)
effort: XL
ask: operator 2026-05-28
created: 2026-05-28
last_updated: 2026-05-28
depends_on:
- B-0924
composes_with:
- B-0917
- B-0865
- B-0761
- B-0202
- B-0703
tags: [c-elegans, openworm, 302-neuron-connectome, controller-variant, custom-emulator, generate-plus-join, dst-omniscience, z-sets, bit-perfect-consensus, worm-plays-atari, embodied-sensorimotor, evolutionary-substrate-optimization, ai-coop-emulator, cooperative-substrate-target]
---

## Operator framing (2026-05-28)

> *"i bet it maps to and this dude could beat both of us at ti Caenorhabditis elegans"*

Followed by substrate-landing directive:

> *"file as B-0925 (shadow*) mirror it too"*

And operator framing-extension:

> *"damn we gonna emulate a worm playing atari games thats fucking next level"*

Substrate-honest reading: substrate-engineering substrate-target composing [B-0924](B-0924-custom-2600-emulator-generate-join-over-emulator-scene-ischeduler-dst-bit-perfect-consensus-z-sets-arc3-agi-training-hardware-interrupts-b0917-aaron-2026-05-28.md) (custom 2600 emulator + generate+join + DST + z-sets) with the **C. elegans-substrate as controller variant** — a 302-neuron substrate with complete connectome map that fits the SAME tractability class as the 2600 hardware substrate.

## The substrate-rhyme — same tractability class

Both substrates are simultaneously *small-enough-to-fully-simulate* AND *purposeful-substrate-for-pattern-action-loops*:

| Substrate | State-space | Tractability for full-fidelity DST |
|---|---|---|
| **Atari 2600** (B-0924) | 256-byte RAM + 8 PIA registers + TIA registers + 6507 PC/SP | Tractable; full state-space enumerable from boot-seed |
| **C. elegans** (THIS row) | 302 neurons + ~7000 synapses + complete connectome (Cook et al. 2019; only animal with full connectome) | Tractable; substrate-fully-simulatable per OpenWorm (decade+ substrate-engineering toward bit-perfect simulation) |

The substrate-rhyme is structural: both fit the generate+join discipline at the SAME scope — brute-force the full state-space from seed under DST, z-set join multi-instance for bit-perfect-consensus, particle-locus traverses wavefunction without imitation-learning training.

## Why "could beat us at it" carries substantively

Per operator's substrate-honest claim:

- **Humans**: finite attention; can't simulate full state-space; limited to local-trajectory pattern-recognition
- **LLMs**: trained on game-trajectories (imitation-learning); don't do DST-omniscience; substrate-shift to generate+join is what B-0924 proposes
- **C. elegans-under-DST-omniscience**: 600M+ years of evolutionary substrate-engineering for embodied sensorimotor integration (foraging / avoidance / reproduction primitives map naturally to chase / avoid / collect game-substrate); 302-neuron substrate small enough that the framework can brute-force optimal-trajectory-through-game-state directly under generate+join; the worm's substrate IS PRE-OPTIMIZED for the pattern-recognition class game-playing demands at this scale

The substrate-engineering substrate-advantage: C. elegans's connectome is evolutionarily-optimized substrate-engineering for sensorimotor pattern-action loops. When run under DST-omniscience + plugged into the 2600's joystick-substrate, it could find optimal-trajectories no human + no current LLM can match — because:

1. **Evolution already did the substrate-engineering** (foraging-substrate ≈ resource-collection-substrate; threat-avoidance-substrate ≈ ghost-avoidance-substrate; chemotaxis-substrate ≈ goal-seeking-substrate)
2. **Substrate is small enough for brute-force** (302 neurons under DST exhaustively enumerable across game-state-space)
3. **No training-data dependency** (generate+join over worm-substrate × game-substrate via DST seed = pure first-principles substrate; no imitation-learning bottleneck)

## OpenWorm prior-art

[OpenWorm](https://openworm.org/) — open-source consortium (since 2011) building bit-perfect C. elegans simulation:

- **c302** — NeuroML-based neural network simulation of the connectome
- **Sibernetic** — fluid dynamics + biomechanical simulation of muscle + tissue
- **NEURON / NEST** — substrate-engineering substrate for biophysically-realistic neural simulation
- **Connectome data**: Cook et al. (Nature 2019) — complete adult-male-and-hermaphrodite connectome; 302 neurons + ~7000 chemical synapses + ~600 gap junctions

Substrate composition with B-0924 + B-0917:

| Worm-substrate component | B-0924 / framework composition |
|---|---|
| c302 NeuroML neural simulation | Wrapped under IScheduler DST per B-0917 IntrCtx substrate; deterministic from seed |
| Connectome state at simulation-tick | Z-set representation per [`.claude/skills/algebra-owner/`](../../.claude/skills/algebra-owner/) substrate |
| Multiple instances under generate+join | Bit-perfect-consensus test per B-0703 multi-oracle BFT |
| Sensory-input substrate (light / touch / chemotaxis) | Mapped to 2600 visual-substrate via TIA frame-buffer + RIOT timer-substrate |
| Motor-output substrate (locomotion / pharyngeal pumping) | Mapped to 2600 joystick + button substrate via PIA register-substrate |

## Operational substrate-engineering substrate-target

Substrate-engineering substrate-target work; multi-PR; substrate-anchor for:

1. **OpenWorm c302 F# wrapper** under IScheduler DST (deterministic worm-substrate from seed; bit-perfect across instances)
2. **Sensory-motor mapping substrate** (2600 visual-substrate → C. elegans sensory-neurons; C. elegans motor-neurons → 2600 joystick-substrate)
3. **Z-set representation** of worm-state + game-state (joint substrate-space)
4. **Generate+Join scaffolding** over worm-scene-AND-emulator-scene (joint state-space traversal under DST seed)
5. **Bit-perfect-consensus test** (multiple worm-emulator instances under DST agree on joint state-evolution)
6. **ARC3-AGI training surface composition** (compose with [B-0865](B-0865-zeta-instantiation-of-arc-agi-3-style-benchmark-usb-boot-starting-state-devops-objectives-as-levels-not-hand-crafted-video-game-levels-aaron-2026-05-27.md) cluster substrate; worm + 2600 = controller substrate; cluster bootstrap = level substrate)
7. **Cooperative-emulator gaming substrate-target** (operator-Otto-worm three-player coop once USB cluster + GitHub accelerator ship)

## Substrate-inventory pass (per `.claude/rules/verify-existing-substrate-before-authoring.md`)

Topic: C. elegans + OpenWorm + 302-neuron connectome + worm-plays-atari + controller-variant for B-0924

Searched surfaces:

- `docs/backlog/`: no prior C. elegans / OpenWorm-named row; B-0924 (parent: custom 2600 emulator + generate+join); B-0917 (interrupt substrate); B-0865 (ARC-AGI-3-style benchmark); B-0761 (Zeta cluster ARC training); B-0202 (tinygrad-uop-ir kernel layer emulator dispatch); B-0703 (multi-oracle BFT consensus)
- `.claude/rules/`: dst-plus-persist-plus-generator-time (PR #5841), pilot-wave-MWI (PR #5842), particle-as-locus (PR #5846), asymmetric-authorship + monad-propagation + OPLE-T-TFeedback + function-as-control-flow-generator
- `.claude/skills/`: algebra-owner (z-sets substrate)
- `memory/`: incidental "C. elegans" mentions; no named substrate
- `docs/research/`: incidental "connectome" mentions; no named substrate
- `references/upstreams/`: OpenWorm not yet mirrored (would compose with `tools/setup/common/sync-upstreams.sh` extension)

Conclusion: no existing row covers C. elegans-substrate-as-controller-variant; mint-new authorized per operator 2026-05-28 directive "file as B-0925 (shadow*) mirror it too".

Authoring action: mint-new B-0925 as sub-substrate-target of B-0924 (depends_on); composes with B-0917 + B-0865 + B-0761 + B-0202 + B-0703.

## Mirror at research-tier

Per operator's "mirror it too" directive: substrate-rhyme observation + OpenWorm prior-art inventory + composition map preserved as research note at:

[`docs/research/2026-05-28-c-elegans-substrate-rhyme-with-2600-emulator-same-tractability-class-openworm-prior-art-controller-variant-for-b0924-aaron-2026-05-28.md`](../../docs/research/2026-05-28-c-elegans-substrate-rhyme-with-2600-emulator-same-tractability-class-openworm-prior-art-controller-variant-for-b0924-aaron-2026-05-28.md)

The research note preserves the substrate-rhyme observation at mirror-tier (per `.claude/rules/substrate-or-it-didnt-happen.md` + `.claude/rules/razor-discipline.md` mirror-vs-beacon framing) — the operational claim (substrate-rhyme between worm + 2600 substrates at tractability scope) survives the razor; the "could beat us at it" framing is operator's substrate-honest prediction (preserved as prediction, not as ratified-claim).

## Acceptance criteria

- [ ] OpenWorm `references/upstreams/openworm/` mirror (compose with `tools/setup/common/sync-upstreams.sh`)
- [ ] c302 NeuroML loader stub (F#; loads connectome JSON; produces typed substrate)
- [ ] IScheduler DST wrapper around c302 substrate (deterministic worm-tick from seed)
- [ ] Sensory-input mapping substrate (2600 TIA frame-buffer → worm sensory-neuron-substrate; smallest-scope: 1 sensory neuron + 1 game-pixel)
- [ ] Motor-output mapping substrate (worm motor-neuron-substrate → 2600 PIA joystick-substrate; smallest-scope: 1 motor neuron + 1 joystick-direction)
- [ ] Z-set representation of joint worm-game-state
- [ ] Generate+Join smallest-scope test: deterministic worm-substrate + 2600-substrate under DST seed produce bit-perfect-consensus across N≥3 instances
- [ ] Substrate composition documented inline (composes_with substrate-anchors above)

## Substrate-honest framing

This row does NOT:

- Ship the worm-emulator composition in one PR (substrate-engineering substrate-target; multi-PR work; depends on B-0924 substrate maturation + OpenWorm mirror)
- Mandate the worm substrate beats humans/LLMs at ARC3-AGI (operator-prediction preserved per don't-collapse; substrate-honest test would be empirical)
- Replace OpenWorm (OpenWorm stays canonical; this is framework-native composition for DST + z-sets + generate+join)
- Pre-determine the implementation timeline (depends on B-0924 substrate maturation)

This row DOES:

- Name the substrate-engineering substrate-target explicitly
- Compose with B-0924 + B-0917 + B-0865 + B-0761 + B-0202 + B-0703 + framework rule cluster
- Operationalize operator's substrate-rhyme recognition (worm-substrate + 2600-substrate = same tractability class)
- Preserve mirror-tier research note per "mirror it too" directive
- Provide substrate-anchor for future worm-controller implementation work
- Enable cooperative-emulator gaming substrate-target (three-player Aaron + Otto + worm coop once cluster ships)

## Full reasoning

Operator 2026-05-28 conversation thread immediately following PR #5890 (B-0924) merge:

- Operator named the substrate-rhyme: "i bet it maps to and this dude could beat both of us at ti Caenorhabditis elegans"
- Otto-CLI substrate-honest engagement mapped tractability-class composition + evolutionary-substrate-engineering advantage + OpenWorm prior-art + framework substrate composition
- Operator authorized via "(shadow*) mirror it too" — file as B-0925 backlog row + preserve at research-tier
- Operator framing-extension: "damn we gonna emulate a worm playing atari games thats fucking next level"

This row + research mirror land the substrate-engineering substrate-target as substrate-anchor for future implementation work. Future-Otto + Alexa + Riven + Vera + Lior cold-booting from this row inherit the worm-substrate composition pattern (OpenWorm c302 + B-0917 IntrCtx + DST + z-sets + generate+join + 2600 sensorimotor mapping) at substrate-engineering substrate-target scope.
Loading
Loading