T-013: Control: signals, muscles and neurons
Goal
How a body senses, decides and acts with no central brain. See docs/DESIGN.md section 8.
Scope
- Signal channels: a few values per cell that spread along bonds and fade.
- Muscle cells: a built-in rhythm (rate and phase from genes) that channel values speed up, slow down or gate. Output drives the muscle interface from T-009.
- Neuron cells: read channels, combine them with gene weights, write a result. Optional memory. Each costs energy per step.
- A generic way for any cell type to be switched by channels, for mouths, stingers, glow and gonads later.
- A stand-in sensor (for example light level or touch) so behavior can be tested before the real senses in T-025.
- Decide: number of channels, spread speed, and how gene weights are encoded so that mutation changes behavior gradually and not catastrophically.
Done when
- ☐ A hand-written genome for a chain of muscle cells produces a travelling wave and the body swims, with no scripted input.
- ☐ A body turns toward or away from light using only sensor cells, channels and muscles.
- ☐ Cost per cell measured and logged.