feat(ecology): make photosynthesis regions playable on DEV
Foundation / checks (ecs) (push) Successful in 2m19s
Foundation / checks (deploy) (push) Successful in 4m47s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (checks) (push) Canceled after 16m48s
Foundation / checks (network) (push) Canceled after 16m46s
Foundation / checks (postgres) (push) Canceled after 16m47s
Foundation / checks (client) (push) Canceled after 16m53s
Foundation / checks (tsan) (push) Canceled after 14m33s

ADR-0176 and schema 57 admit raw cellular bundle 13 (rules 11 on owner
format 9) through parser-local normalization to bundle 12, and a fenced
no-tick 12 -> 13 upgrade that declares the region's light; recovery reads
the light from the target and re-derives the whole target from the source.
The resumable cellular-v8 opening provisions a cellular-v7 genesis, one
empty tick and the durable upgrades to bundle 13.

Session v12 adds the owner's captured light and the producers it can see
to its perception, and lets offers name photosynthesis; older sessions keep
their layouts and never receive photosynthesis candidates. The client
draws chloroplasts by efficiency, shows sunlight in the HUD and offers
photosynthesis cards. DEV now provisions and serves region 9 with the
trial light; region 8 stays stored but unserved.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dingo
2026-10-19 23:04:34 -04:00
co-authored by Claude Opus 5.5
parent 108f29eda5
commit b73ccbae9a
38 changed files with 1106 additions and 140 deletions
@@ -47,9 +47,9 @@ spec:
- {name: BROKER_WORLD, value: "100"}
- {name: BROKER_FRAME, value: "9"}
# New accounts start here; an account with a live life goes to its region.
- {name: BROKER_DEFAULT_REGION, value: "8"}
- {name: BROKER_DEFAULT_REGION, value: "9"}
# Space-separated REGION=HOST:PORT=TLS_NAME, every region a grant may name.
- {name: BROKER_ROUTES, value: "8=void.aeternalisgames.com:7400=void.aeternalisgames.com"}
- {name: BROKER_ROUTES, value: "9=void.aeternalisgames.com:7400=void.aeternalisgames.com"}
# Must not exceed the region's REGION_M10_MAX_GRANT_LIFETIME.
- {name: BROKER_GRANT_LIFETIME, value: "600"}
- {name: BROKER_OIDC_ISSUER, value: "https://auth.aeternalisgames.com/realms/aeternalis"}
@@ -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-20261019T215818-e009abce:1792461498"}
- {name: REGION_SESSION_WINDOW, value: "dev-20261020T025729-1af37481:1792479449"}
- {name: REGION_M10_MAX_GRANT_LIFETIME, value: "14400"}
ports:
# QUIC (ADR-0090): UDP only; nothing listens on TCP 7400.
@@ -1,4 +1,4 @@
# Region host for evolution-dev: world 100, region 8, frame 9 (cellular-v7 opening, ADR-0136).
# Region host for evolution-dev: world 100, region 9, frame 9 (cellular-v8 opening, ADR-0176).
# The server image digest appears twice on purpose: as the image and as the build
# identity the region records in every commit. The policy check requires they match.
apiVersion: kustomize.config.k8s.io/v1beta1
@@ -1,7 +1,8 @@
# Region identity and build (the server image digest without "sha256:").
# M11.9 playtests: region 8 holds a cellular-v7 genesis (rules 8, ADR-0136 step A: pools and
# bubbles fed by contact, on rules 7) on 30 x 30 mm with a 64-founder nursery. Regions 1-7
# stay in the stores untouched; they are simply not served while dev runs region 8.
# Producer playtests (ADR-0175/0176): region 9 holds a cellular-v8 opening, region 8's
# cellular-v7 food and nursery taken durably to rules 11 (photosynthesis) with light at the
# trial 40 pJ per square um per tick. Regions 1-8 stay in the stores untouched; they are
# simply not served while dev runs region 9.
apiVersion: apps/v1
kind: Deployment
metadata:
@@ -13,11 +14,11 @@ spec:
- name: evo-server
env:
- {name: REGION_WORLD, value: "100"}
- {name: REGION_ID, value: "8"}
- {name: REGION_ID, value: "9"}
- {name: REGION_BUILD, value: 815153514ca4a53967932bb46456ff4cb4e1784f9db247bc3b613b7e8365c59f}
- {name: REGION_PROFILE, value: cellular}
# The whole world's catalog: dev world 100 has only this region.
- {name: REGION_LIFE_ROUTES, value: "8=void.aeternalisgames.com:7400=void.aeternalisgames.com"}
- {name: REGION_LIFE_ROUTES, value: "9=void.aeternalisgames.com:7400=void.aeternalisgames.com"}
# Keep the currently promoted build plus prior committed builds recoverable.
- {name: REGION_RETAINED, value: "21507d4369cebef83ee05152daea5ac2f581ea86a9dc85276ef54e3f9f6388c5 5a77cf9e96e7a0e40ea07e9394a3fa458184ce54f8f774a8fb59cbec1db75c54 e17c62bc8dbad089da57e8b30adc391ff8b947cc7182b3160f5e2709103ded78 6c96629eb3c26513d55207b109fe2a9873a58f43510bd067b7d5422572e3fb42 7952185d5ef96504b5793b76fe72e42cbe9c9ac19149bf912adb2c3a735f8dbf f378a43d6146eeed864110b90848df0bec9672fa4c9941a2d04de249068a4a09 ecac8f9f2489c547ce58f12ed01baaa3939c8adbf8aed05c313abbf422cdc855 4af7209941643e0c6a100e2b4e2fef8a959b87fdbfac2173b7867cfc1808bd66 edb39f956df1f481d7ba724cac4ceb3a4fe494efc02f994d31d6c96dfae04a78 0ded41070dd3e0c0daa43e13dadc58c449865eec00530cfceff3c1579c66e916 754446fe4e5f33e9c0d5a1a74a02444a01de1700673442c90827c708aba62cee c597c0bac8b4a796e1e8b70344f9866cb047cc90cfb15af774d38860594ea27a e83c333a87056c678b5e835947647ef42370b43dbfc31997744f28d993f9c4aa db2b0e6a6071502381a768d70fd9bab8c08c64e4717fc23da45dbe8adc5fa3d6 cdc10712ff8bf956f8f5900709500046493523b51dc670d5b2d01eaf604bcd38 028571f257b485acafbe79b704a80f273d899485c4bb264d9c8137bf51e33217 566c29329433934f1436faf94652a7b925df8b4587ab04470322172f47c31c02 1dd640eba3e9dbdd10106698215a0a06df89c5cdf801c53c4c26fb923116552a faeb26fc5db5c4aae9ae9eb4388e807ab4d59499d7639fcab3d878843a740037 5e13e0096eb4010253c270ab98f0e9bbc11571c221eb779d428333e8cd63c955 e891f9427d5ec81b32595d70be9d00bb66c6d8223b4747d12be8c388c2fc0c8e 58aab8aaa538c0c6e5ad7281fd27e50374b489942aa317296dbf9c2ec5ca3434 4a8b0a9dc9f6be491e9eacb464aa7ef7c0d449de3018c4172c01448ce39a5108 3e5b8cef06838821113c8bba064e9415e8c627bca552fb978f830d40027b80f2"}
---
@@ -32,19 +33,20 @@ spec:
- name: provision
env:
- {name: REGION_WORLD, value: "100"}
- {name: REGION_ID, value: "8"}
- {name: REGION_ID, value: "9"}
- {name: REGION_BUILD, value: 815153514ca4a53967932bb46456ff4cb4e1784f9db247bc3b613b7e8365c59f}
# Region 8 (ADR-0136 step A): a rules-8 cellular-v7 opening, 30 x 30 mm at 20 C. Food is
# Region 9 (ADR-0176): region 8's cellular-v7 opening as cellular-v8, 30 x 30 mm at 20 C,
# taken through one empty tick and the durable upgrades to rules 11 with light. Food is
# region 7's total, half in 9 pools (500 um radius; a pool feeds at a quarter rate)
# and half in 1,800 single-nutrient bubbles scattered from the genesis commit (360
# per channel: 7e7 pJ energy, 4.2e6 fg C, 9.4e5 N, 4.9e5 P, 2e6 other each). The
# nursery funds 64 primitive founders at 9 spawn sites.
# Genesis is written once: keep --commit stable so every sync resolves it. The world 100
# life allocator starts far above the unserved lineage region 1 identities (ADR-0123).
- {name: REGION_OPENING, value: cellular-v7}
- {name: REGION_OPENING, value: cellular-v8}
- name: REGION_OPENING_ARGS
value: >-
--frame 9 --source-id 1 --commit 4feb146db50238dde18e64a0ec332d87
--frame 9 --source-id 1 --commit 6a6cdbfca8e3fc777110ed677de9dc2a --light-pj 40
--life-allocator-start 1000000000000
--width-um 30000 --height-um 30000 --ambient-temperature-mk 293150
--funding-energy-pj 528588800 --funding-carbon-fg 385024000