Cellular rules 8: pools and bubbles fed by contact (ADR-0136 step A)
Foundation / checks (checks) (push) Successful in 47m40s
Foundation / checks (client) (push) Successful in 17m27s
Foundation / checks (deploy) (push) Successful in 4m17s
Foundation / checks (ecs) (push) Successful in 4m31s
Foundation / checks (network) (push) Successful in 22m1s
Foundation / checks (tsan) (push) Successful in 13m10s
Foundation / checks (postgres) (push) Successful in 20m54s
Foundation / image (push) Successful in 4m15s
Foundation / postgres-tools (push) Successful in 5m32s
Foundation / server-image (push) Successful in 7m15s

Square patches invited camping and left the space between them empty. Rules 8 run on a
format-2 habitat of deposits:
- pools and single-nutrient bubbles at free micrometre centres, each with a stable id
  and a contact radius; the cellular-v7 opening scatters bubbles reproducibly from the
  genesis commit (three in ten in loose clumps) and lists pools with --pool;
- every cell drains what it touches, up to its intake rate per tick, with no target; a
  pool gives at most a quarter of that rate; an emptied deposit disappears;
- a dead cell's detritus breaks into one bubble per non-empty channel;
- wildlife swims to the nearest non-empty deposit and feeds by touch.

Bundle v9 (habitat 2) and schema v43 admit it. Session v11 carries the owner's 512
nearest deposits (id, centre, radius, shape, a drained flag and 16-bit amount codes)
instead of patches; every other cellular message is v10's. The client asks for v11,
draws bubbles (nutrient-coloured, pulsing while drained, popping when gone) and pools as
puddles, slows near food and sends no feed target; the HUD summarises food in range.
Earlier rules, regions and v10 clients are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dingo
2026-10-17 00:38:21 -04:00
co-authored by Claude Opus 5.5
parent 1d9af1d28e
commit be69cae652
35 changed files with 1311 additions and 112 deletions
@@ -2,11 +2,29 @@
## Status
Proposed (2026-10-16) by the maintainer after the region 6 playtest. Design for a new
cellular rules version, delivered in three steps (below), each built and playtested on
its own. It is independent of ADR-0135's rules 7–9; rules numbers are assigned when
each step is built. Every number marked **tunable** is a trial value. Nothing here is
implemented yet.
Proposed (2026-10-16) by the maintainer after the region 6 playtest. Design for new
cellular rules versions, delivered in three steps (below), each built and playtested on
its own. Every number marked **tunable** is a trial value.
**Step A is implemented (2026-10-17)** as rules 8 on habitat format 2: bundle v9,
schema v43, session v11, the `cellular-v7` opening, served as DEV region 8. Where step A
differs from the plan below:
- **Boundary account:** not added yet. Step A creates nothing, so totals still equal the
opening; the account arrives with infall (step B).
- **Perception:** amounts travel as 16-bit log codes, 26 bytes per deposit. The view
carries the 512 nearest deposits.
- **Bubble size:** a bubble's contact radius is a fixed 30 µm; clients size its drawing
by its amount.
- **Bubble colour:** each bubble holds one channel, cycling through the channels the
opening stocks.
- **Placement:** three in ten bubbles fall in loose clumps. Positions come from the
genesis commit.
- **Pools:** the opening lists them explicitly with `--pool`.
- **Empty deposits:** removed from the habitat.
- **Intake targets:** ignored by the step, and the v11 client sends none.
Steps B (infall) and C (photosynthesis) are not implemented.
## Context