Files
aevolution/schemas/network/session-v13-cellular-liquid.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.3 KiB

Session v13: liquid motion

Authority: ADR-0178. v13 is v12 with liquid motion; every other message and rule is v12's. Older versions keep their exact layouts.

Perception. The v12 prefix is followed by a 56-byte liquid block:

Bytes Field
4 Owner velocity relative to the liquid, x (signed Q10 um/s)
4 Owner velocity, y
2 Owner heading (65,536 per turn)
1 Flags: bit 0 currents present; other bits zero
1 Reserved zero
8 Current seed
4 each Width, height, pitch, minimum and maximum count, minimum and maximum route width, minimum and maximum speed

Without an owner life the flag and every field are zero. With the flag clear the current fields are zero. A client regenerates the identical field from the configuration with biology::CellularFlowField. Each deposit entry appends its world velocity (current plus induced drift) as two signed 16-bit um/s values, zero for pools: 30 bytes per entry. A rules-12 server lists every pool and only the nearest 256 moving bubbles.

Cellular action. Byte 37 (reserved through v12) is a flags byte: bit 0 brake. A brake opposes the cell's velocity relative to the liquid instead of following the movement; the canonical 24-byte action input stores it as byte 13 bit 0 (schema 58).