Files
aevolution/docs/adr/0179-cellular-gameplay-revamp.md
T
dingoandClaude Opus 5.5 0a5cf3e6bd
Foundation / checks (checks) (push) Successful in 5s
Foundation / checks (client) (push) Successful in 5s
Foundation / checks (network) (push) Successful in 4s
Foundation / checks (ecs) (push) Successful in 4s
Foundation / checks (postgres) (push) Successful in 5s
Foundation / checks (tsan) (push) Successful in 5s
Foundation / checks (deploy) (push) Successful in 4m34s
Foundation / postgres-tools (push) Successful in 5s
Foundation / server-image (push) Successful in 5s
Foundation / image (push) Successful in 5s
docs: cellular revamp build plan and ADR-0179
ADR-0179 records the maintainer's cellular gameplay revamp (rules 13) and the
two locked-requirement questions it raises: whole-organism mutations versus
"structural changes are expressed in offspring", and what Emerge does before
the 3D world exists. The build plan stages the work in six phases (genome and
body, feeding and predation, mutation offers, reproduction, multicellular and
emergence, wildlife and the playtest), each pushed with CI green and deployed
once at the end. Refreshes the DEV session window.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 17:59:35 -04:00

4.4 KiB

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. 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): 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): 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): 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): 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): 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

The project vision is the product authority. Two decisions need the maintainer's explicit confirmation before the affected code (build plan phase 5) is written:

  1. Whole-organism mutations. The vision locks "structural mutations are expressed in offspring rather than rebuilding the parent's existing body". The reproduction plan has a multicellular organism express an accepted mutation directly. Proposed resolution: amend the vision so that the rule applies to single cells, and a multicellular organism, being one body grown from many cells, re-expresses its plan as a whole. Alternative: an organism's mutation is expressed only by members added after it.
  2. Emergence before the 3D world. ADR-0177's emergence needs the 3D world, which does not exist. Proposed for the playtest: 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.

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.