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
+1 -1
View File
@@ -66,7 +66,7 @@ or authorize production enablement.
| 12.2 | Exact cellular model and paired matrix; local samples through 256 lives; bounded four-generation rules-9 predation/twin matrix | Deployment-host tail costs including publication; larger wildlife cohorts and fuller contention coverage; useful compression remains unimplemented. |
| 12.3 | Dedicated population profile/trace/store/owning host; exact recovery and private PostgreSQL fault tests | Population-specific executable/network fault drills and target-host publication/capacity qualification. |
| 12.4 | Owned intervals; exact transfer/accounting; durable atomic pair/recovery; independent loopback TLS path loss and owner expiry/replacement/heal; local object sync/read-failure matrix | Multi-host/kernel-network, storage-host and orchestrator drills, linked-boundary contracts and integrated ownership/stock audits at scale. |
| 12.5 | ADR-0172 portable joint owner: one budget for cells and local environment, effective depth, tagged water/dissolved compartments, refused atmosphere, finite infall entitlements, radiative export; closed/source-off/open/exhaustion and raw/cohort comparisons; ADR-0173 joint batch with exact unattended replay; ADR-0174/schema 56 durable profile 6 with owned intervals and exact recovery | Producer process and coefficients (ADR-0136 step C), executable/network joint fault drills, worker/census/migration integration and escrowed cross-worker sources (12.5d), target-host qualification (12.5e). |
| 12.5 | ADR-0175 photosynthesis producers (portable rules 11/format 9); ADR-0172 portable joint owner: one budget for cells and local environment, effective depth, tagged water/dissolved compartments, refused atmosphere, finite infall entitlements, radiative export; closed/source-off/open/exhaustion and raw/cohort comparisons; ADR-0173 joint batch with exact unattended replay; ADR-0174/schema 56 durable profile 6 with owned intervals and exact recovery | Durable rules-11 bundle, producer session wire/client and DEV opening; joint fault drills (deferred by the maintainer), worker/census/migration integration and escrowed cross-worker sources (12.5d), target-host qualification (12.5e). |
| 12.6 | Retained archive, regional census/lineage queries, replayed history, scoped multi-region queries and consistent database head snapshots (12.6a-d); registered coverage/history domains follow in 12.7a-b | Cross-domain clone provenance, retained historical coverage/other viable stores, target-host query/index qualification and client permission/presentation; no account power or invented precise statistical ancestry. |
| 12.7 | Viability/unknown policy; consistent cuts, registered coverage, history domains/restore forks and verified pending handoff evidence (12.7a-c/schema 52) | Cross-domain clone provenance, other viable-store coverage and durable accepted global evidence records/freshness. Missing/stale/unsupported owners must prevent terminal extinction. |
| 12.8 | Deterministic seed/regime drivers, separate-process exact continuation and bounded unscripted generations | Reproducible integrated worlds running for actual days, real restarts/clone comparisons and retained accounting/diversity/cost audits. Accelerated tests cannot supply elapsed days. |
+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