Files
aevolution/deploy/kubernetes/region/dev/tuning/cellular-revamp.tuning
T
dingoandClaude Opus 5.5 cc2eaf2e05
Foundation / checks (postgres) (push) Successful in 5s
Foundation / checks (tsan) (push) Successful in 5s
Foundation / checks (deploy) (push) Successful in 4m42s
Foundation / checks (checks) (push) Successful in 6s
Foundation / checks (client) (push) Successful in 5s
Foundation / postgres-tools (push) Successful in 31s
Foundation / checks (ecs) (push) Successful in 4s
Foundation / server-image (push) Successful in 4m45s
Foundation / checks (network) (push) Successful in 4s
Foundation / image (push) Successful in 5m31s
feat(cellular): energy cycles back through the spent pool (ADR-0182 section 14)
Energy cells used went to the region's heat store and never returned, so a
region without photosynthesizers drained: region 16's wildlife ate its energy
and starved, and its matter-only drip filled the deposit limit.

Two optional rules-13 tuning keys, adoptable live: spent.heat_recycle_per_mille
moves that share of the heat store to the spent pool at the end of every tick,
before the drip (1,000 closes the loop and returns heat built up before), and
spent.drip_absorb lets a drip at the deposit limit join the first existing bubble
at or after its spot. Both use the reserved word after the offer interval, so
rules without them keep their bytes, digests, checkpoints and replays. The DEV
revamp file turns both on. The region view reports heat and the cycle; the
portal counts heat in the region's energy and ledger.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 10:18:24 -04:00

88 lines
5.1 KiB
Plaintext

# 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.
# Mounted for new-region provisioning; an existing region retains its 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
# Energy cycle (ADR-0182 section 14; optional, 0 when absent): the share of the region's heat
# (energy its cells used) returned to the spent pool every tick before the drip, and whether a
# drip at the deposit limit (8,192) joins an existing bubble instead of waiting.
spent.heat_recycle_per_mille = 1_000 # all of it: energy cycles back like matter
spent.drip_absorb = 1
# 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 = 500 # the offspring's share of a mutation split
reproduction.split_min_growth_per_mille = 500 # a cell splits once half grown
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