Files
aevolution/schemas/cellular-lives-v10.md
T
dingoandClaude Opus 5.5 d2f603b582
Foundation / checks (checks) (push) Successful in 5s
Foundation / checks (client) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 4s
Foundation / checks (network) (push) Successful in 4s
Foundation / checks (postgres) (push) Successful in 4s
Foundation / checks (tsan) (push) Successful in 5s
Foundation / checks (deploy) (push) Successful in 4m25s
Foundation / postgres-tools (push) Successful in 1m12s
Foundation / server-image (push) Successful in 4m20s
Foundation / image (push) Successful in 4m54s
feat: durable liquid regions (bundle 14, schema 58), cellular-v9 and session v13
ADR-0178. Bundle 14 (rules 12 on owner format 10) is admitted by schema 58
through parser-local normalization to bundle 13, with an exact fenced 13 -> 14
upgrade whose only input, the liquid rules, recovery reads from the target.
Schema 58 also widens the canonical action input: byte 13 bit 0 is brake.

evo-world-clone gains the cellular-v9 opening: cellular-v8 followed by the liquid
upgrade from --tuning FILE (region size must match) and an optional
--current-seed; resumable and idempotent at bundle 14.

Session v13 adds the owner's velocity, heading and the region's current
configuration to its perception, each deposit's world velocity, and a brake on
cellular actions; older sessions keep their layouts. A rules-12 server lists every
pool and the nearest 256 moving bubbles. The client speaks v13, brakes on Space
(rebindable; older controls files take the default), draws currents as drifting
streaks and carries bubbles along their velocities between perceptions.

Tests: protocol v13 round trips and refusals, action-input brake, controls files,
and a PostgreSQL cellular-v9 provisioning test whose player is born, swims and
brakes through the live host. Full local PostgreSQL qualification, the Linux debug
suite and the Windows client suite pass. Refreshes the DEV session window.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 18:08:59 -04:00

1.7 KiB

Cellular owner format 10: liquid region

Authority: ADR-0178. Format 10 is exactly rules 12. It is format 9 with magic AEVCLV10, an 88-byte liquid block after the light block, 20 more bytes per life and a format-3 habitat; every other record, length rule and validation is format 9's.

Offset Bytes Field
356 8 Current seed
364 4 each Current width, height (the owner's area), grid pitch, minimum and maximum count, minimum and maximum route width (um), minimum and maximum speed (um/s)
400 4 each Founder handling per 50 ms tick: thrust (Q10 um/s), reverse thrust (Q10 um/s), forward drag (ppm), lateral drag (ppm), turn (heading units, at most 32,768)
420 4 each Deposit motion: drift radius (um), maximum drift (Q10 um/s), drift decay (ppm per tick), merged cap (at most 65,535), bubble radius (um)
440 4 Reserved zero
444 8 each Sorted spawn sites, then lives, corpses and the rest as in format 9

Each life record appends its motion state after the offspring genome: velocity relative to the liquid x and y (signed Q10 um/s, within +/- 1 m/s), heading (u16, 65,536 per turn), reserved u16 zero, and the sub-micrometre carry x and y (u32, below 1,024,000,000).

The habitat is format 3: format 2 deposits with induced drift, carry and a merged count (see evo/biology/cellular_habitat.hpp). Restore regenerates the current field from the block and refuses one that does not generate. Currents and the field are conditions, not stock: closure is format 9's.

Format 10 arises only from the explicit no-tick format-9/rules-11 liquid upgrade, which converts the habitat to format 3 (every deposit one merged bubble) and starts lives at rest.