diff --git a/docs/architecture/ghostlight-world-consumer-api.md b/docs/architecture/ghostlight-world-consumer-api.md index 2d299f7..e75ef38 100644 --- a/docs/architecture/ghostlight-world-consumer-api.md +++ b/docs/architecture/ghostlight-world-consumer-api.md @@ -3,7 +3,13 @@ Status: drift. Names `CampaignRegistry`, `WorldSeed`, and `publish_session_zero`, which do not exist in the sealed kernel. Pending rewrite against `docs/architecture/ghostlight-world-ontology.md`; read for consumer-boundary -intent only. +intent only. Pass 10 owns the rewrite and carries four debts the ingress must +settle before a consumer patch can reach `AdmitPatch`: caller authority (which +`CallerId` a consumer lowers to), decode-time size bounds on the patch, +phase (Draft seed versus Active elaboration), and boundary answering (an +Active consumer patch that declares must answer a derived boundary like any +other author). The transport is an inbound `mesh.rs` path, not a fifth +`execute_world` operation literal. ## Objective diff --git a/docs/architecture/ghostlight-world-ontology.md b/docs/architecture/ghostlight-world-ontology.md index 2623d99..28dd904 100644 --- a/docs/architecture/ghostlight-world-ontology.md +++ b/docs/architecture/ghostlight-world-ontology.md @@ -35,8 +35,8 @@ not from a model agreeing that the world is deep. ## Current mechanism -Passes 1 through 7 of the widening are landed (`5e53beb`, `e99af63`, -`d2805fe`, `0f21a49`, `dbe176d`, `cb6a126`, `1852ddd`). The sealed kernel holds subjects with a label and a +Passes 1 through 8 of the widening are landed (`5e53beb`, `e99af63`, +`d2805fe`, `0f21a49`, `dbe176d`, `cb6a126`, `1852ddd`, `3ed3868`). The sealed kernel holds subjects with a label and a kind (`Person | Institution | Population`); a `positions` partition with `Position`; entities with `container` under containment acyclicity; `Route` as an `EdgeRecord` variant carrying `AccessKind { Public, Restricted }`, a @@ -139,17 +139,38 @@ deficit and satisfy it (`AnswerRequired`, `AnswerNotDerived`, `AnswerNotSatisfied`); a component-only patch answers nothing; Draft answers nothing. +`AdmitPatch` has two authors. The owner is unconfined. The elaborator is +`CallerId::System(SystemCapability::Elaborator { jurisdiction })`, a caller +identity whose only door is `WorldMailbox::submit_elaboration`; there is no +HTTP ingress for a patch before pass 10. `require_patch_author` and +`confine_to_jurisdiction` run in `reduce` and again in `apply_effect`: an +elaborator may answer only a boundary or deficit row under its root +(boundaries cover transitively, deficit rows by exact key, so a parent root +cannot answer a child row and double-count it), and may declare places, +relocate, or open routes only inside that root (`Mismatch::OutsideJurisdiction`, +decided by `operation_ground`, which is total over `ResolvedOp`). Placeless +referents (resources, catalog entries, facts) are not confined. The model's +tool surface is `PATCH_TOOLS`: one tool per non-genesis `Declaration` and +`ComponentOp` variant plus two session tools, emitted through +`world/tool_schema.rs` from one schema spelling per type. +`world/elaboration.rs` owns the repair loop: a session keyed by a +deterministic command id (sha256 over world, jurisdiction, answer digest) +submits a draft, persists the resolver's complete mismatch set under that id, +and re-prompts with it, bounded by `ELABORATION_ROUND_BUDGET` and the +`MAX_DRAFT_*` size caps. Evidence a model cites must come from the round's +`EvidenceSource` receipts (`filter_evidence`); with `NullEvidenceSource` no +canonical fact and no `Admit` can land from the elaborator lane. + Opportunities bind to a `ScopeDigest` over one `scope_components` owner (controller assignment, grants, delegated grants, own authority, position, incident routes, own holdings, own dependencies, known fact ids, controlled channels, own commitments; never `now`, occupancy, forum state, or another subject's knowledge); a proposal commits at any later revision with unchanged scope and is rejected with `KernelError::ScopeChanged` otherwise. State schema is -`world_state.commitment.v1`, commit schema `world_commit.commitment.v1`, -controller work `controller_work.v6`; earlier stores are refused. Ghostlight owns a conserved narrative ledger; +`world_state.elaboration.v1`, commit schema `world_commit.elaboration.v1`, +controller work `controller_work.v7`; earlier stores are refused. Ghostlight owns a conserved narrative ledger; Delvehold owns the economy (`delvehold-forced-ontology-integration.md`). -Passes 8 and 9 add boundary elaboration and the budgeted cover; pass 10 -adds the consumer ingress. +Pass 9 adds the budgeted cover; pass 10 adds the consumer ingress. ## The failure this vocabulary is designed against @@ -214,7 +235,8 @@ resolver, or reconciler is needed. scope digest is unchanged, and is rejected when it is not. 11. Every tool a model may call is a projection of this vocabulary. The tool catalog is derived state and cannot carry an operation the reducer does not - own. + own. The expansion rule: the tool surface is exactly the variants a + non-genesis patch may carry, with every always-refused choice removed. ## Identity @@ -670,7 +692,9 @@ Beyond the existing kernel proofs, focused tests must prove: 15. Two patches answering disjoint boundaries at different revisions both commit; two touching the same components conflict on scope digest. 16. The generated elaborator tool catalog contains exactly the operation set - and declaration kinds in this document and nothing else. + and declaration kinds in this document and nothing else: every variant has + one tool, every emitted branch decodes, and the counts match the exemplar + lists. 17. Seed admission and boundary elaboration reach the same reducer and CAS. 18. A structurally sparse world — few subjects, complete references — activates and runs; no count or ratio blocks it. diff --git a/notes/fresh-workspace-handoff.md b/notes/fresh-workspace-handoff.md index 4cb4423..deda8d4 100644 --- a/notes/fresh-workspace-handoff.md +++ b/notes/fresh-workspace-handoff.md @@ -225,56 +225,56 @@ outcome bands, four derived `CausalBoundary` kinds, scope-digest binding, one are teardown evidence. Plan step 6 is nine implementation passes; pass 1 is landed, passes 2 through 9 are not. -1. Passes 1 through 7 are integrated; nothing beyond pass 7 is. - `codex/ghostlight-dungeon-mvp` tip is `1852ddd` (Soul, boundary digest - bound to its own structure) over `5771ce6` (Soul), `2a8cec6` (Hands - falsification), and `d7fba90` (pass 7 machine), on `76999de` (pass-6 doc - and handoff) and `54e9d39` (pass-6 follow-ups). Earlier passes: - `5e53beb`, `e99af63`, `d2805fe`, `0f21a49`, `dbe176d`, `cb6a126`. The - push follows a background crate test and the branch read `ahead 4` at the - time of writing; `git status -sb` is the witness. +1. Passes 1 through 8 are integrated; nothing beyond pass 8 is. + `codex/ghostlight-dungeon-mvp` tip is `3ed3868` (Soul) over `2252370` + (pass 8 machine), on `106e7ef` (pass-7 docs and handoff) and `5874fc2` + (pass-7 follow-ups). Earlier passes: `5e53beb`, `e99af63`, `d2805fe`, + `0f21a49`, `dbe176d`, `cb6a126`, `1852ddd`. The push follows a background + crate test and the branch read `ahead 2` at the time of writing; + `git status -sb` is the witness. - Pass 7 facts: new module `world/clock.rs`; partitions `commitments`, - `pressures`, `last_opportunity_at`; scalars `now` and `scale_intent`; - `CommandBody::AdvanceTime` accepted only from - `CallerId::System(SystemCapability::Clock)`, which the mailbox mints; - `CausalBoundary` with the two derived variants `UnelaboratedDestination` - and `MissingStructure`, each carrying its own `BoundaryDigest`; scale - deficit rows; schemas `world_state.commitment.v1` / - `world_commit.commitment.v1` and `controller_work.v6`, earlier stores - refused. The operation set is 27. Pressure is stored by two writer - families, ops and the tick, never derived at read; ordering is a pure - re-order by pressure then debt (`last_opportunity_at`), never a filter. - Ruling adopted at the one fork of the pass, now structural: in Active, a - patch that declares or admits evidence must answer a derived - `CausalBoundary` or a nonzero scale deficit and satisfy it - (`AnswerRequired`, `AnswerNotDerived`, `AnswerNotSatisfied` in - `world/mod.rs`); component-only patches answer nothing; Draft answers - nothing. Baseline at `1852ddd`: 215 test functions in `world/*.rs`, 254 - crate source, plus one integration test (the focused `world::` run - reports 214 / 249; different counting rules, compare like with like). - `EvidenceRef::new` is still `#[cfg(test)]`; nothing deserializes a - `WorldPatch` before pass 10. + Pass 8 facts: new modules `world/tool_schema.rs` and + `world/elaboration.rs`; `SystemCapability::Elaborator { jurisdiction }`; + `require_patch_author` and `confine_to_jurisdiction` at both `reduce` and + `apply_effect`; `Mismatch::OutsideJurisdiction`; `PATCH_TOOLS` (37 + tools); `ElaborationPort` with `submit_elaboration` is the only authoring + door into the world; `ControllerWork::Elaboration` and `WorkLane`; + `ElaborationRunner` wired to the runtime task `elaborate_world` + (`runtime.rs`) with `ControllerModels.elaborator` from the environment + variable `GHOSTLIGHT_CONTROLLER_ELABORATOR_MODEL`; `NullEvidenceSource` + is what production supplies today. Schemas are + `world_state.elaboration.v1` / `world_commit.elaboration.v1` and + `controller_work.v7`, earlier stores refused. Soul drove the repair loop + end to end (spec test 20 exists in `controllers.rs`). Rulings adopted: + the owner remains unconfined; the elaborator is confined at both answer + and write; boundaries cover transitively and deficit rows are exact-key; + canonical facts from the elaborator lane are bounded by `filter_evidence`, + and with `NullEvidenceSource` none can land; one spelling of the patch + schema, `composite_schema` owns and the example derives from it (that + last one is a follow-up in flight). Baseline at `3ed3868`: 253 test + functions in `world/*.rs`, 293 crate source, plus one integration test + (the focused `world::` run reports 252 / 288; different counting rules, + compare like with like). The ontology doc operation count now reads 27 + at all three sites; that queued item is closed. - In flight, not landed, both branched from `1852ddd` with no commits yet at + In flight, not landed, both branched from `3ed3868` with no commits yet at the time of writing: - - `hands/pass7-followups` in the worktree `F:\Projects\Ghostlight-pass7fu`: - the routine period bound enforced in `verify_state_shape`; - `JurisdictionKey::Unplaced` renamed `Uncovered` with the deficit total - over subjects; the runtime tick submits the constant - `CLOCK_TICK_MINUTES` (`runtime.rs`), never a measured duration; dead - import removal. - - `hands/pass8` in the worktree `F:\Projects\Ghostlight-pass8`: boundary - elaboration, from `imagination-pass8.md`. - The main tree also holds uncommitted coordinator edits to - `docs/architecture/ghostlight-dungeon-mvp.md` (the four subject-readiness - sentences are now `Commitment.due` plus derived debt; that queued item is - done) and `docs/architecture/ghostlight-world-ontology.md` (the - `Commitment` and `Pressure` rows and the operation count). Witness for any - later pass: main-branch `git log` past `1852ddd`, and `git worktree list` - for the two trees. + - `hands/pass8-followups` in the worktree `F:\Projects\Ghostlight-pass8fu`: + `variant_content` spells unit variants so `Bounds::None` is reachable; + `composite_example` deleted and derived from the schema; the forged-row + test fixed or deleted; `every_declaration` / `every_component_op` + exemplar lists; the dead-code expectation removed. + - `hands/pass9` in the worktree `F:\Projects\Ghostlight-pass9`: budgeted + connected cover, from `imagination-pass9.md`. + Main carries uncommitted coordinator edits to + `docs/architecture/ghostlight-world-ontology.md` and + `docs/architecture/ghostlight-world-consumer-api.md` (in progress at the + time of writing); the pass-8 "Current mechanism" text is owed and lands + with the follow-ups. Witness + for any later pass: main-branch `git log` past `3ed3868`, and + `git worktree list` for the two trees. - Pipeline for passes 8 through 9: specs `imagination-pass1.md` through + Pipeline for pass 9 and pass 10: specs `imagination-pass1.md` through `imagination-pass9.md` and maps `modeling-pass1.md` through `modeling-pass9.md` are on disk in the session scratchpad `C:\Users\Meta\AppData\Local\Temp\claude\F--Projects-Ghostlight\2fd50f5e-f7ba-4e5d-82bc-c7033e6074d2\scratchpad`, @@ -291,22 +291,19 @@ landed, passes 2 through 9 are not. ingress, in the plan); pass 9 must not enable `uuid/v5` and derives each `CommandId` via sha256 into `Uuid::from_bytes` like `derive_id`. - Adopted design from the specs that changes steering: pass 8 allows Active - declarations only inside a patch whose `PatchAnswer` is derived and - proven satisfied (the pass-7 answer rule applied to elaboration), adds - `SystemCapability::Elaborator { jurisdiction }`, the in-process - `ElaborationRunner`, and a derived elaborator tool catalog sharing one - property emitter with pass 4. `PolityInCausalRange`, - `IndividuationRequired`, and Verification 13 remain deferred until - relations and population slices exist. + Still deferred by design: `PolityInCausalRange`, `IndividuationRequired`, + and Verification 13 wait for relations and population slices. Pass 10 + (consumer ingress) carries four named debts: authority, decode-time size + bounds, phase, and boundary answering, plus the `mesh.rs` inbound ruling. - Queued doc edits, coordinator-owned: the ontology doc operation count is - only partly at 27 in the uncommitted working copy (line 342 says - twenty-seven; line 288 "Twenty-nine operations" and line 605 "-> 29 named - operations" still say 29); after pass 9, the ontology doc phrase "within - about N/B ticks" becomes ceil(N/R) with R the rotation reserve; after - every integration, the ontology doc "Current mechanism" section is - rewritten from the steward proposal. + Queued doc edits, coordinator-owned: the pass-8 "Current mechanism" + section; ontology Invariant 11 and Verification 16 for the expansion rule + and covering asymmetry; the Active phase bounded by the answer with two + `AdmitPatch` authors; `ghostlight-world-consumer-api.md` stays marked + drift until pass 10 and should name its four debts and the `mesh.rs` + inbound ruling; the `GHOSTLIGHT_CONTROLLER_ELABORATOR_MODEL` setting in + the config doc; after pass 9, the ontology doc phrase "within about N/B + ticks" becomes ceil(N/R) with R the rotation reserve. 2. First-generation world fixtures are banked and pushed, one per world, each with Ink, training sidecar, visual plan, lore grounding, and BFL manifest, reviewer-accepted except visual replay, which waits on a scene-set diff --git a/state/map.yaml b/state/map.yaml index 9b2b039..95722d8 100644 --- a/state/map.yaml +++ b/state/map.yaml @@ -361,5 +361,5 @@ current_status: scale_checkpoint: Runs 108 through 115 prove load and failure properties of the pre-rebuild body, not world completeness. Operator directive 2026-09-04: the 2,400-subject / 240-cell / 10% cover profile is deliberate design, not a load fixture; a world feels alive only when actors at every level pursue their own goals, so that detail is generated first and multiresolution simulation is then choked so attention is scarce. The seed carries a `WorldScaleIntent`, the elaborators pursue its derived scale deficit, and cover budget is the choke. The 1,200-actor fixture is a load measure only. Structural admission still cannot require interest, diversity, name uniqueness, or an actor count; validity never waits on a count, liveness is authored. The committed replacement authority suite passes, but no further scale run is admitted until Yggdrasil serves the exact world-v2 release through the rebuilt Idunn recipe/binding/router seam, the live state root satisfies the complete world-v2 allowed-path contract, restart preserves exact journal and digest identity, and no old service, state path, process grant, or route can regain write authority. presentation_checkpoint: The historical press-layout and seed-ownership split are complete. `notes/historical-newspaper-layout-grammar.md` remains the durable grammar. Manifest v2 at `output/tex/canopy-ledger-run-61-style-1847-flow-723.manifest.toml` independently binds `style_seed=1847`, `flow_seed=723`, frozen source SHA-256 `8f195140f52a40ba705d6a66987146a1500ae89668e5d82b01d1792eb3afb882`, and the final artifact `output/pdf/canopy-ledger-run-61-style-1847-flow-723.pdf`, SHA-256 `a457f4b1702a7a52480e42fce0039f0dbe677ff32958e98f1c412b346237190c`. An identical seed pair produces byte-identical TeX and PDF; changing only flow preserves the exact style section while materially changing a plausible layout, and changing only style preserves flow topology. Cut-first and cut-midstory templates pass visual inspection; the failed split-card template is deleted. Frozen copy/assets, actual PDF `/BM /Multiply`, and economic-layer advertising authority remain invariant. public_reference_checkpoint: The published public architecture is immutable pre-rebuild history, not current rebuild authority. Canonical Ghostlight commit `15ea0f0` owns five archived pages covering the former overview, authority, pipelines, 43 named production stages, and eight titled elaborators. Site commit `2035e799c2cf7470b2bfc70d5a878d5d3be5e90f` publishes a shared mobile Home/Blog/Docs masthead, visibly marks every Docs page as a teardown archive, and publishes the postmortem `The World Counter Lied` at `https://ghostlight.gamecult.org/Blog/the-world-counter-lied`; live HTTP inspection returned 200 for the postmortem and Docs index and found the masthead and archive banner. Do not use the archived pages to steer the whole-machine rebuild. `docs/architecture/ghostlight-dungeon-mvp.md` owns the adopted target; publish replacement architecture only after the replacement body is implemented and verified. The site repository owns public composition and deployment. - next_action: Ontology v2 is adopted (`docs/architecture/ghostlight-world-ontology.md`; `ghostlight-transition-algebra.md` and `ghostlight-multiresolution-agency.md` are teardown evidence); plan step 6 is nine passes. (1) Passes 1-7 integrated, nothing beyond: tip `1852ddd` (Soul) over `5771ce6`, `2a8cec6`, `d7fba90` (pass 7 machine), on `76999de`/`54e9d39`; push follows a background crate test, `git status -sb` is the witness. Pass 7: `world/clock.rs`; partitions `commitments`, `pressures`, `last_opportunity_at`; scalars `now`, `scale_intent`; `CommandBody::AdvanceTime` only from `CallerId::System(SystemCapability::Clock)` minted by the mailbox; `CausalBoundary` with derived `UnelaboratedDestination`/`MissingStructure` each carrying its `BoundaryDigest`; scale deficit rows; schemas `world_state.commitment.v1`/`world_commit.commitment.v1`, `controller_work.v6`; 27 operations; pressure stored by ops + tick, never derived at read; ordering a pure re-order by pressure then debt. Structural ruling: in Active a patch that declares or admits evidence must answer a derived `CausalBoundary` or a nonzero scale deficit and satisfy it (`AnswerRequired`/`AnswerNotDerived`/`AnswerNotSatisfied`); component-only patches and Draft answer nothing. Baseline 215 tests in `world/`, 254 crate source (focused `world::` run 214/249). `EvidenceRef::new` still `#[cfg(test)]` until pass 10. In flight, not landed, both from `1852ddd`: `hands/pass7-followups` in `F:\Projects\Ghostlight-pass7fu` (routine period bound in `verify_state_shape`; `JurisdictionKey::Unplaced` -> `Uncovered` with deficit total over subjects; runtime tick submits constant `CLOCK_TICK_MINUTES`, never a measured duration; dead imports) and `hands/pass8` in `F:\Projects\Ghostlight-pass8` (boundary elaboration, from `imagination-pass8.md`). Uncommitted coordinator doc edits in the main tree: mvp readiness sentences done; ontology `Commitment`/`Pressure` rows and op count, with lines 288 and 605 still reading 29. Specs/maps 1-9 in the session scratchpad, not `state/`; the handoff carries the per-pass integration recipe (unchanged), the binding rulings (pass 8 no HTTP `AdmitPatch` ingress, that is pass 10; pass 9 no `uuid/v5`), the adopted pass-8 design (Active declarations only under a proven `PatchAnswer`, `SystemCapability::Elaborator`, `ElaborationRunner`, shared property emitter), and the remaining queued doc edits (ontology op count lines 288/605; ceil(N/R) after pass 9). (2) First-generation world fixtures banked and pushed, reviewer-accepted except visual replay pending a scene-set blockout: Delvehold `cistern-house-nine-breaker-test` `codex/world-delvehold` @ `9374fd0`; Aetheria `navigator-berth-hearing-v0` `codex/world-aetheria` @ `fe679f4` (fixture `8860c47`, lore `ba5c2ce`); Zyphos `eclipse-nursery-handover` `codex/world-zyphos` @ `055e6ee` (lore `2fef909`); Kalsa `stormshield-handoff-v0` `codex/world-kalsa` @ `489c541` (lore `c9f4c5c`). The elaborator swarm is drained and handed off; this session does not own it: stop flag set 2026-09-04 20:10, drained 21:10 with 98 finished passes in `logs\elab-done.csv`, ledgers republished, successor handoff finalized at `C:\Users\Meta\.claude\worlds\README.md`. Resume waits on operator adjustments and belongs to the successor. Owed and deliberately deferred: integration of `slot///<stamp>` branches into the vaults (`codex/ghostlight-worlds`) and `codex/world-<world>`. Idea index: the four `experiments/elaboration/<world>/ledger/` directories on `codex/world-<world>`. Substrate lessons stay in `state/evidence.jsonl`; `Invoke-Worlds.ps1` is retired under `worlds\retired`. Clones at `F:\Projects\Ghostlight-worlds\<world>` and `F:\Projects\<Lore>-worktrees\ghostlight-worlds`; image rendering deferred, prompts only. Deferred behind both orders, not cancelled: review and subtract the uncommitted Idunn projection and bounded RUDP transport, add UDP route actuation plus an independently persisted post-reload data-plane observation, and verify that focused pass on Yggdrasil. Then implement the directly managed Rust Odin observation/correlation daemon and exact transaction-frozen capability dependency closure. Install rebuilt Idunn, admit Odin first, then CodexConnector and Ghostlight; prove same-generation continuity, fencing, signed health, route cutover, Odin-outage freeze, and negative legacy authority before purging old units, releases, state roots, and the remote acceptance debris. `GameCult/cultcache-rs` and `GameCult/cultnet-rs` now have no readers anywhere: Epiphany `68939b2c` and CodexConnector `6519289` consume CultLib and carry no submodules at all, and Odin `27cc815` does the same. Both repos are retirable now: that work landed on CultLib main by fast-forward at `8cb3b72`, so every pinned revision -- Ghostlight `85f7024`, Epiphany and CodexConnector `e171eca`, Odin `cbde940` -- is an ancestor of main and resolves from a fresh clone. Still vendored are `VoidBot/vendor/cultcache-ts`, `Ghostlight/vendor/cultcache-py` and `Odin/vendor/cultmesh-rs`. The first two vendored because npm and pip cannot take a package from a subdirectory of a git repo the way cargo can, so there was nothing to depend on. CultLib `8cb3b72` adds a publish workflow: tagging `cultcache-ts-v*` or `cultcache-py-v*` ships `@gamecult/cultcache-ts` to npm and `cultcache-py` to PyPI, refusing any tag whose version disagrees with the manifest. Both repoints wait on the first publish, which needs an `NPM_TOKEN` secret and a PyPI trusted publisher. Ghostlight's is not a bare dependency swap: `tools/ghostlight_state_store.py` puts `vendor/cultcache-py/src` on `sys.path` so the state tooling works from a clone with no install step, and session bootstrap depends on that. Detail on the Odin repoint: Odin's vendored CultNet submodule and CultCache copy are gone from its worktree and both come from CultLib, with only `vendor/cultmesh-rs` still vendored and itself consuming CultLib. Odin's commit had to carry the in-flight CultMesh RUDP document server with it: the previously committed CultMesh calls `assume_connected()`, a CultNet method the fork had and CultLib does not, so the old code cannot build against CultLib at all. It depends on CultLib branch `claude/cultnet-reliable-expiry` at `cbde940`, which must reach main by merge rather than squash or the pinned rev is orphaned. Live citations name CultLib `85f7024`, a permanent ancestor of main; evidence records keep their pre-consolidation SHAs as dated history. Local run scaffolding, downloaded acceptance copies, and redundant Git bundles are already purged, and `.gitignore` now refuses them. + next_action: Ontology v2 is adopted (`docs/architecture/ghostlight-world-ontology.md`; `ghostlight-transition-algebra.md` and `ghostlight-multiresolution-agency.md` are teardown evidence); plan step 6 is nine passes. (1) Passes 1-8 integrated, nothing beyond: tip `3ed3868` (Soul) over `2252370` (pass 8 machine), on `106e7ef`/`5874fc2`; push follows a background crate test, `git status -sb` is the witness. Pass 8: `world/tool_schema.rs`, `world/elaboration.rs`; `SystemCapability::Elaborator{jurisdiction}`; `require_patch_author` and `confine_to_jurisdiction` at `reduce` and `apply_effect`; `Mismatch::OutsideJurisdiction`; `PATCH_TOOLS` (37); `ElaborationPort`/`submit_elaboration` is the only authoring door; `ControllerWork::Elaboration`, `WorkLane`; `ElaborationRunner` on runtime task `elaborate_world` with `ControllerModels.elaborator` from `GHOSTLIGHT_CONTROLLER_ELABORATOR_MODEL`; `NullEvidenceSource` in production today; schemas `world_state.elaboration.v1`/`world_commit.elaboration.v1`, `controller_work.v7`. Rulings: owner unconfined, elaborator confined at answer and write; boundaries cover transitively, deficit rows exact-key; elaborator-lane canonical facts bounded by `filter_evidence` (none land under `NullEvidenceSource`); `composite_schema` owns the one patch-schema spelling (follow-up in flight). Baseline 253 tests in `world/`, 293 crate source (focused `world::` run 252/288). Ontology op count now 27 at all three sites. In flight, not landed, both from `3ed3868`: `hands/pass8-followups` in `F:\Projects\Ghostlight-pass8fu` (`variant_content` unit variants so `Bounds::None` reachable; `composite_example` derived from schema; forged-row test; `every_declaration`/`every_component_op` exemplars; dead-code expectation removed) and `hands/pass9` in `F:\Projects\Ghostlight-pass9` (budgeted cover, from `imagination-pass9.md`). Uncommitted coordinator edits to the ontology and consumer-api docs are on main; pass-8 Current mechanism owed with the follow-ups. Specs/maps 1-9 in the session scratchpad, not `state/`; the handoff carries the per-pass integration recipe (unchanged), the binding ruling for pass 9 (no `uuid/v5`, sha256 into `Uuid::from_bytes`), pass 10 debts (authority, decode-time size bounds, phase, boundary answering, `mesh.rs` inbound ruling), and the queued doc edits (pass-8 Current mechanism; Invariant 11/Verification 16 expansion rule and covering asymmetry; Active bounded by the answer with two `AdmitPatch` authors; consumer-api drift note with pass-10 debts; `GHOSTLIGHT_CONTROLLER_ELABORATOR_MODEL` config; ceil(N/R) after pass 9). (2) First-generation world fixtures banked and pushed, reviewer-accepted except visual replay pending a scene-set blockout: Delvehold `cistern-house-nine-breaker-test` `codex/world-delvehold` @ `9374fd0`; Aetheria `navigator-berth-hearing-v0` `codex/world-aetheria` @ `fe679f4` (fixture `8860c47`, lore `ba5c2ce`); Zyphos `eclipse-nursery-handover` `codex/world-zyphos` @ `055e6ee` (lore `2fef909`); Kalsa `stormshield-handoff-v0` `codex/world-kalsa` @ `489c541` (lore `c9f4c5c`). The elaborator swarm is drained and handed off; this session does not own it: stop flag set 2026-09-04 20:10, drained 21:10 with 98 finished passes in `logs\elab-done.csv`, ledgers republished, successor handoff finalized at `C:\Users\Meta\.claude\worlds\README.md`. Resume waits on operator adjustments and belongs to the successor. Owed and deliberately deferred: integration of `slot/<world>/<title>/<stamp>` branches into the vaults (`codex/ghostlight-worlds`) and `codex/world-<world>`. Idea index: the four `experiments/elaboration/<world>/ledger/` directories on `codex/world-<world>`. Substrate lessons stay in `state/evidence.jsonl`; `Invoke-Worlds.ps1` is retired under `worlds\retired`. Clones at `F:\Projects\Ghostlight-worlds\<world>` and `F:\Projects\<Lore>-worktrees\ghostlight-worlds`; image rendering deferred, prompts only. Deferred behind both orders, not cancelled: review and subtract the uncommitted Idunn projection and bounded RUDP transport, add UDP route actuation plus an independently persisted post-reload data-plane observation, and verify that focused pass on Yggdrasil. Then implement the directly managed Rust Odin observation/correlation daemon and exact transaction-frozen capability dependency closure. Install rebuilt Idunn, admit Odin first, then CodexConnector and Ghostlight; prove same-generation continuity, fencing, signed health, route cutover, Odin-outage freeze, and negative legacy authority before purging old units, releases, state roots, and the remote acceptance debris. `GameCult/cultcache-rs` and `GameCult/cultnet-rs` now have no readers anywhere: Epiphany `68939b2c` and CodexConnector `6519289` consume CultLib and carry no submodules at all, and Odin `27cc815` does the same. Both repos are retirable now: that work landed on CultLib main by fast-forward at `8cb3b72`, so every pinned revision -- Ghostlight `85f7024`, Epiphany and CodexConnector `e171eca`, Odin `cbde940` -- is an ancestor of main and resolves from a fresh clone. Still vendored are `VoidBot/vendor/cultcache-ts`, `Ghostlight/vendor/cultcache-py` and `Odin/vendor/cultmesh-rs`. The first two vendored because npm and pip cannot take a package from a subdirectory of a git repo the way cargo can, so there was nothing to depend on. CultLib `8cb3b72` adds a publish workflow: tagging `cultcache-ts-v*` or `cultcache-py-v*` ships `@gamecult/cultcache-ts` to npm and `cultcache-py` to PyPI, refusing any tag whose version disagrees with the manifest. Both repoints wait on the first publish, which needs an `NPM_TOKEN` secret and a PyPI trusted publisher. Ghostlight's is not a bare dependency swap: `tools/ghostlight_state_store.py` puts `vendor/cultcache-py/src` on `sys.path` so the state tooling works from a clone with no install step, and session bootstrap depends on that. Detail on the Odin repoint: Odin's vendored CultNet submodule and CultCache copy are gone from its worktree and both come from CultLib, with only `vendor/cultmesh-rs` still vendored and itself consuming CultLib. Odin's commit had to carry the in-flight CultMesh RUDP document server with it: the previously committed CultMesh calls `assume_connected()`, a CultNet method the fork had and CultLib does not, so the old code cannot build against CultLib at all. It depends on CultLib branch `claude/cultnet-reliable-expiry` at `cbde940`, which must reach main by merge rather than squash or the pinned rev is orphaned. Live citations name CultLib `85f7024`, a permanent ancestor of main; evidence records keep their pre-consolidation SHAs as dated history. Local run scaffolding, downloaded acceptance copies, and redundant Git bundles are already purged, and `.gitignore` now refuses them. gestalt_population: Gestalt Personas own shared population baselines; persistent member deltas own named individuality; WorldKernel materialization and approval-gated fission preserve lineage and identity. Materialisation/folding changes only representation and the exact member delta, advances resolution epoch, and retires the old cover; it has no Gestalt-wide effect authority. Selected actionable member exceptions are mandatory Projector perspective owners, so aggregation cannot silently erase their decision. Presence projection is limited to nearby active leaves and exact-location dormant members, includes reciprocal player relationship evidence, and may propose an earned cast without committing it. Simulation cells are derived covers only. diff --git a/state/scratch.md b/state/scratch.md index a3b2e36..a1ba838 100644 --- a/state/scratch.md +++ b/state/scratch.md @@ -2,11 +2,11 @@ ## Current Subgoal -Plan step 6 pass 8 (boundary elaboration: `AdmitPatch` answers, `WorldScaleIntent` -deficit, `ElaborationRunner`, derived elaborator tool catalog) with Hands in -`F:\Projects\Ghostlight-pass8` on `hands/pass8`, alongside the pass-7 -follow-ups in `F:\Projects\Ghostlight-pass7fu` on `hands/pass7-followups`; -both from `1852ddd`. Main tip `1852ddd`, passes 1-7 integrated. +Plan step 6 pass 9 (budgeted connected cover, scheduler-owned, kernel never +sees a cell) with Hands in `F:\Projects\Ghostlight-pass9` on `hands/pass9`, +alongside the pass-8 follow-ups in `F:\Projects\Ghostlight-pass8fu` on +`hands/pass8-followups`; both from `3ed3868`. Main tip `3ed3868`, passes 1-8 +integrated. Pass 9 must not enable `uuid/v5`. ## Working Notes