From 1203aa3286ba8da2f1ba9390970c22b3801fa9d4 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sat, 5 Sep 2026 03:24:11 +0200 Subject: [PATCH] Record pass 9 in the ontology and mvp docs and handoff Current mechanism describes the budgeted connected cover, the tick driver as the single clock owner, and the grouped-cell membrane rule; the scale section carries the ceil(N/R) bound, the two reasons the cap yields, and the contention finding with its open operator decision; the two stale claims about AdmitPatch phase and EvidenceRef are corrected; the consumer-api drift note names the decided transport; controller model variables are documented. Steward folded passes 1 through 9 and the pass 10 design state. Co-Authored-By: Claude Fable 5.1 --- docs/architecture/ghostlight-dungeon-mvp.md | 23 +++- .../ghostlight-world-consumer-api.md | 7 +- .../architecture/ghostlight-world-ontology.md | 77 ++++++++--- notes/fresh-workspace-handoff.md | 121 ++++++++++-------- notes/ghostlight-implementation-plan.md | 5 +- state/map.yaml | 2 +- state/scratch.md | 11 +- 7 files changed, 164 insertions(+), 82 deletions(-) diff --git a/docs/architecture/ghostlight-dungeon-mvp.md b/docs/architecture/ghostlight-dungeon-mvp.md index 0a4da51..f395996 100644 --- a/docs/architecture/ghostlight-dungeon-mvp.md +++ b/docs/architecture/ghostlight-dungeon-mvp.md @@ -108,7 +108,9 @@ The following are recalculated from committed state and may be discarded: - subject-local projections; - due-owner queues and attention plans; -- population covers and grouping choices; +- population covers, cells, cell ids, resolution, tick index, the agency + graph, and the cover budget (the only durable trace of a tick is the + controller-work row, custody-separate from world custody); - action-owner counts and causal-capacity summaries; - transcript, news, narration, and operator summaries; - Eve/CultUI and CultMesh documents; @@ -287,7 +289,13 @@ choose a mode opportunistically. The scheduler does choose resolution: a and is represented operationally, at coarse resolution, when grouped. That is a budget decision, not a mode change; the controller, its scope, and its authority are unchanged. A controller changes representation and model -ergonomics, never permission or commit authority. +ergonomics, never permission or commit authority. A `NarrativePersona` in a +grouped cell receives its typed view and nothing from the membrane; it mints +no `PersonaTurn`, so the immutable-turn-receipt rule does not apply to it. +The membrane is not weakened; it is not entered. The agency graph is +scheduler-only and is reachable from no prompt builder; its mailbox request +is port-narrowed (absent from the controller and elaboration ports), not +principal-authenticated. An opportunity is issued to exactly one controller. An untranslated intent or infrastructure fault cannot fall through to the other mode, and the same @@ -434,6 +442,17 @@ using unresolved pressure and time since the last opportunity, with subject id as the final tiebreak. Causal exposure is derivable from `dependencies` and is not an ordering input. It emits `DecisionOpportunity` values and cannot commit. +`drive_cover_tick` is the single owner of tick cadence, cover derivation, and +the clock: it derives the cover, runs the cells under a bounded concurrency +permit pool with a quarantine flag, and advances the clock after the cells so +every cell in a tick shares one `now` and one tick index. Its budget is +configuration (`GHOSTLIGHT_COVER_CELL_BUDGET`, `GHOSTLIGHT_COVER_CONSTITUENT_CAP`, +`GHOSTLIGHT_COVER_URGENCY_SLOTS`, `GHOSTLIGHT_CONTROLLER_MAX_CONCURRENT`, +`GHOSTLIGHT_TICK_INTERVAL_SECONDS`); changing any is a restart. The five +controller models are configuration too (`GHOSTLIGHT_CONTROLLER_PROJECTOR_MODEL`, +`_PERSONA_MODEL`, `_INTERPRETER_MODEL`, `_OPERATIONAL_MODEL`, +`_ELABORATOR_MODEL`), each with a default when absent. + The kernel commits one decision at a time through the mailbox. After each commit the planner derives a fresh queue. Parallel inference may speculate on one snapshot; a proposal binds to the scope digest of the components its diff --git a/docs/architecture/ghostlight-world-consumer-api.md b/docs/architecture/ghostlight-world-consumer-api.md index e75ef38..444a04c 100644 --- a/docs/architecture/ghostlight-world-consumer-api.md +++ b/docs/architecture/ghostlight-world-consumer-api.md @@ -8,8 +8,11 @@ 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. +other author). The transport is one typed inbound document over a second loopback route +beside `POST /cultnet/snapshot`, carrying the patch as a nested +canonical-msgpack byte frame bounded before any item deserializes; it is +not a fifth `execute_world` operation literal and not an organ of the +outbound mesh publisher. ## Objective diff --git a/docs/architecture/ghostlight-world-ontology.md b/docs/architecture/ghostlight-world-ontology.md index 28dd904..9732e0e 100644 --- a/docs/architecture/ghostlight-world-ontology.md +++ b/docs/architecture/ghostlight-world-ontology.md @@ -35,8 +35,9 @@ not from a model agreeing that the world is deep. ## Current mechanism -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 +Passes 1 through 9 of the widening are landed (`5e53beb`, `e99af63`, +`d2805fe`, `0f21a49`, `dbe176d`, `cb6a126`, `1852ddd`, `3ed3868`, +`8aebfb6`). 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 @@ -61,10 +62,13 @@ outcome bands. The ten inhabited operations are `Relocate`, `OpenRoute`, `Admit` (same-patch evidence), `Bind`, and `Release`; `apply_operations` is the one owner of operation application and conservation, and `patch::check_ledger` is the single named conservation check. -`CommandBody::AdmitPatch` is Draft-only and emits `WorldEffect::PatchAdmitted` -through the one `admit_resolved` insertion owner shared with genesis. No -production ingress authors a `WorldPatch` before pass 10; `EvidenceRef::new` -is `#[cfg(test)]`. +`CommandBody::AdmitPatch` emits `WorldEffect::PatchAdmitted` through the one +`admit_resolved` insertion owner shared with genesis; it has no phase gate of +its own, because in Active the answer rule below bounds what a patch may +declare. Before pass 10 the only production author of a `WorldPatch` is the +elaborator lane, which decodes items one at a time under its draft caps; the +kernel itself bounds a patch nowhere yet. `EvidenceRef::new` is `pub(super)` +and its production use is bounded by `filter_evidence`. Character action is a precondition-effect transition. Grants are `BTreeMap>`. `world/action.rs` owns @@ -161,6 +165,24 @@ and re-prompts with it, bounded by `ELABORATION_ROUND_BUDGET` and the `EvidenceSource` receipts (`filter_evidence`); with `NullEvidenceSource` no canonical fact and no `Admit` can land from the elaborator lane. +`world/cover.rs` owns the budgeted connected cover. `derive_cover(world, now, +tick, opportunities, agency_graph, budget)` is pure: it reads the attention +order that `order_opportunities` owns, reserves the urgency slots for its +head, rotates the remaining subjects through singleton cells by debt, and +packs the rest into grouped cells by connected component of the agency graph +(scheduler-only; reachable from no prompt builder). `Cell`, `Cover`, +`CellId`, `Resolution`, `TickIndex`, and `AgencyGraph` are derived and +disposable; the only durable trace of a tick is the `controller_work.v8` row +(`ControllerWork::Grouped`), custody-separate from world custody. A grouped +cell is one inference over partitioned per-constituent views returning zero +or one attributed proposal per constituent; declines are submitted first and +each proposal commits or is refused on its own scope digest; a coarse +`NarrativePersona` receives its typed view and does not enter the membrane. +Cell and constituent command ids are sha256-derived. The runtime's +`drive_cover_tick` is the single owner of tick cadence, cover derivation, +the bounded concurrency permit pool, the quarantine flag, and the clock, +which advances after the cells so every cell in a tick shares one `now`. + 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 @@ -168,9 +190,9 @@ 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.elaboration.v1`, commit schema `world_commit.elaboration.v1`, -controller work `controller_work.v7`; earlier stores are refused. Ghostlight owns a conserved narrative ledger; +controller work `controller_work.v8`; earlier stores are refused. Ghostlight owns a conserved narrative ledger; Delvehold owns the economy (`delvehold-forced-ontology-integration.md`). -Pass 9 adds the budgeted cover; pass 10 adds the consumer ingress. +Pass 10 adds the consumer ingress. ## The failure this vocabulary is designed against @@ -559,10 +581,9 @@ none of which is a second identity layer: quiet world moves without being looked at and without inventing spurious crisis. 3. **Ordered attention.** The scheduler is a pure planner over one revision. - It orders opportunities by unresolved pressure, causal exposure, - readiness, and time since last opportunity, so every subject receives - direct attention within bounded ticks absent a mandatory foreground - override. + It orders opportunities by unresolved pressure, then time since last + opportunity, then subject id, so every subject receives direct attention + within bounded ticks absent a mandatory foreground override. 4. **Cell resolution.** A singleton cell is detail focus: a `NarrativePersona` controller receives its prose membrane, an `OperationalAgent` its full permissioned view. A grouped cell is one inference over its constituents' @@ -574,10 +595,34 @@ none of which is a second identity layer: change. The cell can emit no cell-owned mutation, and no subject is ever spoken for by an arena. -Debt rotation makes the choke fair: with N subjects and budget B, every -subject reaches a singleton cell within about N/B ticks absent a mandatory -foreground override, and the deterministic clocks keep its commitments moving -in between. +Debt rotation makes the choke fair. With N active subjects, a cell budget B, +and U urgency slots reserved for the head of the attention order, the +rotation reserve is R = B − U, and a subject continuously active for +ceil(N/R) ticks with stable membership is a singleton at least once. ceil(N/B) +is unreachable whenever N > B, because it would leave subjects uncovered. The +constituent cap yields for two reasons, when the budget's token capacity is +short of the active count and when connected components cannot pack inside +the cell budget even with capacity to spare; the cell budget never yields; +`oversubscribed` is the operator-visible signal that the cap gave way. The +cover is pure over its inputs and the attention order is a real input: the +same subjects in a different order give the same coverage and a different +singleton set, because urgency and backfill read that order. The deterministic clocks keep commitments moving in +between. + +A grouped cell buys one inference, never one admission rule. Its constituents +are grouped because they are connected, so they are the subjects most likely +to contend: each attributed proposal binds to its own scope digest, and when +the first act lands (a telling changes a co-located listener's knowledge), +the second is refused `ScopeChanged` rather than committed on a stale scope. +Declines are submitted first so silent constituents consume their turn +without contention, and the driver reports submitted against committed per +cell so the gap is visible. The cover did not create the contention; two +singleton cells for the same pair would contend identically, and a refused +constituent costs one admission check rather than one inference. The grouping +heuristic stays. The open decision for the operator, to be taken with the +submitted-versus-committed number in hand, is whether a refused constituent +gets one bounded re-submission against its re-derived opportunity inside the +same tick, which costs no inference. ## What stays open diff --git a/notes/fresh-workspace-handoff.md b/notes/fresh-workspace-handoff.md index deda8d4..7373a47 100644 --- a/notes/fresh-workspace-handoff.md +++ b/notes/fresh-workspace-handoff.md @@ -225,56 +225,72 @@ 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 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. +1. Passes 1 through 9 are integrated; the ontology widening machine is + complete and only pass 10 (consumer ingress) remains in step 6. + `codex/ghostlight-dungeon-mvp` tip is `8aebfb6` (Soul) over `f013c1d` + and `71d8c53` (Hands, pass 9), on `7dbbc81` (pass-8 docs and handoff) and + `b5443d5` (pass-8 follow-ups). Earlier passes: `5e53beb`, `e99af63`, + `d2805fe`, `0f21a49`, `dbe176d`, `cb6a126`, `1852ddd`, `3ed3868`. The + push follows a background crate test and the branch read `ahead 3` at + the time of writing; `git status -sb` is the witness. - 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. + Pass 9 facts: new module `world/cover.rs` (`TickIndex`, `Resolution`, + `CellId`, `Cell`, `Cover`, `CoverBudget`, `AgencyGraph`, `derive_cover`); + `ControllerWork::Grouped` with `GroupedCheckpoint`; + `InferencePurpose::GroupedAgent`; owner-only `Request::AgencyGraph`, + port-narrowed rather than principal-authenticated; the runtime task + `drive_cover_tick` (`runtime.rs`) is the single owner of tick cadence, + cover derivation, and the clock, and advances the clock after the cells + (the pass-7 `advance_world_clock` task is gone, verified absent from + source); a `Semaphore` plus `AtomicBool` quarantine replaced the + controller mutex; environment `GHOSTLIGHT_COVER_CELL_BUDGET`, + `GHOSTLIGHT_COVER_CONSTITUENT_CAP`, `GHOSTLIGHT_COVER_URGENCY_SLOTS`, + `GHOSTLIGHT_CONTROLLER_MAX_CONCURRENT`, `GHOSTLIGHT_TICK_INTERVAL_SECONDS`; + `controller_work.v8`; world state and commit schemas stay at + `elaboration.v1`; no `Cargo.toml` change and no `uuid/v5`, verified. + Rulings adopted: fairness is ceil(N/R) with R = cells minus urgency + slots, verified at the 2,400/240 profile to close in 22 ticks, not 21; + the constituent cap yields for two reasons, capacity and packing, while + the cell budget never yields and oversubscribed is the signal; the cover + is pure and the attention order is a real input; coupled constituents in + a grouped cell contend and the second act is honestly refused with + `ScopeChanged`, and the grouping heuristic stays; the open operator + decision is whether to allow a bounded in-tick re-submission for a + refused constituent, to be taken with the submitted-versus-committed + number in hand. The owner-only Eve `world.run_tick` command is not built; + its authority decision is pending. Baseline at `8aebfb6`: 283 test + functions in `world/*.rs`, 323 crate source, plus one integration test + (the focused `world::` run reports 282 / 318; different counting rules, + compare like with like). - In flight, not landed, both branched from `3ed3868` with no commits yet at - the time of writing: - - `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`. + In flight, not landed: + - `hands/pass9-followups` in the worktree `F:\Projects\Ghostlight-pass9fu`, + branched from `8aebfb6` with no commits yet: `with_test_ports`, + `InferencePort`, and `ControllerWorkStore` to `pub(crate)` with spec + test 13.12 for concurrency plus quarantine; `drive_cover_tick` behind + narrow ports with an ordering test; `merges_are_deterministic_in_subject_order` + retired. + - Pass 10 design: `modeling-pass10.md` is on disk in the session + scratchpad; `imagination-pass10.md` is being written under ten rulings, + the load-bearing ones being: the consumer is a third `SystemCapability` + arm confined to one externally controlled subject; externally + controlled subjects get no opportunity and are skipped by the cover; + one atomic verdict per document, no partial acceptance; one kernel-side + decode bound for both lanes; transport follows the `POST + /cultnet/snapshot` precedent, not an `execute_world` literal; a + `ConsumerPort` as narrow as `ElaborationPort`; no Delvehold names in + core. No pass-10 worktree exists yet. 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. + `docs/architecture/ghostlight-world-ontology.md` (pass-9 scale paragraph, + the contention finding, and two stale claims Modeling caught: `AdmitPatch` + has no phase gate of its own, and `EvidenceRef::new` is `pub(super)` + bounded by `filter_evidence`, not `#[cfg(test)]`), + `docs/architecture/ghostlight-dungeon-mvp.md` (derived state, membrane, + tick driver and environment values), and the plan's step-6 pass-10 line. + Witness for pass 10: main-branch `git log` past `8aebfb6`, and + `git worktree list`. - Pipeline for pass 9 and pass 10: specs `imagination-pass1.md` through + Pipeline for 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`, @@ -296,14 +312,11 @@ landed, passes 2 through 9 are not. (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 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. + Queued doc edits, coordinator-owned: the pass-9 "Current mechanism" + paragraph, written with the follow-ups; and a config note for + `GHOSTLIGHT_CONTROLLER_ELABORATOR_MODEL`, which no doc names yet. The + pass-9 environment variables are in the uncommitted mvp edit (line 449) + and the ceil(N/R) wording in the uncommitted ontology edit (line 601). 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/notes/ghostlight-implementation-plan.md b/notes/ghostlight-implementation-plan.md index ad9767f..013ecc3 100644 --- a/notes/ghostlight-implementation-plan.md +++ b/notes/ghostlight-implementation-plan.md @@ -280,8 +280,9 @@ Implementation order, each pass landing tests before the next begins: never sees a cell. 10. Consumer ingress: the typed CultNet ingress through which an external consumer submits a `WorldPatch` or proposal to the sealed kernel. Until - this lands no production path deserializes a `WorldPatch`; - `EvidenceRef::new` stays `#[cfg(test)]`. + this lands the elaborator lane is the only production author of a + `WorldPatch`, and the kernel has no decode-time bound of its own; pass 10 + gives it one owner for both lanes. The deployment cutover (step 5) is deferred behind this stage, not cancelled. No world acceptance run may start while Yggdrasil serves the legacy body. diff --git a/state/map.yaml b/state/map.yaml index 95722d8..fdbc313 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-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///<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-9 integrated; only pass 10 (consumer ingress) remains in step 6. Tip `8aebfb6` (Soul) over `f013c1d`/`71d8c53` (Hands pass 9), on `7dbbc81`/`b5443d5`; push follows a background crate test, `git status -sb` is the witness. Pass 9: `world/cover.rs` (`TickIndex`, `Resolution`, `CellId`, `Cell`, `Cover`, `CoverBudget`, `AgencyGraph`, `derive_cover`); `ControllerWork::Grouped`/`GroupedCheckpoint`; `InferencePurpose::GroupedAgent`; owner-only port-narrowed `Request::AgencyGraph`; runtime `drive_cover_tick` is the single owner of tick cadence, cover derivation, and the clock (clock advances after the cells; `advance_world_clock` gone); `Semaphore` + `AtomicBool` quarantine replace the controller mutex; env `GHOSTLIGHT_COVER_CELL_BUDGET`/`_CONSTITUENT_CAP`/`_URGENCY_SLOTS`, `GHOSTLIGHT_CONTROLLER_MAX_CONCURRENT`, `GHOSTLIGHT_TICK_INTERVAL_SECONDS`; `controller_work.v8`; world schemas stay `elaboration.v1`; no `Cargo.toml` change, no `uuid/v5`. Rulings: fairness ceil(N/R) with R = cells - urgency slots (2,400/240 closes in 22 ticks); constituent cap yields for capacity and packing, cell budget never yields, oversubscribed is the signal; cover is pure, attention order is a real input; coupled constituents in a grouped cell contend and the second act is refused `ScopeChanged`, heuristic stays; open operator decision: bounded in-tick re-submission for a refused constituent, decided with the submitted-vs-committed number. Eve `world.run_tick` not built, authority pending. Baseline 283 tests in `world/`, 323 crate source (focused `world::` run 282/318). In flight: `hands/pass9-followups` in `F:\Projects\Ghostlight-pass9fu` from `8aebfb6`, no commits yet (`with_test_ports`/`InferencePort`/`ControllerWorkStore` to `pub(crate)` with spec test 13.12; `drive_cover_tick` behind narrow ports with an ordering test; retire `merges_are_deterministic_in_subject_order`). Pass 10 design: `modeling-pass10.md` on disk, `imagination-pass10.md` being written under ten rulings (consumer is a third `SystemCapability` arm confined to one externally controlled subject; such subjects get no opportunity and are skipped by the cover; one atomic verdict per document; one kernel-side decode bound for both lanes; transport per the `POST /cultnet/snapshot` precedent; `ConsumerPort` as narrow as `ElaborationPort`; no Delvehold names in core); no pass-10 worktree yet. Uncommitted coordinator edits on main: ontology (pass-9 scale, contention finding, `AdmitPatch` has no own phase gate, `EvidenceRef::new` is `pub(super)` bounded by `filter_evidence`), mvp (derived state, membrane, tick driver + env), plan step-6 pass-10 line. Specs/maps 1-9 plus `modeling-pass10.md` in the session scratchpad, not `state/`; the handoff carries the integration recipe (unchanged), the pass-10 debts (authority, decode-time size bounds, phase, boundary answering, `mesh.rs` inbound ruling), and the queued doc edits (pass-9 Current mechanism; a config note for `GHOSTLIGHT_CONTROLLER_ELABORATOR_MODEL`, named in no doc yet; the pass-9 env variables are in the uncommitted mvp edit). (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 a1ba838..e05f325 100644 --- a/state/scratch.md +++ b/state/scratch.md @@ -2,11 +2,12 @@ ## Current Subgoal -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`. +Pass-9 follow-ups with Hands in `F:\Projects\Ghostlight-pass9fu` on +`hands/pass9-followups` from `8aebfb6`, and pass 10 (consumer ingress) design: +`modeling-pass10.md` on disk, `imagination-pass10.md` in progress under the +ten rulings. Main tip `8aebfb6`, passes 1-9 integrated. Open operator +decisions: bounded in-tick re-submission for a refused constituent; Eve +`world.run_tick` authority. ## Working Notes