Drive the energy cycle with measured ecosystem episodes

Close M2 with a deterministic driver that owns one community and one
seeded stream, holds no inventory and emits only the terminal, feeding
and reproduction intents the earlier increments already accept. No
simulation contract changed to make the cycle run unattended.

Two limits shaped the design. Identities are never reused and slots are
capped, so one community supports a bounded number of consumer lifetimes
and is not a population. No maintenance cost exists, so a consumer that
is never eaten never dies, and inventing a starvation rule here would
settle a question ENERGY_MODEL leaves open inside a measurement harness.
The harness therefore measures many bounded episodes, taking mortality
from predation and from a configured lifespan delivered as an ADR-0027
host terminal fact. Lifespan bounds an episode; it is not senescence.

The driver must never submit a batch the community rejects, so it probes
a discarded copy each tick to size bites against the state feeding will
actually see, claims each target for one feeder, and excludes a bitten
consumer from acting. A rejected tick is reported as a driver defect
rather than absorbed as ecology.

Across 64 seeds the suite steps tick by tick, requiring exact conserved
totals at every tick and an identical report on replay, and covers both
mortality paths, slot exhaustion, tick-limit termination, lineage
attribution, episode independence and configuration rejection.
evo-sim --ecosystem reports seeded ensembles: 3,000 episodes advanced
1,093,007 ticks, all reaching extinction, with deaths reconciling exactly
against founders plus births. That demonstrates arithmetic and turnover,
not ecological plausibility; strategy constants are chosen inputs.

Native Release, clang-tidy analysis, ASan and format checks pass 11/11;
golden d61ad5bf0c928c76 is unchanged. Linux CI has not run yet.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
dingo
2026-09-22 17:38:34 -04:00
co-authored by Claude Opus 5
parent 67637ac14c
commit eaf58f2b85
13 changed files with 1009 additions and 11 deletions
+20
View File
@@ -95,3 +95,23 @@ identity, deterministic replay, crashes at every conversion boundary, interval
uniqueness, mixed-genome diversity, repeated conversion attacks, extreme rates,
late migrations/censuses and suspended viability. Compare explicit individuals:
passing conservation alone is insufficient ecological evidence.
## Implemented M2.6 episode boundary
[ADR-0029](../adr/0029-ecosystem-driver-and-episodes.md) measures bounded episodes
of the synthetic community. It settles none of the contracts above. There is no
tier, no cohort, no conversion transaction, no representative materialization and
no habitat. Every process stays an identified individual for its whole life.
Extinction here is the narrow, local statement that an episode has no living
consumer, recorded with the tick it happened. It is not the globally reconciled
watermark this document requires: there are no suspended members, eggs, spores,
in-flight transfers or other viable stores to reconcile, and no policy acceptance.
Surviving lineage counts come from retained parent references, not from species
classification, and lineages differ only by founder strategy because no genome
exists yet.
The shared bounded controller proposal is exercised only as a measurement driver.
It has no perception, no learning and no evolving behavior, and its constants are
inputs rather than results. Population math, cohort collapse and resolution
equivalence remain M4 work.