Files
aevolution/docs/adr/0181-cellular-reproduction-safety.md
T

76 lines
4.6 KiB
Markdown

# ADR-0181: Opt-in cellular reproduction safety revision 1
Accepted scoped DEV experiment, 2026-10-26, from the maintainer's playtest review.
Repeated starvation and predation prevented meaningful reproduction. The maintainer
approved a controlled-cell 80/20 mutation split, retaining the bud fee in the selected
cell, outward separation at mutation birth, and a growth survival buffer. These are
trial rules, not locked balance or permission to modify World0.
## Decision
New rules-13 openings may declare `reproduction.safety_version = 1`. Missing/zero
preserves the historical law, including existing snapshots and golden outputs.
Revision 1 uses `reproduction.split_share_per_mille` as the controlled cell's share
(trial 800), whether the player stays as the parent or becomes the offspring.
Body matter and reserves divide channel by channel after mutation charges; the
offspring alone expresses the mutation. The 50%-growth eligibility gate remains.
Adhesion and whole-organism mutation retain their distinct behavior.
A mutation offspring is placed with a clear outward gap equal to one tick of its
declared launch speed, then receives outward liquid-relative velocity in addition
to inherited parent velocity, bounded by the existing velocity limit. Trial speed:
800 micrometres/second. Placement checks the launch corridor, other cells and region
boundaries, trying the existing eight deterministic directions. Failure leaves the
offer and reproduction resources unchanged; ordinary tick actions still execute.
There is no invulnerability or kinship exception: later predation, drag, currents
and braking apply. Initial separation is an escape opportunity, not a guarantee
against every surrounding predator.
The single-cell bud fee must still be affordable on top of tissue, construction
and the newborn's existing 30-second full-demand provision. On successful budding
the fee returns exactly once to the selected cell's reserve, instead of becoming
environmental bubbles. Staying refunds the surcharge; becoming transfers it to the
newborn. Wildlife has no selected player cell and retains environmental fee
reclamation. Internal-cell organism budding retains its existing fee rule.
Ordinary budding consumes no parent tissue and grants no extra resources.
For every active organism, wildlife included, automatic growth chooses the largest
ordinary funded step leaving at least `body.growth_reserve_seconds` (trial 60) of
the resulting body's full metabolic demand. Energy plus non-excluded burnable
reserve matter count after construction intake and rounding releases. Tissue
cannot count as fuel. This conservative buffer is checked, not paid: below it,
growth waits without debt or free tissue. Existing energy-limited feedback also
covers reserve protection, with no unnegotiated wire field.
## Recorded declaration and compatibility
Owner format 11 retains its byte length and bundle 15/raw trace 4. Three formerly
zero u32 words now hold safety version (after growth rate), growth reserve seconds
(after offer multipliers), and launch speed (after catalog bounds). Version 0
requires both amounts zero. Version 1 requires positive, bounded amounts; unknown
revisions are refused. Zero declarations encode exactly as before. Older readers
reject nonzero reserved words rather than replay incorrect physics. Retain the
writing build for new openings. This follows format 11's recorded collection-rate
and even-splitting extensions: it is an explicit simulation-law revision although
the outer bundle is unchanged. Recovery derives from the recorded declaration.
Git tuning affects future openings only. No live retune, reset, new DEV region,
deployment or image promotion is part of this change.
The prepared `cellular-reproduction-safety.tuning` profile lives beside the active
`cellular-revamp.tuning`, but is deliberately absent from the active ConfigMap.
The current provision image cannot parse these new keys. Test both profiles;
adopt the safety profile only with a qualified new image and a fresh region.
## Alternatives and consequences
Free reserve grants break accounting. Globally cheaper growth changes more of the
economy than protecting a buffer. Sibling immunity invents a hidden predation
exemption; physical separation keeps ordinary rules. Environmental fees leave the
selected newborn without additional provision.
The smaller sibling remains vulnerable later; the larger chosen body still costs
more upkeep. Buffering may delay growth, buds and wildlife turnover. This trial
needs aged-region playtests, not just a living population. Qualification covers
both control choices, channel closure, refusal, launch and immediate engulf attempts,
historical behavior, checkpoint restore and trace replay.