Files
aevolution/docs/adr/0179-cellular-gameplay-revamp.md
T
dingoandClaude Opus 5.5 f454e038a1
Foundation / checks (client) (push) Successful in 5s
Foundation / checks (checks) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 4s
Foundation / checks (network) (push) Successful in 4s
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 21s
Foundation / server-image (push) Successful in 4m12s
Foundation / image (push) Successful in 4m52s
feat(lifecycle): rules 13 multicellular organisms and Emerge
Adhesion turns a cell into a two-member organism: one life with a member
count, one genome and one reserve, developed as its genome with the target
size times its members. The single cell ends as an empty merged corpse.
An organism expresses accepted mutations as a whole, paid from its reserve;
its buds add internal members (wildlife stops one short of the threshold);
the extra members' mass loads its thrust. At the emergence threshold the
Emerge intent exports the body and reserve through the boundary ledger and
ends the life as emerged.

Records the maintainer's 2026-10-23 decisions in ADR-0179 and the project
vision (whole-organism mutations; the playtest form of Emerge).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 06:50:19 -04:00

77 lines
4.1 KiB
Markdown

# ADR-0179: Cellular gameplay revamp
## Status and scope
Accepted product direction, 2026-10-22, from the maintainer's decisions in chat.
Implementation pending; see the [build plan](../../Cellular_Revamp_Build_Plan.md).
New rules (13) only: historical rules, checkpoints, tests and running worlds keep their
meanings. Every number is a trial value in the Git tuning file. DEV-only; no World0
operation.
## Context
Playtests of rules 11-12 showed that reproduction had no purpose for the player and
that mutations were uniform draws over 32 generic operators unrelated to play. The
maintainer reviewed the cellular drafts (movement, feeding, energy and photosynthesis,
defense, the 150-entry mutation catalog) and settled each gameplay system in turn.
## Decision
The system plans are the decision. In summary:
- **Mutations** ([plan](../../Cellular_mutation_plan.md)): a named catalog of 49 with a
pro and a con each. Per-cell affinity scores, raised and lowered by behaviour
triggers, inherited and never drifting, set each mutation's chance of appearing in
an offer between a 0.001% floor and a 70% cap. Three distinct options per offer by a
seeded draw that honors those chances. Per-mutation tunable cost, reclaimed by the
region as random bubbles.
- **Reproduction** ([plan](../../Cellular_reproduction_plan.md)): on-demand buds with a
stay-or-become choice; accepting a mutation splits the cell, both halves carry the
mutation in their heritable plan, only the offspring expresses it, and the player
chooses which cell to continue as. Litter gives up to 10 offspring per bud. Adhesion
forms a multicellular organism (one genome, one reserve) whose goal is emergence.
- **Feeding and energy** ([plan](../../Cellular_feeding_energy_plan.md)): per-channel
collection rates; reserve matter stands in for energy at a worse rate; burned matter
goes to a region spent pool that drips back as bubbles; reserve matter counts toward
mass for movement.
- **Predation and defense** ([plan](../../Cellular_predation_defense_plan.md)): instant
engulfment for everyone, with engulf capacity and membrane points; a kill's remainder
is split between bubbles and the spent pool. Armor and live capture are postponed.
- **Body and maintenance** ([plan](../../Cellular_body_maintenance_plan.md)): size,
density, a heritable body recipe, upkeep efficiency above an essential floor, growth
speed and bud share.
- **Postponed:** temperature, sensing, multicellular mutations, damage, draft groups
071-150.
## Conflicts with locked requirements (resolved 2026-10-23)
The project vision is the product authority. The maintainer settled both conflicts:
1. **Whole-organism mutations: accepted.** The vision's structural-inheritance rule now
applies to single cells. A multicellular organism, one body grown from many cells,
expresses an accepted mutation as a whole, funded from its shared reserve
([PROJECT_VISION.md](../PROJECT_VISION.md) amended).
2. **Emergence before the 3D world: accepted.** Emerge records the organism's matter as
an export from the region and ends the cellular life with an "emerged" outcome; the
player then starts a fresh life. This lets the full cellular loop be played several
times before work on the 3D space.
## Alternatives
- Keep the generic operator catalog and add weights (ADR-0135's rules-7 proposal):
rejected; operators carried no pro or con and no behaviour link.
- Burning matter into energy through bound chemical potential (feeding draft):
rejected as a new hidden resource; matter instead stands in for energy, so no energy
is created.
- Colonies of separate cells (ADR-0135 rules 8-9): replaced by one organism with one
genome and one reserve.
## Consequences
- Benefits: reproduction drives evolution; mutations follow play; more variation
between lives; a defined path toward emergence.
- Costs: genome schema 7 with many new fields, a new owner format, session protocol
and client screens; 49 triggers' counters per cell.
- Risks: matter-as-energy may make starvation rare; the energy-kept rule cuts founder
income to 40% unless bubble energy is retuned; one deploy at the end of the build.