ADR-0182 section 13. The admin portal's Tuning page edits the world's
rules-13 tuning (the Git revamp file format); the admin API checks it,
stores an append-only revision and queues an adopt_tuning admin command
(kind 7: revision and rules digest) for every region of the world.
- Lifecycle: adopt_tuning replaces the region's rules after births when
a resolver names the rules for that revision and digest; the safety
revision cannot change live. At most one adoption per batch.
- Host: fetches the revision text, rebuilds and digests the rules before
appending the command; publication and recovery name the rules from
the successor state, checked against the recorded digest.
- Schema 66: tuning_revisions, admin_set_tuning_v1, load_tuning_revision_v1
(runtime), admin_tuning_revisions_v1, admin_tuning_text_v1.
- OpsServer: optional bounded request bodies (Content-Length, 413).
- Region view: rules_sha256, so the portal shows each region's revision.
- Portal: Tuning page; baseline from the mounted cellular-revamp.tuning.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The admin portal can now spawn wildlife, add bubbles, add to or release the
spent pool, remove a cell and grant a cell's reserve on a running rules-13
region (ADR-0182 section 10). No new owner format or region opening.
- Trace 5: trace 4 plus 64-byte command records counted in the tick header's
last word; a batch without commands stays trace 4 (older builds replay it).
Bundle 15 admits trace 5.
- CellularLives::admin_candidate applies a tick's commands after its births,
each on a copy kept only when it applies and closes: imports through the
boundary ledger, removals into the spent pool with a new `removed` corpse
cause, spawned roots via the ADR-0180 seed (now a shared helper) funded by
an exact import. Refused commands change nothing.
- Schema 63: the immutable admin_commands queue (spawn identities from the
life allocator), pending/history reads, and binding of every recorded
command exactly once inside both cellular publishers; the SQL trace parsers
read trace 5 through its trace-4 normal form.
- The region polls pending commands every 2 s and appends up to 16 per tick;
the admin API and portal gain region actions, per-cell Remove/Grant and the
command history.
- Fixes an existing test that did not advance its head after a tick commit.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The rules-12 loop blocked for ~411 ms per 20-tick commit, so players saw
one-second bursts. The host now commits a batch on a worker thread with
its own connection (begin_publish / poll_publish), using the builder's
already-simulated candidate. The next batch builds on that candidate
under a provisional head and is rebased when the commit lands. One commit
is in flight at a time; births and mutation choices wait for a batch that
starts on the durable head, and host reconciliation pauses meanwhile.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The session batch builder reported every refusal of the owner's own step or restore as
"biology", which cannot tell a resume problem from any other. It now keeps the
CellularLivesError behind that, and the stall line prints it as lives=N (-1 when the
refusal was not the owner's).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>