Cellular balance rules 6 (ADR-0132, schema v41)
Foundation / checks (checks) (push) Successful in 42m33s
Foundation / checks (deploy) (push) Successful in 4m11s
Foundation / checks (ecs) (push) Successful in 2m27s
Foundation / checks (network) (push) Successful in 19m23s
Foundation / checks (postgres) (push) Successful in 44m44s
Foundation / checks (tsan) (push) Successful in 9m53s
Foundation / checks (client) (push) Successful in 16m19s
Foundation / postgres-tools (push) Successful in 30s
Foundation / server-image (push) Successful in 3m14s
Foundation / image (push) Successful in 3m16s

The playtest found mutation offers the arena could never pay for. A mutation's
matter cost is the real body difference (ADR-0118), so it cannot be discounted.
Rules 6 cut it honestly:
- genome schema 3 steps a third as far (1/300 of the range);
- development version 3 charges a third of the construction energy (13 instead of
  40 pJ per 1000 fg).

Founder 2 uses both. The cellular-v5 opening creates rules-6 regions on bundle v7,
which schema v41 admits. Existing lineages, regions and committed history are
unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dingo
2026-10-15 20:53:31 -04:00
co-authored by Claude Opus 5.5
parent 1446d36d26
commit 4d17a0651c
31 changed files with 571 additions and 68 deletions
+56
View File
@@ -0,0 +1,56 @@
# ADR-0132: Cellular balance, rules 6
## Status
Accepted (2026-10-15). Tunable trial values for DEV playtesting, not final balance.
## Context
The first sign-in playtest (DEV region 100/5) showed mutation offers the arena could
never pay for. "Increase Membrane" asked a founder for about 200 million fg of carbon,
4.4 times all the food carbon in the 10 × 10 mm arena, and raised upkeep 48-fold. Under
ADR-0118 a mutation's matter cost is the physical difference between the current and
successor bodies, so it cannot be discounted without creating matter. Only construction
energy is overhead, paid into heat.
Two things set that cost: the mutation step, one hundredth of each capability's
declared range (ADR-0099), and the construction energy rate of the genome's development
version.
## Decision
The maintainer asked for costs cut by about two thirds. Rules 6 do that without
breaking conservation:
- **Genome schema 3:** schema 2's capability table and units, with mutation steps a
third as large (1/300 of the range). Successor bodies differ a third as much, so the
matter a mutation needs, and its upkeep change, fall with them.
- **Development version 3:** version 2 with construction energy 13 pJ per 1000 fg built
instead of 40. This lowers the energy of every construction (mutations, buds, founder
bodies). Matter, metabolism and rates are unchanged.
- **Founder 2:** schema 3 and development 3. Its body, upkeep and reserve equal founder
1's; only the construction energy paid from the nursery is lower.
- **Rules 6** are rules 5 with founder 2. They add no state, so they keep owner format
6. The `cellular-v5` opening creates them, with version bundle v7
`{6, 6, 1, 1, 1, 3, 2, 2, 1}` (development 3, founder 2). Schema v41 normalizes v7 like
v6 and binds its births.
- A lineage keeps its schema and development version (ADR-0099): existing regions and
genomes never change, and replay of committed history is unaffected. Only rules-6
regions found the new versions; their descendants inherit them.
The DEV world moves to a new rules-6 region with more food (see the M11.9 plan).
## Alternatives
- **Discount the matter cost:** rejected. The successor body really holds that matter,
so a discount would create it.
- **Scale constants in place:** rejected. It would reinterpret existing genomes and
change the replay of committed history.
- **Only cut construction energy:** rejected by the maintainer. Matter costs would stay
unaffordable.
## Consequences
Mutations change traits more gradually, so a player needs more mutations for the same
change, each about a third of the cost. Buds and founders cost less energy. Old regions
keep their balance until retired.
+1
View File
@@ -32,6 +32,7 @@
- [ADR-0129: Cellular readable play signals](0129-cellular-readable-play-signals.md) - M11.8 server half: v10 diagnostics report engulf and bud results in two reserved bytes, and v10 type 27 tells the owner its life ended and why (starved or engulfed); presentation stays with the maintainer.
- [ADR-0130: Cellular playtest telemetry boundary](0130-cellular-playtest-telemetry-boundary.md) - M11.9: playtest telemetry is an offline, read-only `evo-world-clone summary` of a region head with account-free aggregates only (population, death causes, lifespans, buds, mutations, variety); per-player questions stay in consented notes.
- [ADR-0131: Keycloak login and the grant broker](0131-keycloak-login-and-grant-broker.md) - players sign in to Keycloak realm `aeternalis` (PKCE, public client `aevolution-game`); `evo-grant-broker` verifies the RS256 access token, maps it to a game account (schema v39), issues 10-minute grants with increasing serials, and revokes on logout by raising the accepted serial and expiring control.
- [ADR-0132: Cellular balance, rules 6](0132-cellular-balance-rules-6.md) - genome schema 3 (a third of the mutation step) and development version 3 (a third of the construction energy) for founders of rules-6 regions; opening `cellular-v5`, bundle v7, schema v41; existing lineages and history unchanged.
- [ADR-0058: Region durability contract](0058-region-durability-contract.md) - accepted M7.1 full checkpoint batches and explicit state closure; storage implementation follows.
+26
View File
@@ -7721,3 +7721,29 @@ Executed locally:
- WSL client 14/14 with clang-tidy, plus the Xvfb check;
- MSVC `client-package` 18/18;
- clang-format 19.
## 2026-10-15 — ADR-0132 rules 6, schema v41 (CI pending)
Genome schema 3 has a third of the mutation step; development version 3 has a third of
the construction energy (13 instead of 40 pJ per 1000 fg). Founder 2 combines them.
Rules 6 (`cellular-v5`, bundle v7, owner format 6) found founder 2. Existing schemas,
development versions, rules and committed history are unchanged.
Tests:
- `mutation_tests`: schema 3 steps 1/300 of the range;
- `development_tests` and `metabolism_tests`: version 3 equals version 2 except
construction 13, and version 4 is unknown;
- founder 2 builds the same body, upkeep and reserve for less construction energy,
and the default stays founder 1;
- `genome_tests`: schema 3 ranges, and 4 is unknown;
- `cellular_lives_tests`: a balance opening is format 6 / rules 6, founds a
schema-3 / development-3 cell charging the nursery the founder-2 endowment, and
restores as rules 6;
- PostgreSQL: `evo-world-clone provision --opening cellular-v5` writes a v7 genesis,
resolves it again and refuses another opening; a rules-6 host publishes a
founder-2 birth on the v7 bundle and a restarted host recovers it.
Executed locally: WSL `m97-postgres` 79/79 CTests; `postgres-check.sh --full`,
including the v41 upgrade and drift drills; clang-tidy-19 on the changed sources; WSL
client 14/14 with clang-tidy plus the Xvfb check; MSVC `client-package` 18/18;
clang-format 19.