Add funded cellular mutation proposal
Foundation / checks (deploy) (push) Successful in 6s
Foundation / checks (checks) (push) Failing after 43s
Foundation / checks (ecs) (push) Successful in 1m57s
Foundation / checks (tsan) (push) Canceled after 0s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (postgres) (push) Canceled after 53s
Foundation / checks (client) (push) Canceled after 2m59s
Foundation / checks (network) (push) Canceled after 2m19s

This commit is contained in:
dingo
2026-10-11 02:42:53 -04:00
parent b7f3d73980
commit 84efa4bf14
6 changed files with 264 additions and 3 deletions
+51
View File
@@ -0,0 +1,51 @@
# M11.4: Apply earned mutation choices through development
M11.4 connects the accepted M3 seeded candidate generator and immutable lineage
archive to a living player organism. The game rule authority is ADR-0098; the
first funded transition is ADR-0118. Candidate counts, event cadence, eligibility
thresholds and resource targets remain trial values until informed by the 11.3
probe and later repeated-life tests. No class tree, candidate ranking or automatic
wildlife mutation is introduced.
## Boundaries
Read PROJECT_VISION, ENGINEERING_CONSTITUTION, GENOME_MODEL,
ADR-0030 through ADR-0034, ADR-0098, ADR-0108 through
ADR-0110 and the cellular checkpoint schema before changing the owner. Preserve
the M3 pure generator's seed/context rules and genome v1/v2 compatibility. The
headless biology library must not acquire transport, UI, database or Kubernetes
dependencies. Every accepted choice must be one durable action whose outcome,
successor genome, body transfer and life revision recover together.
The 11.3 hands-on probe is now executable in the engineering client. Its human
notes remain the design input for tuning mutation timing and eligibility. The
maintainer has explicitly authorized continuing M11 work while those notes are
pending; no gameplay balance is treated as final by this plan.
## Segments
| Segment | Affected modules | Acceptance evidence |
|---|---|---|
| 11.4a: funded transition proposal | Biology mutation/development public API and implementation; mutation tests; ADR-0118 | Deterministic selection revalidation; exact per-channel body/reserve closure; construction energy charge; insufficient-channel refusal with no partial result; `NDEBUG` tests |
| 11.4b: earned eligibility and offer identity | Cellular life state, tick intake accounting, offer context, profile-4 codec/schema | Offers require retained fed surplus; exact retry returns the same offer; changed genome/context/tick refuses stale selection; no free rerolls; checkpoint restore preserves eligibility and action identity |
| 11.4c: durable mutation publication | Cellular host/session, SQL migration/action parser, replay, crash tests | One action atomically publishes debit, genome successor, organism revision, archive and result; duplicate retry is exact; uncertain commit and process restart have one outcome |
| 11.4d: player choice and review | Engineering client trial UI, replication, playtest notes | Owner sees unranked candidates and actual tradeoffs; choice/refusal/recovery is readable; playtest verifies the choice follows useful feeding rather than appearing at spawn |
## Required checks
- All current M3 mutation and archive tests remain unchanged and pass.
- Test equal inputs and retry after process restore, wrong/stale offers,
unaffordable candidates in each individual channel, overflow, and exact body +
reserve conservation.
- Exercise two candidates that trade construction, maintenance, movement,
ingestion and membrane defense without rendering a ranked score.
- Profile-4 PostgreSQL publication, crash/restart and Linux CI evidence are
required before claiming a live mutation path.
- Record the exploratory 11.3 probe feedback and revisit tuning before widening
candidate options or setting an event cadence.
## Progress
- 11.4a implementation is in progress: `fund_mutation` returns a detached,
channel-conserving transition under ADR-0118. Session offers, eligibility,
durable publication and UI remain open.
+19 -2
View File
@@ -6661,5 +6661,22 @@ The live-region human probe remains the only open 11.3 gate.
The local environment cannot query the operator's running region: `kubectl`
reports that no current context is set and its default `localhost:8080` API is
refused; no `evo-region` or `evo-server` process is running locally. The
maintainer must run the human probe against the operator's region and provide
the exploratory feedback before 11.4.
maintainer reports that the region is up and the client connects. The detailed
11.3 cellular-loop probe notes have not yet been recorded. Mutation work has
started at the maintainer's direction while those notes are pending; eligibility
and balance remain explicitly open.
## 2026-10-11 — M11.4a funded mutation proposal
The new `fund_mutation` biology proposal revalidates the exact seeded offer,
derives the successor body at the same growth state, and returns channel-specific
reserve intake/release plus construction energy. It refuses underfunding without
returning a partial transition. The mutation contract tests passed after a fresh
MSVC 19.44 `/W4 /WX /DNDEBUG` compile of the modified mutation, genome,
development, metabolism and rates sources with `tests/mutation_tests.cpp`.
Visual Studio LLVM `clang-format --dry-run --Werror` and `git diff --check`
passed.
`cmake --build build/debug --target evo-mutation-tests` regenerated successfully
but stalled before target compilation, at the same Ninja glob recheck seen above.
The direct focused MSVC executable is local evidence only; full CI is pending.