Persist fed mutation offers in cellular v2
Foundation / checks (deploy) (push) Successful in 6s
Foundation / checks (ecs) (push) Successful in 1m56s
Foundation / checks (postgres) (push) Canceled after 0s
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 (network) (push) Canceled after 5m28s
Foundation / checks (checks) (push) Canceled after 7m39s
Foundation / checks (client) (push) Canceled after 7m39s

This commit is contained in:
dingo
2026-10-11 04:51:55 -04:00
parent 3548f2eacf
commit d652291126
21 changed files with 772 additions and 75 deletions
+13 -4
View File
@@ -27,7 +27,7 @@ pending; no gameplay balance is treated as final by this plan.
| 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.4b: earned eligibility and offer identity | Cellular life state, tick intake accounting, offer context, profile-4 v2 codec/schema | One offer per 60 seconds of retained fed energy (trial), requesting up to three unranked candidates; exact retry returns the same offer; mismatched offer identity or changed genome/context refuses stale selection; ordinary ticks do not expire an offer; no free rerolls; restore preserves eligibility and offer 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 |
@@ -46,6 +46,15 @@ pending; no gameplay balance is treated as final by this plan.
## 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.
- 11.4a implementation is complete locally: `fund_mutation` returns a detached,
channel-conserving transition under ADR-0118. Its full CI run is pending.
- The ADR-0108 profile-version conflict is resolved by
[ADR-0119](../adr/0119-cellular-profile-version-migration.md): an explicit,
leased, no-tick v1-to-v2 representation migration initializes mutation state
empty and preserves the complete existing region closure. [ADR-0120](../adr/0120-cellular-mutation-eligibility-trial.md)
defines the first versioned eligibility/offer trial. Their owner and persistence
implementation is the current 11.4b work after the 11.4a CI gate.
- The current 11.4b slice adds version-2 owner snapshots, fed-energy eligibility,
stable offers and manifest/schema admission. The no-tick migration publisher,
immutable migration record, and migration-aware recovery/replay are still open;
11.4b is not complete until those durable paths and PostgreSQL CI pass.