Design the elaboration ontology

Run 115 died on a dangling reference, and the vocabulary is why. Legacy
transition.rs took caller-supplied SubjectRef{kind,id:String}, admitted
entities in two phases, and permitted mutations one at a time in a flat
batch, so a plausible-looking id was indistinguishable from a referent until
reduction. Reconciliation existed to repair that class and exhausted after
four steps. Depth lived in free strings, so the previous attempt to fix
shallowness grew model tribunals instead of structure.

The closed vocabulary: reducer-issued typed ID namespaces, draft-handle
references resolved inside one closed WorldPatch before any ID allocates,
twelve components that each constrain a decision, four derived CausalBoundary
kinds, and one AdmitPatch command shared by seed admission and boundary
elaboration. Twenty component kinds become twelve, eighteen mutation variants
become one primitive, five qualification and verification types become none,
and waves and quotas become derived boundaries.

Demotes the transition algebra doc to teardown evidence and slots the stage
into the implementation plan ahead of the deferred deployment cutover.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-09-04 15:39:17 +02:00
commit 9c662bda23
7 changed files with 334 additions and 12 deletions

View file

@ -80,9 +80,9 @@ load or evaluation evidence; none admits ontology or declares a world complete.
noncanonical evidence, typed captures cite exact source spans, malformed spans,
raw decode failure, and normal exhaustion receive whole-source gap fallback,
infrastructure interruption returns the source pending, and only actual
spoken words qualify for a speech proposal. This contract is not wired into
the live legacy Persona runners; they still terminalize and remain deletion
targets.
spoken words qualify for a speech proposal. This contract is live: the single
`ControllerRunner` in `crates/ghostlight-dungeon/src/world/controllers.rs`
carries it, and no legacy Persona runner survives in `crates/`.
- An uncommitted broad `world.rs` prototype was rejected and deleted. It
exposed mutable state and ID issuance, admitted translation-gap evidence into
canonical types, allowed no-op commits, and left affordance and opportunity
@ -196,6 +196,20 @@ and proposals but cannot commit on their behalf.
## Next gate
The operator has ordered design of an elaboration ontology for the sealed
WorldKernel before further deployment work. The kernel ontology is Speak-only
today: `SubjectKind` is Person/Institution/Population, `AffordanceKind` has one
variant `Speak`, and `DecisionAction` has one variant `Speak { text }`, all in
`crates/ghostlight-dungeon/src/world/mod.rs`. The legacy elaboration machine is
gone from source; `12ee9f4` removed its kernel ingresses and component-write
helpers with no compatibility path, and it is not a design input. Sparse causal
sufficiency governs elaboration: counts, cover ratios, and qualitative review
stay evaluation evidence and cannot admit ontology. Elaboration enters at a
typed causal boundary through the same mutation vocabulary as seed creation,
action, import, individuation, and time.
The deployment gate below is deferred behind that design, not cancelled:
Review and subtract the uncommitted Idunn-owned Expected/activation/anchor/lease
projection and bounded multi-session RUDP document transport. Repoint Odin off
its vendored CultNet fork onto CultLib `85f7024` as Ghostlight did, add UDP

View file

@ -234,7 +234,35 @@ negative legacy checks agree, delete the old units, releases, state roots,
acceptance debris, gamecult-ops target deploy programs, and local run
scaffolding.
### 6. Contract verification
### 6. Widen the ontology to the causal boundary — designed, not implemented
The operator ordered this stage ahead of the deployment cutover. Step 2 deferred
places, relations, resources, and external ownership until "a live typed causal
boundary" existed; this stage builds that boundary.
The closed vocabulary is `docs/architecture/ghostlight-world-ontology.md`: typed
ID namespaces, draft-handle references resolved inside one closed `WorldPatch`,
twelve decision-constraining components, four derived `CausalBoundary` kinds, and
one `AdmitPatch` command shared by seed admission and boundary elaboration. It
carries its own cut line, subtraction budget, build budget, and ten-proof
verification contract.
Implementation order, each pass landing tests before the next begins:
1. Typed ID namespaces and `Ref<Id>` with draft handles; no components yet.
Proves the Run 115 rejection shape against an otherwise empty ontology.
2. `Position`, `Route`, containment, and topology admission.
3. `Custody`, `Dependency`, and conservation.
4. `Authority`, `Selection`, `Redress` — the civic subgraph.
5. `Knowledge`, `Channel`, and scoped-projection non-leakage.
6. `Commitment`, `Pressure`, and boundary derivation from committed pressure.
7. `AdmitPatch` boundary binding in `active`, and seed admission in `draft`
through the same reducer.
The deployment cutover (step 5) is deferred behind this stage, not cancelled. No
world acceptance run may start while Yggdrasil serves the legacy body.
### 7. Contract verification
Required black-box proofs: