Files
aevolution/deploy/kubernetes/region/dev/tuning/cellular.tuning
T
dingoandClaude Opus 5.5 af32af36ee
Foundation / checks (checks) (push) Successful in 5s
Foundation / checks (client) (push) Successful in 5s
Foundation / checks (network) (push) Successful in 5s
Foundation / checks (postgres) (push) Successful in 4s
Foundation / checks (tsan) (push) Successful in 4s
Foundation / checks (ecs) (push) Successful in 1m6s
Foundation / checks (deploy) (push) Successful in 5m41s
Foundation / postgres-tools (push) Successful in 1m33s
Foundation / image (push) Successful in 4m42s
Foundation / server-image (push) Successful in 4m55s
feat(cellular): random founder spawns, tunable thrust cost, commit timing
Playtest feedback on region 10.

Rules-12 founders now start at a seeded random spot anywhere in the region (1 mm
clear of the edges, clear of other cells; seeded by world, region and the life's
identity so replay is exact). The provisioned sites remain the fallback.

Thrust energy is tunable: founder.thrust_cost_per_mille scales the metabolic
full-speed movement cost for thrust and braking (trial 250, a quarter of today's
cost). It is part of the liquid rules declared when a region opens, persisted in
the format-10 block's reserved slot (zero stands for the original 1,000), so
existing regions keep their meaning.

The server logs every cellular commit slower than 50 ms (and one in 60) with its
tick count and duration, to find what stalls the loop once a second.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 06:40:12 -04:00

62 lines
3.0 KiB
Plaintext

# Cellular trial tuning (Cellular_Region_Movement_Plan.md, tuning file).
# Every value here is a trial value for playtesting, not a locked rule. Edit, commit,
# push and run a full Argo sync; the region refuses an invalid file at startup.
# Format: `key = value`, integers only, `_` may separate digits. Every key is required.
# Region shape (width, height, currents) applies when a region opens; the rest applies
# when the region restarts and is recorded from that tick.
tuning.version = 1
# Region shape and capacity.
region.width_um = 60_000
region.height_um = 60_000
region.organism_cap = 2_000 # births are refused at the cap
region.deposit_limit = 8_192 # food bubbles and pools
region.perception_radius_um = 5_000
# Founder handling. Top speed = thrust / drag rate: about 190 um/s here.
founder.thrust_um_per_s2 = 400
founder.reverse_thrust_um_per_s2 = 400 # braking and reversing
founder.drag_ppm_per_tick = 95_163 # k = 2 /s: 0.5 s time constant
founder.lateral_drag_ppm_per_tick = 95_163
founder.turn_heading_per_s = 65_536 # 65,536 = one full turn per second
founder.thrust_cost_per_mille = 250 # thrust energy: a quarter of the full-speed metabolic cost
# Currents: 0.3x-1.5x founder speed, so the strongest cannot be swum against.
currents.min_count = 2
currents.max_count = 4
currents.min_width_um = 3_000
currents.max_width_um = 6_000
currents.min_speed_um_per_s = 60
currents.max_speed_um_per_s = 300
currents.grid_pitch_um = 250
# Moving food.
food.merged_bubble_cap_multiple = 8 # merged bubbles stop growing at 8x a scattered bubble
food.visible_moving_bubbles = 256 # per update, nearest first
food.induced_drift_radius_um = 200 # passing cells push bubbles within this distance
food.induced_drift_max_um_per_s = 100
food.induced_drift_decay_ppm_per_tick = 95_163
# Thermal map and biology, in millikelvin (273_150 = 0 C).
thermal.ambient_min_mk = 278_150 # 5 C
thermal.ambient_max_mk = 313_150 # 40 C
founder.preferred_mk = 293_150 # 20 C
founder.comfort_band_mk = 5_000 # +/- 5 C without extra cost
founder.body_tau_ms = 20_000 # body temperature lag
founder.lethal_cold_mk = 273_150 # body at or below 0 C dies
founder.lethal_heat_mk = 318_150 # body at or above 45 C dies
thermal.off_preference_per_mille_per_k = 80 # 0.08 per degree beyond the comfort band
thermal.transition_per_mille_per_k = 40 # 0.04 per degree of body-ambient difference
thermal.multiplier_cap_per_mille = 8_000 # survival cost at most 8x
# Lifecycle.
lifecycle.logout_delay_ms = 10_000 # vulnerable delay before the protected anchor
# Mutation offers.
mutation.step_points = 5 # +/- reference points per tuning selection
mutation.paired_points = 2 # paired change on the competing axis
mutation.recovery_floor_per_mille = 100 # weight floor for recovering a below-base trait
mutation.offer_interval_ms = 25_000 # of productive active play
mutation.offer_options = 3