Add reproduction safety trial and resizable cellular panels
This commit is contained in:
@@ -146,3 +146,13 @@ headings and action buttons stay outside those bodies. Thus temporary text and
|
||||
scrollbar thresholds cannot resize/reposition the outer panels. This reuses the
|
||||
pinned toolkit and existing pointer-capture boundary; biological authority,
|
||||
protocols, dependencies and headless APIs are unchanged.
|
||||
|
||||
## Amendment (2026-10-26): cellular card edge resizing
|
||||
|
||||
The maintainer requested draggable panel edges. Field notes, Vitals and Nearby
|
||||
now use native toolkit edge/corner resizing within bounded minimum/viewport sizes.
|
||||
Client-owned expanded dimensions are stored in unscaled UI units for the session;
|
||||
collapse retains them, viewport changes clamp them and the heading's double-click
|
||||
resets both placement and size. Live text cannot change the chosen dimensions.
|
||||
The adapter owns the toolkit's border hit margin from the first pointer event,
|
||||
including presses just outside a panel. No simulation, wire or dependency changes.
|
||||
|
||||
@@ -0,0 +1,75 @@
|
||||
# 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.
|
||||
@@ -1,5 +1,7 @@
|
||||
# Architecture decision records
|
||||
|
||||
- [ADR-0181: Reproduction safety revision 1](0181-cellular-reproduction-safety.md) - opt-in controlled-cell mutation share, retained budding provision, outward mutation launch and a protected growth fuel buffer; historical declarations unchanged.
|
||||
|
||||
- [ADR-0180: DEV starting wildlife](0180-dev-starting-wildlife.md) - opt-in, nursery-funded random-genome roots for disposable playtest openings, exact recovery and no restart replenishment; a scoped exception to player-origin biology.
|
||||
|
||||
- [ADR-0179: Cellular gameplay revamp](0179-cellular-gameplay-revamp.md) - maintainer-accepted direction for rules 13: a 49-mutation catalog with behaviour-weighted offers, mutation splits and stay-or-become reproduction, multicellular organisms and emergence, matter as energy with a region spent pool, per-channel collection, membrane points and heritable body traits; two locked-requirement questions open; implementation pending.
|
||||
|
||||
Reference in New Issue
Block a user