Files
aevolution/schemas/network/session-v14-cellular-revamp.md
T
dingoandClaude Opus 5.5 e2da92768c
Foundation / checks (client) (push) Successful in 5s
Foundation / checks (checks) (push) Successful in 5s
Foundation / checks (network) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 5s
Foundation / checks (postgres) (push) Successful in 5s
Foundation / checks (tsan) (push) Successful in 5s
Foundation / checks (deploy) (push) Successful in 4m32s
Foundation / postgres-tools (push) Successful in 28s
Foundation / server-image (push) Successful in 4m21s
Foundation / image (push) Successful in 5m1s
feat(cellular): show growth and gate splits; DEV splits at half growth
Playtest: after one mutation every later choice came back "split refused"
because a split needs a grown cell, and the client gave no reason. The v14
body block now carries the body's growth per thousand (the reserved bytes)
and a split-ready flag; the client disables Stay / Become until the cell can
split ("Grow to split (now 62%)") and shows growth in the Body panel.
Adhesion and organism choices do not split and stay open.

The DEV revamp tuning splits once half grown (split_min_growth 500, was full
growth); it takes effect in the next region opened.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 08:28:57 -04:00

40 lines
2.3 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; bit 1 a mutation choice can split the cell now (single cell, grown to the region's split threshold); other bits zero |
| 2 | Growth per thousand of full size (0-1,000) |
| 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.