Files
aevolution/schemas/network/session-v14-cellular-revamp.md
T
dingoandClaude Opus 5.5 4bc5d5eee7
Foundation / checks (checks) (push) Successful in 5s
Foundation / checks (client) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 4s
Foundation / checks (postgres) (push) Successful in 5s
Foundation / checks (network) (push) Successful in 5s
Foundation / checks (tsan) (push) Successful in 5s
Foundation / checks (deploy) (push) Successful in 4m29s
Foundation / postgres-tools (push) Successful in 24s
Foundation / server-image (push) Successful in 4m33s
Foundation / image (push) Successful in 4m59s
feat(cellular): session v14, bundle 15 and rules-13 wildlife
Session v14 carries the rules-13 revamp: a body block in the owner's view
(members, emergence threshold, exclusions, Emerge open, payable energy,
mass and the 20 traits), become, emerge and channel exclusions on actions,
become on mutation choices, catalog offers (id, chance, cost) and the
emerged ending. Older sessions never see a v14 field. The client shows
Stay / Become offspring offers named from the shared catalog, continuing
as a bud, the organism and its Emerge button, kept channels, the body and
the emerged end screen.

Bundle 15 (rules 13 on owner format 11) is durable: schema 60 admits it
raw-only, stores become as bit 15 of the choice's operator, widens the
action input and mutation results, and publishes the 14 -> 15 revamp
profile migration. evo-world-clone opens cellular-v10 (cellular-v9 plus the
revamp upgrade from --revamp-tuning), resumable and recoverable.

Wildlife counts reserve matter as energy, waits for the bud fee, grows
organisms one short of emerging, and hunts by the region step's rules-13
engulf test. The play summary adds organisms, offers and the spent pool.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 07:31:32 -04:00

40 lines
2.2 KiB
Markdown

# Session v14: the cellular revamp
Authority: [ADR-0179](../../docs/adr/0179-cellular-gameplay-revamp.md). v14 is
[v13](session-v13-cellular-liquid.md) with the rules-13 revamp; every other message and rule is
v13's. Older versions keep their exact layouts and never see a v14 field.
**Perception.** The v13 prefix is followed by a 64-byte body block:
| Bytes | Field |
|---:|---|
| 2 | Members: cells in the organism (1 for a single cell; at least 1 with a life) |
| 2 | Emergence threshold in members (0 below rules 13) |
| 1 | Matter channels kept from burning this tick (bits 0-3: C, N, P, other) |
| 1 | Flags: bit 0 Emerge is open; other bits zero |
| 2 | Reserved zero |
| 8 | Payable energy (pJ): the reserve's energy plus what its burnable matter stands in for |
| 8 | Total mass (fg): body and reserve matter |
| 2 each | The 20 heritable body traits in `biology::CellularTraits` order: density, upkeep efficiency, growth speed, collection (E, C, N, P, O), burn (C, N, P, O), engulf capacity, kill absorption, litter, recipe (C, N, P, O), adhesion |
Without an owner life every field is zero.
**Cellular action.** Byte 37 (the v13 flags) adds bit 1 become (only with a bud: the player
continues as the bud) and bit 2 emerge (only with no target). Byte 38 is the exclusion mask
(0-15). The canonical 24-byte action input stores them as byte 13 bits 1-2 and byte 14
(schema 60).
**Mutation choice.** Byte 58 is become (0 or 1): continue as the offspring the choice splits
off. A decline never becomes. The durable reservation input stores it as bit 15 of the
operator field (schema 60).
**Mutation offer.** A rules-13 region offers named catalog mutations in the v10 candidate
layout: the operator field is the catalog id, the parameter its chance of appearing in parts
per million, capability, effect, maintenance and mass zero, and the cost its tuned cost. The
client names it, and shows its pro and con, from the shared catalog
(`biology::cellular_mutation`). Catalog offers go only to v14 sessions and operator offers only
to v10-v13 sessions.
**Life ended.** Cause 3 is emerged: the organism left the region for the world, and this
cellular life is complete. Earlier versions read it as unrecorded.