Preserve fission realm scope across elaboration

This commit is contained in:
Meta Vens 2026-08-31 23:57:51 +02:00
commit 31125a2307
11 changed files with 243 additions and 16 deletions

View file

@ -32,13 +32,25 @@ materialized. Rounds 1 through 9 and their session checkpoints are canonical;
do not replay them.
Bounded parallel title-by-realm compaction and deterministic parallel child-ID
reconciliation are pushed and proved. The current local verified cut removes
the scale dead end at the fission transition owner: every exact member is still
assigned once, dormant deltas rebase against the child baseline, and a
materialized person's Actor remains byte-identical while their backing member
affiliation moves to the child. Commit and push, clone Run 91, and begin round
10. The acceptance launcher retains one 35 MiB content-addressed runner per
exact source commit and deletes disposable compiler output; do not restore a
reconciliation are pushed and proved. Logical sessions bind title,
jurisdiction, campaign, revision, admitted receipts, prior-checkpoint digest,
and a bounded causal frontier; frozen failure checkpoints own exact failed-
dispatch resume. Tool-internal rejection findings are not yet promoted into
later successful session memory, but no executable proposal is left live after
a successful round and this does not block the acceptance run.
Run 92 at exact pushed source `44c89e3` proves the materialized-member cut was
necessary but insufficient. It resumed Run 91 without replay, reached revision
690, and found 938 active eligible Gestalts, but realm routing saw Avelune 0,
Veyra 0, Bramblewash 0, Kharad-Tum 456, and Hearthcoil 437. Fission projection
had rebuilt each child profile from its home location and discarded inherited
realm scope; only realms whose population homes were the realm root survived.
The current local cut makes Resolution inherit parent jurisdiction scope during
live fission and provides one revision-bound deterministic lineage
reconciliation for existing checkpoints through the same primitive. Review,
gate, commit, push, clone immutable Run 92, reconcile once, and begin round 10.
The acceptance launcher retains one 35 MiB content-addressed runner per exact
source commit and deletes disposable compiler output; do not restore a
persistent Cargo target tree.
## Mission and current product shape

View file

@ -1303,7 +1303,9 @@ outside this authority.
assignments. An individuation draft contains only the member delta.
`complexity_realm_for_profile` derives the parent jurisdiction from the same
demanded-realm membership used to measure allocation pressure, and the
worker receives the resulting exact parent-to-jurisdiction map.
worker receives the resulting exact parent-to-jurisdiction map. This routing
depends on Resolution preserving every inherited canonical
`AgencyProfile.location_ids` scope across population fission.
- **Outputs:** each round publishes an immutable frozen preview with demand,
wave and schedule receipts, exact parent bindings, proposals, and model
receipt hashes; then one immutable mutation checkpoint per sequentially
@ -1370,10 +1372,13 @@ outside this authority.
earlier fissions may be rebased,
while any change to the assigned parent, its profile, or its members rejects
the later proposal instead of silently reconciling it.
Compaction consumes only admitted commit journals plus bounded rejection
findings routed by the invocation's stable title-by-realm session ID. The
Compaction runs only after successful mutations have produced admitted commit
journals routed by the invocation's stable title-by-realm session ID. The
resulting checkpoint is stored under that ID and supplied only when a later
dispatch has the same title and deterministically derived jurisdiction.
The exact failure partition, frozen schedule, completed proposals, receipts,
and diagnostics remain in the resumable failure checkpoint; they are not
folded into successful session compaction.
- **Cut line:** this cut reuses Gestalt fission, strategic Gestalt
individuation, WorldKernel admission, model receipts, the generic scheduler,
and immutable acceptance checkpoints. It adds no second population or member
@ -1436,6 +1441,11 @@ outside this authority.
receipt and immutable session checkpoint before returning any sibling
failure. Session checkpoints remain independent memory owners rather than a
shared round transcript, and canonical mutation order remains serial.
Tool-internal rejection findings are not currently copied into later
successful compaction. That is a bounded continuity limitation: the compacted
title-by-realm mind may lose a useful rejected path, but no live proposal is
orphaned because exact failed dispatches remain owned by the resumable failure
checkpoint. This limitation does not block Run 93.
Missing eligible parents, stale or malformed checkpoints, changed parent
bindings, zero-growth rounds, and a nonzero deficit at the configured round
ceiling are terminal failures. Canonical CultCache state, not the checkpoint
@ -2383,13 +2393,38 @@ either the complete state validates and commits or none of it does.
The aggregate projector may copy the accepted child relations and civic
manifests out of that component result, and `project_fission_resolution` owns
the derived agency-profile, facet, cover-invalidation, and resolution-epoch
projection. Later `ensure_agency_profiles` synchronization is not a cleanup
the derived agency-profile, facet, jurisdiction-scope, cover-invalidation, and
resolution-epoch projection. Its shared `inherit_fission_profile_scope`
primitive copies the parent's complete `AgencyProfile.location_ids` into every
child before adding the child's partition facet. Later `ensure_agency_profiles`
synchronization is not a cleanup
owner and may not repair missing civic residents, replace stale political
relation IDs, recreate retired parent relations, or make a partially applied
fission appear valid. The old fission function that directly wrote campaign
state has been removed.
Immutable Run 92 proves why jurisdiction scope belongs to Resolution rather
than scheduler policy. The campaign still contained 938 active,
simulation-eligible Gestalts, but Avelune, Veyra, and Bramblewash each had zero
realm-routable descendants: earlier `project_fission_resolution` calls had
dropped inherited `AgencyProfile.location_ids`. A scheduler fallback would
only conceal corrupt derived state and is forbidden; allocation and session
routing continue to require the exact demanded-realm membership on each
profile.
`WorldCommand::ReconcileFissionAgencyScopes` is the deterministic,
revision-bound repair owner for that legacy projection defect. It uses the same
Resolution inheritance primitive as live fission, walks exact canonical Gestalt
lineage repeatedly so nested descendants inherit the complete ancestral scope,
requires every child profile to name the same canonical parent, increments only
profiles whose scope changes, and commits the repaired campaign through the
normal WorldKernel revision/CAS path. The acceptance driver publishes one
immutable `ghostlight.fission_agency_scope_reconciliation_checkpoint.v1` and
refuses a checkpoint whose command kind or revision disagrees with canonical
state. The reconciliation creates no location, geography, lineage, scheduler
exception, or alternate realm allocator; once no lineage-proven scope delta
remains, the command is inapplicable.
Immutable Run 81 at exact source
`e7ceb2c2807fabb2b0e68aeeeb0aab5948c582a5` and root
`/var/lib/gamecult/ghostlight-dungeon/acceptance/full-world-delvehold-e7ceb2c-81`