Add reproduction safety trial and resizable cellular panels

This commit is contained in:
dingo
2026-10-27 09:13:28 -04:00
parent 7ca5f74f03
commit 5416590f9e
26 changed files with 805 additions and 52 deletions
@@ -12,7 +12,7 @@ spec:
env:
- {name: REGION_SESSION, value: "dev"}
- {name: REGION_SESSION_LISTEN, value: "0.0.0.0:7400"}
- {name: REGION_SESSION_WINDOW, value: "dev-20261026T212818-5dcfde8e:1793064498"}
- {name: REGION_SESSION_WINDOW, value: "dev-20261027T131324-ed040353:1793121204"}
- {name: REGION_M10_MAX_GRANT_LIFETIME, value: "14400"}
ports:
# QUIC (ADR-0090): UDP only; nothing listens on TCP 7400.
@@ -0,0 +1,88 @@
# Reproduction safety trial (ADR-0181): NOT mounted by the active DEV overlay.
# For a fresh opening with a build supporting safety revision 1, pass this file
# as --revamp-tuning. Promote the server image before adopting it as mounted tuning.
# Cellular revamp trial values (rules 13, ADR-0179; Cellular_Revamp_Build_Plan.md).
# Same format as cellular.tuning: `key = value`, integers only, `_` may separate digits,
# core keys required exactly once; playtest.* and mutation overrides are optional.
# Use for new-region provisioning with the new image; existing regions retain recorded rules.
tuning.version = 1
# DEV opening fixture only (ADR-0180). Zero disables seeding; never replenished on restart.
# Requires an audited --playtest-wildlife-first-id range below --life-allocator-start.
playtest.starting_wildlife_cells = 100
# Body (body and maintenance plan).
body.essential_upkeep_per_mille = 250 # share of upkeep no upkeep-efficiency trait reduces
body.reserve_load_per_mille = 1_000 # reserve matter carried as load (slower, costlier thrust)
body.growth_per_tick_centi_mille = 625 # 6.25 per mille per tick; 25% faster for playtesting
# Energy (feeding and energy plan): what 1,000 fg of reserve matter stands in for when the
# reserve's energy runs out. Bubbles carry ~17 pJ of energy per fg of matter, so 2 pJ per fg
# makes burning matter the expensive way to stay alive (a founder burns a carbon bubble in
# about 80 s of upkeep).
energy.burn_carbon_pj_per_kfg = 2_000
energy.burn_nitrogen_pj_per_kfg = 2_000
energy.burn_phosphorus_pj_per_kfg = 2_000
energy.burn_other_pj_per_kfg = 2_000
# Feeding: collection lost per membrane point above the founder's 100 (5 points: -1%).
feeding.membrane_collection_per_mille_per_point = 2
# Every collection limit, per cent of the body's own (optional; 100 when absent).
feeding.collection_percent = 130
# Matter from one source split evenly between the nutrients it holds (optional; 0 when
# absent): a carbon-only bubble gives the whole matter limit to carbon, carbon and
# phosphorus half each, all four a quarter each.
feeding.split_evenly = 1
# Predation (predation and defense plan).
predation.engulf_ratio_milli = 1_500 # a predator needs 1.5x the prey's engulf mass
predation.engulf_reserve_percent = 100 # share of reserve matter in engulf mass
predation.kill_bubble_per_mille = 500 # a kill's remainder left as bubbles; the rest is spent
# The spent pool drips back as bubbles at random spots.
spent.drip_interval_ticks = 20 # once a second
spent.drip_bubble_pj = 20_000_000 # largest energy bubble per drip
spent.drip_bubble_fg = 1_000_000 # largest matter bubble per drip and channel
# Mutation offers (mutation plan section 3). Chances in parts per million.
mutation.options = 3
mutation.floor_ppm = 10 # 0.001%: anomalies always happen
mutation.cap_ppm = 700_000 # 70%
mutation.score_min = -1_000
mutation.score_max = 1_000
mutation.max_multiplier_per_mille = 10_000 # weight x10 at the top score
mutation.min_multiplier_per_mille = 0 # weight x0 at the bottom (the floor still applies)
mutation.offer_interval_ticks = 500 # an offer every 25 s of active play
mutation.min_points = 25 # trait bounds in reference points (founder 100)
mutation.max_points = 1_000
mutation.recipe_min_share = 20 # per thousand of the body per channel
mutation.max_offspring = 10 # per bud, so litter at most 900
mutation.carbon_for_light_fg = 20_000_000 # carbon burned before photosynthesis is offered
mutation.buds_for_adhesion = 5 # on-demand buds before Adhesion is offered
# Reproduction (reproduction plan).
reproduction.split_share_per_mille = 800 # safety revision 1: controlled cell's share
reproduction.split_min_growth_per_mille = 500 # a cell splits once half grown
reproduction.safety_version = 1 # opt-in; historical snapshots retain revision 0
reproduction.split_launch_um_per_s = 800 # outward launch, ordinary drag/braking afterward
body.growth_reserve_seconds = 60 # growth preserves fuel for the resulting body
reproduction.bud_fee_e_pj = 250_000 # extra fee above the offspring's tissue and provision
reproduction.bud_fee_c_fg = 100_000
reproduction.bud_fee_n_fg = 30_000
reproduction.bud_fee_p_fg = 10_000
reproduction.bud_fee_o_fg = 60_000
reproduction.bud_fee_scale_percent = 50 # 0 disables the fee; 100 charges the listed amounts
reproduction.organism_cap = 256 # births refused at this many lives (an organism counts once)
# Multicellular organisms (reproduction plan section 6).
organism.load_per_mille = 500 # share of the extra members' mass loading one cell's thrust
organism.emerge_members = 8 # Emerge needs at least this many cells,
organism.emerge_mass_fg = 100_000_000 # this much body and reserve mass,
organism.emerge_reserve_pj = 0 # and this much reserve energy
# Per-mutation overrides are optional: `mutation.<key>.<field> = value`, with fields enabled,
# base_weight, increase_points, decrease_points, primary_step, paired_step, spread_step,
# increase_ticks, decrease_ticks, cost_e_pj, cost_c_fg, cost_n_fg, cost_p_fg, cost_o_fg and
# cost_scale_percent. Unset fields keep the catalog's defaults (costs 0). For example:
# mutation.strong_propulsion.cost_e_pj = 1_000_000
# mutation.strong_propulsion.cost_scale_percent = 50