feat(biology): evolve photosynthetic producers that capture light
Foundation / checks (ecs) (push) Successful in 2m25s
Foundation / checks (deploy) (push) Successful in 5m15s
Foundation / checks (network) (push) Successful in 21m56s
Foundation / checks (client) (push) Successful in 22m54s
Foundation / checks (tsan) (push) Successful in 47m4s
Foundation / checks (postgres) (push) Successful in 1h15m49s
Foundation / checks (checks) (push) Failing after 1h30m4s
Foundation / postgres-tools (push) Skipped
Foundation / server-image (push) Skipped
Foundation / image (push) Skipped

ADR-0175 implements ADR-0136 step C with trial costs to be balanced after
playtesting. Genome schema 5 adds a photosynthesis efficiency (empty in
schemas 1-4, so earlier offers and draws are unchanged; mutation operators
29-32 are appended). Development version 5 builds the organelles as
internal membrane (p/4 of structure, upkept twice) and slows movement by
p/2 per thousand. Founder 4 and cellular rules 11 let lineages earn the
capability as an offspring plan that children express.

Owner format 9 declares the region's light. Inside each tick's detached
candidate, active unfrozen producers capture cross-section x irradiance x
efficiency (a quarter while moving), credited to the reserve and boundary
inflow together and replayed from recorded intentions. Well-lit wildlife
producers hold still. The joint owner keeps infall, water and radiation and
nests a rules-11 owner unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dingo
2026-10-19 18:06:02 -04:00
co-authored by Claude Opus 5.5
parent 51991ac7ff
commit 108f29eda5
34 changed files with 856 additions and 128 deletions
+36
View File
@@ -1,5 +1,41 @@
# Validation report
## 2026-10-19 - Photosynthesis producers (ADR-0175)
[ADR-0175](../adr/0175-photosynthesis-producers.md) adds genome schema 5, development 5,
founder 4, cellular rules 11 and owner format 9 with declared light.
Executed locally:
- GCC 14.2 Release full CTest **96/96** and MSVC 19.44 Release full CTest **96/96,
7.35 s**, with NDEBUG and no MSVC warnings.
- Clang 19.1 ASan/UBSan biology and cellular subset (36 tests): one failure, a
heap-use-after-free in the new producer test, which compared an iterator into a
mutation offer after the tick had replaced the state holding it. The test now decides
before the tick; the environment and photosynthesis tests then pass **3/3, 88.86 s**
with no sanitizer reports. No product code changed for it.
- clang-tidy 19 and clang-format 19 on every new and changed source and test.
- Private PostgreSQL population (35 s) and joint-environment suites still pass on the
changed biology.
Evidence: earlier genome schemas reject photosynthesis at any value and their offers
never include it (catalog grows from 28 to 32 with IDs 29-32 appended); all existing
goldens and cellular suites are unchanged. Founder 4 has founder 3's phenotype, body,
maintenance, reproduction investment and endowment exactly. Organelle mass, maintenance
and speed match the declared rule at 100, 500 and 1000 (maintenance 7,850 / 8,850 /
10,100 pJ/tick vs the founder's 7,600; still capture 1,600 / 8,000 / 16,000; moving a
quarter). A founder in a rules-11 region took the offered photosynthesis plan at tick
159; its budded child captured 387,200 pJ over 400 ticks with exact closure (captured
light equals the boundary energy inflow). Format 9 restores and continues byte-identically;
a nested joint owner keeps its infall separate from the owner's light. Twenty times the
irradiance gives exactly twenty times the capture on the same history; a dark declaration
captures nothing. In this rich fixture producers always touch food, so the light-driven
hold-still branch of the wildlife controller is not exercised by these tests.
The ADR-0175 design first placed light in the joint owner; it was moved into the cell
owner before commit so producers can use the existing live publication path. No durable
bundle, SQL schema, session wire, client, DEV opening or live upgrade changes here.
## 2026-10-19 - Durable cellular environment profile (M12.5c)
[ADR-0174](../adr/0174-durable-cellular-environment-profile.md)/schema 56 adds