Publish mutation choices atomically with their checkpoint
ADR-0121, schema v35. A checkpoint whose trace carries mutation selections publishes with its canonical mutation block and one result byte per choice. SQL checks the block's order, matches each record to one reserved choice of this region and to its trace selection (tick, life, offer, operator, successor identity), binds it to the commit with its result, refuses a choice already bound elsewhere and checks exact retries. The four-argument publisher becomes an internal helper behind a wrapper that refuses traces with selections. C++ publication takes the results from its own replay rather than a caller, prepared commits carry block and results through retry and resolution, and recovery rebuilds the bound choices and requires the replay's results to match. A PostgreSQL test feeds a v4 cell to its first offer, publishes a reserved choice, recovers it and restarts a host. Host and session admission follow in 11.4c-2. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -74,3 +74,13 @@ pending; no gameplay balance is treated as final by this plan.
|
||||
biology/archive publication and crash recovery remain. No 11.4c or live
|
||||
mutation path is claimed complete until those pieces pass CI (see
|
||||
[validation log](VALIDATION.md)).
|
||||
- 11.4c-1 (ADR-0121, schema v35): a checkpoint whose trace carries mutation
|
||||
selections publishes through `publish_cellular_mutation_checkpoint` with its
|
||||
canonical 64-byte mutation block and one result byte per choice. SQL checks
|
||||
block order, one reserved choice of this region per trace selection (same
|
||||
tick, life, offer, operator and successor identity), binds each to the commit
|
||||
with its result, refuses another commit's binding and checks exact retries;
|
||||
the four-argument publisher now refuses traces with selections. C++
|
||||
publication takes its results from its own replay, and recovery reloads the
|
||||
bound choices and requires the replay's results to equal them. Host and
|
||||
session admission (11.4c-2) remain.
|
||||
Reference in New Issue
Block a user