Files
aevolution/docs/adr/0175-photosynthesis-producers.md
T
dingoandClaude Opus 5.5 108f29eda5
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
feat(biology): evolve photosynthetic producers that capture light
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>
2026-10-19 18:06:02 -04:00

3.9 KiB

ADR-0175: Photosynthesis producers

Status and scope

Accepted 2026-10-19, implementing ADR-0136 step C. The maintainer authorized choosing trial costs, to be balanced after playtesting; every number below is tunable. This segment is portable biology and owner state; the session wire/client and durable/host admission are separate segments. No default/live opening changes.

Decision

Capability. Genome schema 5 adds photosynthesis, an efficiency per thousand (1..1000) that requires a membrane. Schemas 1-4 carry an empty range for it, so no earlier record, offer or draw changes. Mutation operators 29-32 (adjust up/down, acquire, shed) are appended; earlier operator IDs are unchanged. Schema 5 keeps schema 4's percentage steps; an acquired photosynthesis starts at 100 (10 %).

Costs (development version 5). Version 4's rules, plus photosynthetic organelles built as internal membrane: at efficiency p they add p/4 of the structural mass as membrane mass (so they cost construction and are upkept twice, like membrane) and slow movement by p/2 per thousand. Extent is unchanged. Light gives energy only; a producer still needs C/N/P by contact to grow and bud.

Founders and rules. Founder 4 (schema 5, development 5) is founder 3 with that schema: identical phenotype, body and endowment, and no photosynthesis. Cellular rules 11 are rules 10 (offspring plans) with founder 4. Under rules 10+, a selected mutation edits the offspring plan, so photosynthesis is expressed by children (ADR-0163).

Light is booked by the cell owner (owner format 9). Incident light is not a stock and has no other owner, so the region's cellular owner declares it: irradiance (pJ per square micrometre of cross-section per tick, a rational; trial 40), a cumulative entitlement and the share a moving cell keeps (trial 250 per thousand), plus the energy captured so far. An explicit no-tick format-8/rules-10 -> format-9/rules-11 upgrade declares the light; existing lineages keep their schemas, and only founders born afterwards, and their descendants, can evolve photosynthesis. Inside each tick's detached candidate, after the step, every active, unfrozen photosynthetic survivor that had an intention captures extent^2 x irradiance x p / 1000, a quarter of that if its intention moved, rounded down and bounded by the remaining entitlement. Capture is credited to its reserve, the boundary inflow and the current total together, so the tick commits or refuses as one unit. Light nobody captures never enters the books. Capture depends only on recorded intentions and state, so the existing raw trace replays it. A dark declaration captures nothing.

The ADR-0172 joint owner keeps infall, water and radiation and may nest a rules-11 owner; its own environmental imports stay separate from the nested owner's captured light. Putting light in the cell owner keeps producers on the existing live path (profile-4 publication, sessions and player actions) instead of requiring a second live trace.

Wildlife. Under rules 11 with declared light, a photosynthetic wildlife cell that would capture at least its maintenance by holding still holds still (it still feeds from what it touches); otherwise it forages as before.

Measured trial consequences (founder size, irradiance 40): at 10 % a still producer captures 1,600 pJ/tick against 7,850 pJ/tick maintenance and moves 5 % slower; around 55 % it breaks even; at 100 % it captures 16,000 pJ/tick at half speed against 10,100 pJ/tick maintenance.

Consequences

Plant-like lineages become possible without infinite energy: capture is bounded by cross-section, efficiency, stillness and entitlement, and producers still compete for matter. All earlier genome, mutation, development, cellular and environment bytes and goldens keep their meaning. Durable admission of rules 11 (a new cellular bundle), the session wire (capability 7 in offers, producer look) and a DEV opening remain before playtesting.