diff --git a/deploy/kubernetes/grant-broker-dev/deployment.yaml b/deploy/kubernetes/grant-broker-dev/deployment.yaml index 00143dd..f2c7bcb 100644 --- a/deploy/kubernetes/grant-broker-dev/deployment.yaml +++ b/deploy/kubernetes/grant-broker-dev/deployment.yaml @@ -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: "9"} + - {name: BROKER_DEFAULT_REGION, value: "10"} # Space-separated REGION=HOST:PORT=TLS_NAME, every region a grant may name. - - {name: BROKER_ROUTES, value: "9=void.aeternalisgames.com:7400=void.aeternalisgames.com"} + - {name: BROKER_ROUTES, value: "10=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"} diff --git a/deploy/kubernetes/region/dev-session-route/listener.yaml b/deploy/kubernetes/region/dev-session-route/listener.yaml index 85d85be..3b15f8a 100644 --- a/deploy/kubernetes/region/dev-session-route/listener.yaml +++ b/deploy/kubernetes/region/dev-session-route/listener.yaml @@ -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-20261021T220859-3894c212:1792634939"} + - {name: REGION_SESSION_WINDOW, value: "dev-20261021T224013-3b10d1cd:1792636813"} - {name: REGION_M10_MAX_GRANT_LIFETIME, value: "14400"} ports: # QUIC (ADR-0090): UDP only; nothing listens on TCP 7400. diff --git a/deploy/kubernetes/region/dev/kustomization.yaml b/deploy/kubernetes/region/dev/kustomization.yaml index 5502039..413e049 100644 --- a/deploy/kubernetes/region/dev/kustomization.yaml +++ b/deploy/kubernetes/region/dev/kustomization.yaml @@ -1,4 +1,4 @@ -# Region host for evolution-dev: world 100, region 9, frame 9 (cellular-v8 opening, ADR-0176). +# Region host for evolution-dev: world 100, region 10, frame 9 (cellular-v9 opening, rules 12). # 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 @@ -13,6 +13,12 @@ components: images: - name: aevolution-server newName: registry.aeternalisgames.com/aeternalis/aevolution-server - digest: sha256:67e6bb3d138e7d489850ac99b5915ef8659178a68140b963e282b24020a288e2 + digest: sha256:f178f7f44251fdc9ae9ccaaecc5ea6f10aa534caa25d506abc3fbde21c69db17 patches: - path: region-values.yaml +# The Git tuning file (rules 12) for the provision Job's liquid upgrade; a change gets a new +# generated name, so the Job always reads the committed file. +configMapGenerator: + - name: cellular-tuning + files: + - tuning/cellular.tuning diff --git a/deploy/kubernetes/region/dev/region-values.yaml b/deploy/kubernetes/region/dev/region-values.yaml index db55dc4..891dd5c 100644 --- a/deploy/kubernetes/region/dev/region-values.yaml +++ b/deploy/kubernetes/region/dev/region-values.yaml @@ -1,8 +1,9 @@ # Region identity and build (the server image digest without "sha256:"). -# 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. +# Liquid playtests (rules 12, ADR-0177): region 10 holds a cellular-v9 opening, a 60 x 60 mm +# cellular-v7 genesis taken durably to rules 11 with light (trial 40 pJ per square um per +# tick) and then to rules 12 with the currents, handling and moving food of the Git tuning +# file (tuning/cellular.tuning). Regions 1-9 stay in the stores untouched; they are simply +# not served while dev runs region 10. apiVersion: apps/v1 kind: Deployment metadata: @@ -14,13 +15,13 @@ spec: - name: evo-server env: - {name: REGION_WORLD, value: "100"} - - {name: REGION_ID, value: "9"} - - {name: REGION_BUILD, value: 67e6bb3d138e7d489850ac99b5915ef8659178a68140b963e282b24020a288e2} + - {name: REGION_ID, value: "10"} + - {name: REGION_BUILD, value: f178f7f44251fdc9ae9ccaaecc5ea6f10aa534caa25d506abc3fbde21c69db17} - {name: REGION_PROFILE, value: cellular} # The whole world's catalog: dev world 100 has only this region. - - {name: REGION_LIFE_ROUTES, value: "9=void.aeternalisgames.com:7400=void.aeternalisgames.com"} + - {name: REGION_LIFE_ROUTES, value: "10=void.aeternalisgames.com:7400=void.aeternalisgames.com"} # Keep the currently promoted build plus prior committed builds recoverable. - - {name: REGION_RETAINED, value: "f1183f4476bac87c09504a574112df4663931f67e88cc38dc08f867ce98ff726 815153514ca4a53967932bb46456ff4cb4e1784f9db247bc3b613b7e8365c59f 21507d4369cebef83ee05152daea5ac2f581ea86a9dc85276ef54e3f9f6388c5 5a77cf9e96e7a0e40ea07e9394a3fa458184ce54f8f774a8fb59cbec1db75c54 e17c62bc8dbad089da57e8b30adc391ff8b947cc7182b3160f5e2709103ded78 6c96629eb3c26513d55207b109fe2a9873a58f43510bd067b7d5422572e3fb42 7952185d5ef96504b5793b76fe72e42cbe9c9ac19149bf912adb2c3a735f8dbf f378a43d6146eeed864110b90848df0bec9672fa4c9941a2d04de249068a4a09 ecac8f9f2489c547ce58f12ed01baaa3939c8adbf8aed05c313abbf422cdc855 4af7209941643e0c6a100e2b4e2fef8a959b87fdbfac2173b7867cfc1808bd66 edb39f956df1f481d7ba724cac4ceb3a4fe494efc02f994d31d6c96dfae04a78 0ded41070dd3e0c0daa43e13dadc58c449865eec00530cfceff3c1579c66e916 754446fe4e5f33e9c0d5a1a74a02444a01de1700673442c90827c708aba62cee c597c0bac8b4a796e1e8b70344f9866cb047cc90cfb15af774d38860594ea27a e83c333a87056c678b5e835947647ef42370b43dbfc31997744f28d993f9c4aa db2b0e6a6071502381a768d70fd9bab8c08c64e4717fc23da45dbe8adc5fa3d6 cdc10712ff8bf956f8f5900709500046493523b51dc670d5b2d01eaf604bcd38 028571f257b485acafbe79b704a80f273d899485c4bb264d9c8137bf51e33217 566c29329433934f1436faf94652a7b925df8b4587ab04470322172f47c31c02 1dd640eba3e9dbdd10106698215a0a06df89c5cdf801c53c4c26fb923116552a faeb26fc5db5c4aae9ae9eb4388e807ab4d59499d7639fcab3d878843a740037 5e13e0096eb4010253c270ab98f0e9bbc11571c221eb779d428333e8cd63c955 e891f9427d5ec81b32595d70be9d00bb66c6d8223b4747d12be8c388c2fc0c8e 58aab8aaa538c0c6e5ad7281fd27e50374b489942aa317296dbf9c2ec5ca3434 4a8b0a9dc9f6be491e9eacb464aa7ef7c0d449de3018c4172c01448ce39a5108 3e5b8cef06838821113c8bba064e9415e8c627bca552fb978f830d40027b80f2"} + - {name: REGION_RETAINED, value: "f1183f4476bac87c09504a574112df4663931f67e88cc38dc08f867ce98ff726 815153514ca4a53967932bb46456ff4cb4e1784f9db247bc3b613b7e8365c59f 21507d4369cebef83ee05152daea5ac2f581ea86a9dc85276ef54e3f9f6388c5 5a77cf9e96e7a0e40ea07e9394a3fa458184ce54f8f774a8fb59cbec1db75c54 e17c62bc8dbad089da57e8b30adc391ff8b947cc7182b3160f5e2709103ded78 6c96629eb3c26513d55207b109fe2a9873a58f43510bd067b7d5422572e3fb42 7952185d5ef96504b5793b76fe72e42cbe9c9ac19149bf912adb2c3a735f8dbf f378a43d6146eeed864110b90848df0bec9672fa4c9941a2d04de249068a4a09 ecac8f9f2489c547ce58f12ed01baaa3939c8adbf8aed05c313abbf422cdc855 4af7209941643e0c6a100e2b4e2fef8a959b87fdbfac2173b7867cfc1808bd66 edb39f956df1f481d7ba724cac4ceb3a4fe494efc02f994d31d6c96dfae04a78 0ded41070dd3e0c0daa43e13dadc58c449865eec00530cfceff3c1579c66e916 754446fe4e5f33e9c0d5a1a74a02444a01de1700673442c90827c708aba62cee c597c0bac8b4a796e1e8b70344f9866cb047cc90cfb15af774d38860594ea27a e83c333a87056c678b5e835947647ef42370b43dbfc31997744f28d993f9c4aa db2b0e6a6071502381a768d70fd9bab8c08c64e4717fc23da45dbe8adc5fa3d6 cdc10712ff8bf956f8f5900709500046493523b51dc670d5b2d01eaf604bcd38 028571f257b485acafbe79b704a80f273d899485c4bb264d9c8137bf51e33217 566c29329433934f1436faf94652a7b925df8b4587ab04470322172f47c31c02 1dd640eba3e9dbdd10106698215a0a06df89c5cdf801c53c4c26fb923116552a faeb26fc5db5c4aae9ae9eb4388e807ab4d59499d7639fcab3d878843a740037 5e13e0096eb4010253c270ab98f0e9bbc11571c221eb779d428333e8cd63c955 e891f9427d5ec81b32595d70be9d00bb66c6d8223b4747d12be8c388c2fc0c8e 58aab8aaa538c0c6e5ad7281fd27e50374b489942aa317296dbf9c2ec5ca3434 4a8b0a9dc9f6be491e9eacb464aa7ef7c0d449de3018c4172c01448ce39a5108 3e5b8cef06838821113c8bba064e9415e8c627bca552fb978f830d40027b80f2 67e6bb3d138e7d489850ac99b5915ef8659178a68140b963e282b24020a288e2"} --- apiVersion: batch/v1 kind: Job @@ -33,35 +34,42 @@ spec: - name: provision env: - {name: REGION_WORLD, value: "100"} - - {name: REGION_ID, value: "9"} - - {name: REGION_BUILD, value: 67e6bb3d138e7d489850ac99b5915ef8659178a68140b963e282b24020a288e2} - # 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. + - {name: REGION_ID, value: "10"} + - {name: REGION_BUILD, value: f178f7f44251fdc9ae9ccaaecc5ea6f10aa534caa25d506abc3fbde21c69db17} + # Region 10 (rules 12): cellular-v9, 60 x 60 mm at 20 C, taken through one empty tick, + # the durable upgrades to rules 11 with light and the liquid upgrade from the mounted + # tuning file (whose region size must match). 9 pools (500 um radius; a pool feeds at + # a quarter rate) and 3,600 single-nutrient bubbles scattered from the genesis commit + # (720 per channel: 7e7 pJ energy, 4.2e6 fg C, 9.4e5 N, 4.9e5 P, 2e6 other each); the + # format-2 genesis holds at most 4,096 deposits. The current seed comes from the + # commit. The nursery funds 64 primitive founders at 9 spawn sites, 3 mm from pools. # 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-v8} + - {name: REGION_OPENING, value: cellular-v9} - name: REGION_OPENING_ARGS value: >- - --frame 9 --source-id 1 --commit 6a6cdbfca8e3fc777110ed677de9dc2a --light-pj 40 + --frame 9 --source-id 1 --commit 7a1d2c0e9b8f4a63c5d1e2f3a4b5c6d7 --light-pj 40 + --tuning /etc/evo/tuning/cellular.tuning --life-allocator-start 1000000000000 - --width-um 30000 --height-um 30000 --ambient-temperature-mk 293150 + --width-um 60000 --height-um 60000 --ambient-temperature-mk 293150 --funding-energy-pj 528588800 --funding-carbon-fg 385024000 --funding-nitrogen-fg 86016000 --funding-phosphorus-fg 44032000 --funding-other-fg 181248000 - --site 4500,4500 --site 4500,15000 --site 4500,25500 --site 15000,4500 - --site 15000,15000 --site 15000,25500 --site 25500,4500 --site 25500,15000 - --site 25500,25500 - --pool 7500,7500,500,2,2800000000,167000000,38000000,19600000,80000000 - --pool 7500,15000,500,2,2800000000,167000000,38000000,19600000,80000000 - --pool 7500,22500,500,2,2800000000,167000000,38000000,19600000,80000000 - --pool 15000,7500,500,2,2800000000,167000000,38000000,19600000,80000000 + --site 12000,12000 --site 12000,27000 --site 12000,42000 --site 27000,12000 --site 27000,27000 --site 27000,42000 --site 42000,12000 --site 42000,27000 --site 42000,42000 --pool 15000,15000,500,2,2800000000,167000000,38000000,19600000,80000000 - --pool 15000,22500,500,2,2800000000,167000000,38000000,19600000,80000000 - --pool 22500,7500,500,2,2800000000,167000000,38000000,19600000,80000000 - --pool 22500,15000,500,2,2800000000,167000000,38000000,19600000,80000000 - --pool 22500,22500,500,2,2800000000,167000000,38000000,19600000,80000000 - --motes 1800,2,70000000,4200000,940000,490000,2000000 + --pool 15000,30000,500,2,2800000000,167000000,38000000,19600000,80000000 + --pool 15000,45000,500,2,2800000000,167000000,38000000,19600000,80000000 + --pool 30000,15000,500,2,2800000000,167000000,38000000,19600000,80000000 + --pool 30000,30000,500,2,2800000000,167000000,38000000,19600000,80000000 + --pool 30000,45000,500,2,2800000000,167000000,38000000,19600000,80000000 + --pool 45000,15000,500,2,2800000000,167000000,38000000,19600000,80000000 + --pool 45000,30000,500,2,2800000000,167000000,38000000,19600000,80000000 + --pool 45000,45000,500,2,2800000000,167000000,38000000,19600000,80000000 + --motes 3600,2,70000000,4200000,940000,490000,2000000 + volumeMounts: + - {name: tuning, mountPath: /etc/evo/tuning, readOnly: true} + volumes: + - name: tuning + configMap: + name: cellular-tuning + defaultMode: 0444 diff --git a/deploy/kubernetes/stores/dev/kustomization.yaml b/deploy/kubernetes/stores/dev/kustomization.yaml index 4f4e118..034c7d9 100644 --- a/deploy/kubernetes/stores/dev/kustomization.yaml +++ b/deploy/kubernetes/stores/dev/kustomization.yaml @@ -10,12 +10,12 @@ resources: images: - name: aevolution-postgres-tools newName: registry.aeternalisgames.com/aeternalis/aevolution-postgres-tools - # Gitea CI run 471 for 2efb01d (schema v57, rules 11); the server image is from - # run 478 for b154774 (rules-11 session batches, lease-free provision rerun). - digest: sha256:d3b8e520b20e5de939b71350c5f5a16482de49ca6a34088c3128cff1a008e5da + # Gitea CI run 489 for d2f603b (schema v58, rules 12 liquid regions); the server image + # is from the same run. + digest: sha256:acc3e3f9bfc84c99961ca943014bc1030f8c5077e60a0ab0a9bfa00da46e8d63 - name: aevolution-server newName: registry.aeternalisgames.com/aeternalis/aevolution-server - digest: sha256:67e6bb3d138e7d489850ac99b5915ef8659178a68140b963e282b24020a288e2 + digest: sha256:f178f7f44251fdc9ae9ccaaecc5ea6f10aa534caa25d506abc3fbde21c69db17 patches: - target: kind: Job