diff --git a/docs/architecture/delvehold-forced-ontology-integration.md b/docs/architecture/delvehold-forced-ontology-integration.md index e09a3a9..f5ba8ae 100644 --- a/docs/architecture/delvehold-forced-ontology-integration.md +++ b/docs/architecture/delvehold-forced-ontology-integration.md @@ -13,8 +13,9 @@ Use Ghostlight's live external-world simulation as an ordinary API consumer without making it the owner of DELVE/HOLD players, workshops, dungeons, civic state, or quantitative economy. DELVE/HOLD provides an authored ontology and fixed seed for one canonical outside world through consumer-neutral Ghostlight -operations. This bypasses Session Zero world generation, not `WorldKernel`, -typed validation, the mutation algebra, or atomic CultCache commits. +operations. A consumer seed does not pass through the seed lane; it enters as +a consumer document, and this bypasses none of `WorldKernel`, typed +validation, the mutation algebra, or atomic CultCache commits. ## Core and consumer cut @@ -83,8 +84,9 @@ Major committed events cross promptly. Ordinary material flow closes hourly. Rec Ghostlight needs: -1. one seed admission primitive (`AdmitPatch` in Draft) shared by the seed - producer and consumer seed authors; +1. one seed admission primitive, `AdmitPatch`, shared by the world owner, the + Draft seed lane acting as the owner, the Active elaborator, and the + external consumer; 2. generic external-subject ownership metadata enforced by selection and mutation gates; 3. generic consumer effect-schema registration or supply; diff --git a/docs/architecture/ghostlight-dungeon-multiplayer-intention.md b/docs/architecture/ghostlight-dungeon-multiplayer-intention.md index 3b86d5b..27c3c51 100644 --- a/docs/architecture/ghostlight-dungeon-multiplayer-intention.md +++ b/docs/architecture/ghostlight-dungeon-multiplayer-intention.md @@ -3,9 +3,10 @@ ## Status Bounded cooperative multiplayer is implemented in the current MVP: one to -eight authenticated players complete Session Zero and begin in one shared -scene with sequential public actions, actor-filtered surfaces, pooled -Persona-cell entitlements, and unanimous time, travel, and budget governance. +eight authenticated players create and seed a world (`world.create` v2, +`world.seed`) and begin in one shared scene with sequential public actions, +actor-filtered surfaces, pooled Persona-cell entitlements, and unanimous time, +travel, and budget governance. The broader model in this document remains the direction for split parties, private play actions, simultaneous declarations, delegation, and PvP. diff --git a/docs/architecture/ghostlight-dungeon-mvp.md b/docs/architecture/ghostlight-dungeon-mvp.md index 6fe2ec5..2ef7a08 100644 --- a/docs/architecture/ghostlight-dungeon-mvp.md +++ b/docs/architecture/ghostlight-dungeon-mvp.md @@ -130,8 +130,9 @@ commit, or declare the world complete. The following cannot decide canonical state: - HTTP, native, Eve, CultMesh, or chat handlers; -- Session Zero directors, compilers, elaborators, Projectors, Personas, - Interpreters, assessors, verifiers, reconcilers, narrators, and copy desks; +- Projectors, Personas, Interpreters, assessors, verifiers, reconcilers, + narrators, and copy desks; the elaborator decides nothing directly and + writes only through its confined `AdmitPatch` capability; - schedulers, attention planners, initiative selectors, and resolution covers; - acceptance drivers, smoke binaries, checkpoints, resume journals, caches, and compaction summaries; @@ -288,8 +289,7 @@ The closed command vocabulary includes lifecycle and membership changes, contract and boundary changes, speech, ontology construction, subject decisions, time advance, external snapshots, evidence admission, and archive. Every command lowers to the same mutation vocabulary. There is no -`commit_elaboration`, separate component-batch ingress, direct compiler install, -or reload repair path. +`commit_elaboration`, separate component-batch ingress, or reload repair path. ## Inference boundary @@ -564,7 +564,10 @@ the road is exercised against a real controller is the local live smoke membrane, operational lane, clock, and elaboration sweep against a CodexConnector on a genesis world. Its first run (2026-09-05) proved the path end to end and showed that a three-subject, one-room genesis yields thin -prose; a seed producer is the gap that finding names. +prose; a seed producer is the gap that finding names. Step 8 landed that seed +producer: `world.create` v2 carries the scale intent at genesis, `world.seed` +runs one `SeedRunner` session per invocation against a `VaultEvidenceSource`, +and the extended live smoke seeds a world before it ticks. Focused tests must prove: diff --git a/docs/architecture/ghostlight-eve-native-interface.md b/docs/architecture/ghostlight-eve-native-interface.md index 2c6343d..61498c8 100644 --- a/docs/architecture/ghostlight-eve-native-interface.md +++ b/docs/architecture/ghostlight-eve-native-interface.md @@ -4,8 +4,9 @@ Ghostlight exposes one actor-filtered logical surface, `ghostlight.play`. Eve owns its editable bindings, command invocation, receipts, plugin composition, -and browser lowering. Ghostlight continues to own Session Zero and world -admission; Heimdall continues to own authentication and entitlement decisions. +and browser lowering. Ghostlight continues to own world creation +(`world.create` v2), the Draft seed lane (`world.seed`), and world admission; +Heimdall continues to own authentication and entitlement decisions. ```text Ghostlight projection @@ -23,7 +24,7 @@ Ghostlight projection changes, Heimdall owns OAuth attempts and claims, and Ghostlight's app-session owner binds a verified Heimdall subject to a local cookie. - Inputs: the provider projector reads only the caller's app session, - membership, actor-filtered campaign or Session Zero slice, and public + membership, actor-filtered campaign or Draft world slice, and public Heimdall gate state. Command ingress reads one canonical Eve invocation and derives member and actor identity server-side. - Outputs: one `gamecult.eve.surface.v1` document and one persisted @@ -34,9 +35,9 @@ Ghostlight projection interaction state. None grants access or mutates fiction. - Forbidden writers: the browser, Eve lowerer, Heimdall plugin, SSE stream, account preferences, and old auth store cannot choose an actor, establish - membership, approve a Session Zero decision, or commit world state. + membership, approve a Draft admission, or commit world state. - Shared paths: every UI operation resolves the authenticated account and - exact membership, then calls the existing Session Zero or world mailbox. + exact membership, then calls the existing world mailbox. SSE carries invalidation only and the host refetches the same surface. - Cut line: the bespoke browser renderers and product-specific API routes are removed from the public router. Ghostlight's backend callback and local @@ -82,8 +83,9 @@ account-subject hash, Heimdall session/revision, capabilities, expiries, and wrapped refresh claim persist in `app-sessions.cc`. Campaign authorization is always derived from `campaign_membership.v1`; account preferences contain only the selected campaign. `campaign.entry` may clear only that preference so the -same authenticated player can return to the campaign list or begin another -Session Zero; it cannot leave, reset, fork, or mutate any campaign. +same authenticated player can return to the campaign list or begin creating +another world with `world.create`; it cannot leave, reset, fork, or mutate any +campaign. Session Zero registry lookup treats only non-terminal negotiations as active: `published` and `archived` records remain durable history but cannot replace the campaign-entry surface after the preference is cleared. diff --git a/docs/architecture/ghostlight-world-ontology.md b/docs/architecture/ghostlight-world-ontology.md index e6a993c..398ca84 100644 --- a/docs/architecture/ghostlight-world-ontology.md +++ b/docs/architecture/ghostlight-world-ontology.md @@ -209,6 +209,37 @@ travels over two wire schema constants, `CONSUMER_PATCH_SCHEMA` and (state-schema generation `world-v3`); a store written under an earlier schema is refused, not migrated. +`WorldScaleIntent` now arrives at creation, not as a later admission: +`world_create.v2` declares targets and jurisdiction roots top-level in the +genesis patch beside `commons`; a v1-announcing invocation is refused before +any handler runs, and the intent is write-once, set once at genesis and +resolved nowhere else. `qualifies` is phase-free — a controller, a non-empty +grant set, and a held `Goal`, checked the same way in Draft and Active — and +the Draft-answer refusal lives only in `require_answer`, which refuses every +Draft answer regardless of what `qualifies` says; so a Draft world's deficit +measures what the seed lane has left to author, not a frozen count. The seed +lane (`SeedPort`'s two methods `snapshot` and `submit_seed`, `SeedRunner`, +`SeedSession`, `ControllerWork::Seed`, `controller_work.v10`) admits seed +patches as `CallerId::Principal(owner)` through the existing unconfined owner +lane, in Draft only: the journal carries no marker distinguishing a +model-authored seed patch from a hand-authored one, because the model is the +owner's Hands during Draft and the owner's `ApproveDraft` plus `ActivateWorld` +remain the only path to Active. Evidence for a seed session comes from +`VaultEvidenceSource`, a read-only markdown directory reader in +`world/vault.rs`: the reference it hands back is the note's vault-relative +`.md` path, and its caps (`MAX_VAULT_RECEIPTS`, `MAX_HITS_PER_REFERENT`, +`MAX_LINK_FANOUT`, `MAX_EXCERPT_CHARS`) bound what one referent can retrieve. +One `world.seed` invocation runs one session and commits at most one patch +within the existing patch caps, driven by `select_row` choosing the first +`ScaleDeficitRow` with a nonzero deficit off the snapshot; `prompt_body`, the +evidence-and-mismatch tail of an authoring prompt, is shared by both the +elaboration lane and the seed lane so the two cannot drift on what a citation +rule says. One correction against the vocabulary above: a `Goal` commitment +carries no counterparty and by itself manufactures no `MissingStructure` +boundary; a commitment with a counterparty does, which is why a seeded +subject's bare goal is exactly the boundary the Active elaborator exists to +answer. + 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 @@ -219,8 +250,8 @@ rejected with `KernelError::ScopeChanged` otherwise. State schema is `ghostlight.world_commit.consumer.v1`, controller work `controller_work.v9`; earlier stores are refused. Ghostlight owns a conserved narrative ledger; Delvehold owns the economy (`delvehold-forced-ontology-integration.md`). -Step 6 of the plan is complete; the outbound consumer response is the next -seam. +Step 6 of the plan is complete. The next seam is the seeded live run against a +real Vault and a real connector, then the outbound consumer response. ## The failure this vocabulary is designed against diff --git a/notes/fresh-workspace-handoff.md b/notes/fresh-workspace-handoff.md index 4b7eda1..a5a418a 100644 --- a/notes/fresh-workspace-handoff.md +++ b/notes/fresh-workspace-handoff.md @@ -307,39 +307,59 @@ are teardown evidence. Plan step 6 is ten implementation passes, all landed. Still deferred by design: `PolityInCausalRange`, `IndividuationRequired`, and Verification 13 wait for relations and population slices. - In flight: the operator ordered "Build the seed producer" on 2026-09-05. - Nothing is edited yet; Modeling is mapping the source into the session - scratchpad `modeling-seed.md`, then Imagination, Hands in an isolation - worktree, Soul in that tree, coordinator integrates. Operating assumption - recorded from the coordinator: a Draft-phase authoring session on the - existing elaboration repair loop, a local markdown Vault as - `EvidenceSource`, seed patches admitted in Draft for owner approval, - driven by the scale deficit from `WorldScaleIntent` at world creation, - triggered by an owner-only Eve command; no new reducer, ID allocator, or - `SystemCapability`. Two source facts the steward checked that the - assumption must absorb before Hands cuts: (1) `CreateWorldIntent` - (`world/mod.rs:311`) carries no scale intent and `WorldMailbox::create` - seeds genesis with `WorldScaleIntentRef::default()` (`mailbox.rs:169`), - so at creation the intent is empty and the deficit is zero; the genesis - patch lane already carries `Option` - (`patch.rs:1805`), so the intent must arrive there or `CreateWorldIntent` - must grow it; (2) `SeedRequest` is not inhabited and Draft answers - nothing (`mod.rs:1563`, `require_answer`), so the ontology doc's - draft-phase `SeedRequest` answer (ontology lines 516 to 533, plan step 6 - pass 8) is a promise, not a live mechanism, and the elaboration loop's - answer binding is Active-only today. What is live: `EvidenceSource` - (`elaboration.rs:229`, production supplies `NullEvidenceSource`); - `AdmitPatch` against a draft world under draft authority as the one seed - admission path (ontology 539 to 541, consumer-api 11 to 12); - `WorldScaleIntent` and `derive_scale_deficit` (ontology 138, 562). No - plan step names this organ; it is new scope after step 6. + The seed producer is integrated: plan step 8 landed. Tip is `697ed07` + (Soul: five reproducers, eight bounds) over `e73ef5c` and `681f706` + (Hands), on `70600d8` (plan step 8 opened). The push follows a background + crate test and the branch read `ahead 3` at the time of writing; + `git status -sb` is the witness. What landed: `world/vault.rs` with + `VaultEvidenceSource` and its caps; `SeedPort` (`snapshot`, + `submit_seed`) in `world/mailbox.rs`; `SeedRunner`, `SeedSession`, + `SeedCheckpoint`, `SeedOutcome` in `world/elaboration.rs` sharing + `prompt_body` with the elaborator; `ControllerWork::Seed`, + `WorkLane::Seed`, `controller_work.v10`; `qualifies` is phase-free and + `require_answer` owns the Draft refusal; `world_create.v2` carries + `targets` and `jurisdictions` and `world_create.v1` is refused; + `world.seed` in the Eve schema, arm, button, descriptor, and card; the + `world.advance_time` schema gap is closed with a totality test; + `GHOSTLIGHT_SEED_VAULT_ROOT` (`runtime.rs:1689`) is required and the + runner refuses to seed without it; one session per invocation. Baseline + at `697ed07`: 339 test functions in `world/*.rs`, 390 crate source, plus + one integration test. The two pre-cut questions are answered in source: + the scale intent arrives through `world_create.v2`, and Draft seeding + answers nothing by design with `require_answer` as the refusal owner. + + Soul verdict: integrate with follow-ups. Two real defects (a junction + escape in the Vault walk; absolute paths in `VaultError` reaching the + owner receipt), one overclaim (Active is refused once, by the runner, + not twice), one fixture dependence (boundaries come from obligations, + not goals), one lifetime gap (`VerifiedPrincipalEvidence` has no + expiry). Correction to a claim carried since pass 8: `derive_id` does + not have two call sites; production has eight. The invariant that + steers is that no pass adds a `derive_id` call site, and every ID still + derives by sha256 over world, command, and handle. + + In flight, not landed: `hands/seed-followups` in the worktree + `F:\Projects\Ghostlight-seedfu`, branched from `697ed07` with no commits + yet: canonicalize during the Vault walk and refuse reparse points; + `VaultError` without absolute paths; `SeedPort` phase-bound revision + submission; obligations in the brief; evidence `valid_until` enforced at + `submit_principal`; a receipt-cap guard. Main carries uncommitted doc + edits by a docs worker under coordinator ownership: the ontology + "Current mechanism" seed paragraph, the mvp doc, the Delvehold boundary + doc, the Eve native interface doc, the multiplayer intention doc, plan + step 8 marked landed, and a seeded run block in + `notes/local-live-smoke.md`. That run block currently points + `GHOSTLIGHT_SEED_VAULT_ROOT` at the fixture path + `F:\Projects\Ghostlight-smoke\vault` (line 58); the coordinator will run + the seeded road against Kalsa Public with root label "Low Sere" and + correct the note. The seeded road run follows the follow-ups. Decisions the operator owns: (a) whether a refused coupled constituent may re-submit once inside the same tick, to be taken with the submitted-versus-committed number in hand; (b) the authority for an - owner-only Eve `world.run_tick` command, which is not built; (c) is taken: - the seed producer is cut next, ahead of the outbound consumer response - batch with the non-loopback CultMesh lease and the deployment gate below. + owner-only Eve `world.run_tick` command, which is not built. Behind the seeded road run wait the outbound + consumer response batch with the non-loopback CultMesh lease and the + deployment gate below. The ten specs and maps (`imagination-pass1..10.md`, `modeling-pass1..10.md`) remain in the session scratchpad only and are history, not steering; the docs own the design. @@ -439,9 +459,5 @@ otes aculty-workflow-lessons-2026-09-04.md` state root or validate a complete allowed-path contract. - Keep this handoff compact. Move chronology to Git, evidence, or the frozen system map. -- `docs/architecture/ghostlight-world-consumer-api.md` is drift: it names - `CampaignRegistry`, `WorldSeed`, and `publish_session_zero`, none of which - exist in the sealed kernel. Pending rewrite against - `ghostlight-world-ontology.md`; do not design from it. - `docs/architecture/ghostlight-transition-algebra.md` is teardown evidence, not vocabulary authority. diff --git a/notes/ghostlight-implementation-plan.md b/notes/ghostlight-implementation-plan.md index 7f8c909..bf5c016 100644 --- a/notes/ghostlight-implementation-plan.md +++ b/notes/ghostlight-implementation-plan.md @@ -303,30 +303,50 @@ world acceptance run may start while Yggdrasil serves the legacy body. ### 7. Contract verification -### 8. Seed producer — in design +### 8. Seed producer — landed Objective: a world that is alive at genesis rather than three subjects in one room. The first live smoke (`notes/local-live-smoke.md`) proved the road and showed that genesis yields thin prose because nothing authored exists to want or be wanted. -Current mechanism: `WorldMailbox::create` builds a fixed genesis of three -subjects in `commons` and writes an empty `WorldScaleIntentRef`, so a fresh -world has zero deficit; the only Draft-phase author is the owner through the -same command, and no production path admits a second Draft patch. The -elaboration lane is Active-only by its answer selection; `EvidenceSource` is -a live trait whose production impl is null. +What landed: `world_create.v2` carries `WorldScaleIntent` (targets and +jurisdiction roots) into the genesis patch itself, write-once; a v1-announcing +invocation is refused before any handler runs. `qualifies` lost its +Draft-excluding phase clause, so a Draft world's scale deficit is live and +falls as structure is authored; the Draft-answer refusal that used to hide +behind that clause now lives only in `require_answer`. The Draft seed lane — +`SeedPort` (two methods, `snapshot` and `submit_seed`), `SeedRunner`, +`SeedSession`/`SeedCheckpoint`, `ControllerWork::Seed` and `WorkLane::Seed` on +`controller_work.v10` — runs one authoring session per `world.seed` +invocation on the existing elaboration repair loop, admitting at most one +Draft patch as `CallerId::Principal(owner)` through the unconfined owner lane; +there is no marker in the journal distinguishing a seed-authored patch from a +hand-authored one. `VaultEvidenceSource` (`world/vault.rs`) is the seed lane's +production `EvidenceSource`: a read-only markdown directory reader whose +evidence reference is a note's vault-relative `.md` path. +`world.advance_time`'s missing `operation_schema` entry — every invocation of +it was silently unreachable — was fixed ahead of `world.seed`, and +`every_operation_the_panel_emits_has_a_schema` is the totality test that makes +that class of gap fail loudly instead of silently. -Intended change: a Draft-phase authoring session on the existing elaboration -repair loop, reading a local markdown Vault through an `EvidenceSource`, -producing seed patches admitted in Draft for the owner to approve before -activation, planned against the scale deficit of a `WorldScaleIntent` that -must now arrive at creation. Triggered by an owner-only Eve command. +`SeedRequest` is resolved in the negative: Draft answers nothing, and the +seed lane's port cannot express an answered patch, so nothing ever needed +`SeedRequest` to bind. It stays representable in the `CausalBoundary` +vocabulary and uninhabited in practice. + +Left undone: the seeded live run (the extended local live smoke seeds a world +from a real Vault before ticking it, but has not yet been run against a real +connector — see `notes/local-live-smoke.md`); `ControllerWorkCustody::Owned` +gained a `seed_commands` count while `Grouped` still has none, an asymmetry +named and not fixed; the Vault's keyword fallback scores by raw token-count +match rather than any real relevance ranking; and `VaultEvidenceSource::open` +reads its whole configured +scope into memory on every invocation rather than caching across sessions. Cut line: no new reducer, ID allocator, conservation check, or `SystemCapability`; no second tool surface; no compatibility path for the -three-subject genesis. `SeedRequest` is inhabited only if the spec shows Draft -needs an answer to bind, which today it does not. +three-subject genesis. Required black-box proofs: diff --git a/notes/local-live-smoke.md b/notes/local-live-smoke.md index de4ef4e..5c71906 100644 --- a/notes/local-live-smoke.md +++ b/notes/local-live-smoke.md @@ -1,11 +1,12 @@ # Local Live Smoke -The one place the road is tested: the production tick driver, elaboration -sweep, and clock against a real CodexConnector on a genesis world, for a -configured number of ticks. Everything else proves the machine under fixture -inference ports. The harness is the ignored test -`runtime::tests::live_smoke_ticks_a_genesis_world_against_the_connector`; its -log is the deliverable. +The one place the road is tested: the seed lane, the production tick driver, +elaboration sweep, and clock against a real CodexConnector on a created +world, for a configured number of seed sessions and ticks. Everything else +proves the machine under fixture inference ports. The harness is the ignored +test +`runtime::tests::live_smoke_seeds_then_ticks_a_world_against_the_connector`; +its log is the deliverable. ## Substrate @@ -53,13 +54,24 @@ export GHOSTLIGHT_CONTROLLER_CONNECTOR=127.0.0.1:4103 \ GHOSTLIGHT_CONTROLLER_OPERATIONAL_MODEL=gpt-5.6-terra \ GHOSTLIGHT_CONTROLLER_ELABORATOR_MODEL=gpt-5.6-terra \ GHOSTLIGHT_SMOKE_TICKS=3 \ - GHOSTLIGHT_SMOKE_LOG='F:\Projects\Ghostlight-smoke\logs\smoke-ticks.log' -cargo test -p ghostlight-dungeon --bin ghostlight-dungeon live_smoke_ticks -- --ignored --nocapture + GHOSTLIGHT_SMOKE_LOG='F:\Projects\Ghostlight-smoke\logs\smoke-ticks.log' \ + GHOSTLIGHT_SEED_VAULT_ROOT='F:\Projects\Kalsa\Kalsa' \ + GHOSTLIGHT_SMOKE_VAULT_SCOPE='Public' \ + GHOSTLIGHT_SMOKE_SEED_SESSIONS=4 \ + GHOSTLIGHT_SMOKE_SEED_TARGET=6 \ + GHOSTLIGHT_SMOKE_SEED_ROOT_LABEL='Low Sere' \ + GHOSTLIGHT_SMOKE_SEED_BRIEF='A dry basin town that owes its water to the gate above it.' +cargo test -p ghostlight-dungeon --bin ghostlight-dungeon live_smoke_seeds_then_ticks -- --ignored --nocapture ``` -The caller runtime id must equal the one the connector config admits. +`GHOSTLIGHT_SEED_VAULT_ROOT` is required; the runner refuses to seed with it +unset. `GHOSTLIGHT_SMOKE_VAULT_SCOPE` and `GHOSTLIGHT_SMOKE_SEED_BRIEF` are +optional. The scope is a directory under the root; Kalsa's spoiler split is +that scope, so a world that must not see `Spoilers` is seeded from `Public`. +The root label must name a place the Vault knows; Low Sere has a Public note. The caller runtime id must equal the one the +connector config admits. -## First run, 2026-09-05 +## First run, 2026-09-05, before the seed lane Genesis: Active, three subjects (Operator, Persona, Operational Agent) in `commons`, three opportunities, no boundaries, no deficit rows (no scale @@ -85,3 +97,8 @@ the seed-producer gap, not a cognition fault. The older ignored test `real_codex_connector_cognition_modes_commit_speech` in `world/controllers.rs` predates pass 6 and declares its subjects unplaced, so it fails at `NoAudience` before reaching the provider; retire or place it. + +## Seeded run + +Not yet run. The harness now seeds a created world from a real Vault before +ticking it; the numbers land here once that road run happens. diff --git a/state/map.yaml b/state/map.yaml index 3847947..8b484f2 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-v3 release through the rebuilt Idunn recipe/binding/router seam, the live state root satisfies the complete world-v3 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: Plan step 6, the ontology widening, is complete: ten passes integrated on `codex/ghostlight-dungeon-mvp`, tip `a1fd645` (pass tips `5e53beb`, `e99af63`, `d2805fe`, `0f21a49`, `dbe176d`, `cb6a126`, `1852ddd`, `3ed3868`, `8aebfb6`, `a1fd645`); `git status -sb` is the push witness; the series evidence record is dated 2026-09-05. The kernel holds 12 component kinds over 27 operations under one `WorldPatch`, one reducer, one CAS commit, one decode bound (`patch::decode_patch`, `MAX_PATCH_*`), three confined `SystemCapability` arms (`Clock`, `Elaborator`, `Consumer`); pass 10 added `world/consumer.rs`, `PatchGround`, `confine_to_ground`, `ControllerAssignment::ExternallyControlled`, `ConsumerPort`/`submit_consumer`, `POST /cultnet/world-patch` (loopback, msgpack, `CONSUMER_BODY_LIMIT`), `ConsumerRegistry` from `GHOSTLIGHT_CONSUMER_CREDENTIALS`; schemas `world_state.consumer.v1`/`world_commit.consumer.v1`, `STATE_SCHEMA_GENERATION` world-v3 (Idunn expectation changes; every world-v2 phrase below now means world-v3). Baseline 313 tests in `world/`, 357 crate source (focused run 312/352). Pass-10 follow-ups landed in `8173c9c` and the docs in `842b5af`; nothing is in flight and no worktree exists. First local live smoke 2026-09-05 (`5e52943`, runbook `notes/local-live-smoke.md`, harness the ignored test `live_smoke_ticks_a_genesis_world_against_the_connector` in `runtime.rs`, substrate `F:\Projects\Ghostlight-smoke`, connector from the CodexConnector repo head with the `daemon` feature): three ticks against a real connector on a genesis world, revision 2->11, two singleton cells per tick, Persona spoke and the operational lane committed each tick, elaboration clean, 40-70 s per tick; evidence record 2026-09-05T13:42Z. Findings: the road works end to end; prose is thin because genesis is three subjects in one room, so the seed producer is the evidenced gap (no steering surface named it before). Stale: ignored test `real_codex_connector_cognition_modes_commit_speech` (`controllers.rs:6549`) fails at `NoAudience`, retire or place it. Next action, operator-ordered 2026-09-05: build the seed producer. Nothing edited yet; Modeling maps source into scratchpad `modeling-seed.md`, then Imagination, Hands in an isolation worktree, Soul, integrate. Operating assumption: a Draft-phase authoring session on the existing elaboration repair loop, local markdown Vault as `EvidenceSource`, seed patches admitted in Draft for owner approval, driven by the scale deficit from `WorldScaleIntent` at world creation, triggered by an owner-only Eve command; no new reducer, ID allocator, or `SystemCapability`. Checked against source before the cut: `CreateWorldIntent` (`mod.rs:311`) has no scale intent and genesis uses `WorldScaleIntentRef::default()` (`mailbox.rs:169`), so the deficit is zero at creation unless the intent arrives through the genesis patch lane (`patch.rs:1805`) or `CreateWorldIntent` grows it; `SeedRequest` is uninhabited and Draft answers nothing (`mod.rs:1563`), so the ontology's draft-phase seed answer is a promise and the loop's answer binding is Active-only today. Live seams: `EvidenceSource` (`elaboration.rs:229`, `NullEvidenceSource` in production), `AdmitPatch` against a draft world as the one seed admission path, `WorldScaleIntent`/`derive_scale_deficit`. No plan step names this organ; new scope after step 6. Operator decisions still open: (a) bounded in-tick re-submission for a refused coupled constituent, decided with the submitted-vs-committed number; (b) authority for owner-only Eve `world.run_tick`. (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. Deployment gate, deferred behind the operator decisions, 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: Plan step 6, the ontology widening, is complete: ten passes integrated on `codex/ghostlight-dungeon-mvp`, tip `a1fd645` (pass tips `5e53beb`, `e99af63`, `d2805fe`, `0f21a49`, `dbe176d`, `cb6a126`, `1852ddd`, `3ed3868`, `8aebfb6`, `a1fd645`); `git status -sb` is the push witness; the series evidence record is dated 2026-09-05. The kernel holds 12 component kinds over 27 operations under one `WorldPatch`, one reducer, one CAS commit, one decode bound (`patch::decode_patch`, `MAX_PATCH_*`), three confined `SystemCapability` arms (`Clock`, `Elaborator`, `Consumer`); pass 10 added `world/consumer.rs`, `PatchGround`, `confine_to_ground`, `ControllerAssignment::ExternallyControlled`, `ConsumerPort`/`submit_consumer`, `POST /cultnet/world-patch` (loopback, msgpack, `CONSUMER_BODY_LIMIT`), `ConsumerRegistry` from `GHOSTLIGHT_CONSUMER_CREDENTIALS`; schemas `world_state.consumer.v1`/`world_commit.consumer.v1`, `STATE_SCHEMA_GENERATION` world-v3 (Idunn expectation changes; every world-v2 phrase below now means world-v3). Baseline 313 tests in `world/`, 357 crate source (focused run 312/352). Pass-10 follow-ups landed in `8173c9c` and the docs in `842b5af`; nothing is in flight and no worktree exists. First local live smoke 2026-09-05 (`5e52943`, runbook `notes/local-live-smoke.md`, harness the ignored test `live_smoke_ticks_a_genesis_world_against_the_connector` in `runtime.rs`, substrate `F:\Projects\Ghostlight-smoke`, connector from the CodexConnector repo head with the `daemon` feature): three ticks against a real connector on a genesis world, revision 2->11, two singleton cells per tick, Persona spoke and the operational lane committed each tick, elaboration clean, 40-70 s per tick; evidence record 2026-09-05T13:42Z. Findings: the road works end to end; prose is thin because genesis is three subjects in one room, so the seed producer is the evidenced gap (no steering surface named it before). Stale: ignored test `real_codex_connector_cognition_modes_commit_speech` (`controllers.rs:6549`) fails at `NoAudience`, retire or place it. Seed producer integrated, plan step 8 landed: tip `697ed07` (Soul) over `e73ef5c`/`681f706` (Hands), on `70600d8`; push follows a background crate test, `git status -sb` is the witness. Landed: `world/vault.rs` (`VaultEvidenceSource`, caps); `SeedPort` (`snapshot`, `submit_seed`) in `mailbox.rs`; `SeedRunner`/`SeedSession`/`SeedCheckpoint`/`SeedOutcome` in `elaboration.rs` sharing `prompt_body` with the elaborator; `ControllerWork::Seed`, `WorkLane::Seed`, `controller_work.v10`; `qualifies` phase-free with `require_answer` owning the Draft refusal; `world_create.v2` with `targets` and `jurisdictions` (v1 refused); `world.seed` in Eve schema/arm/button/descriptor/card; `world.advance_time` schema gap closed with a totality test; `GHOSTLIGHT_SEED_VAULT_ROOT` required; one session per invocation. Baseline 339 tests in `world/`, 390 crate source. Soul: integrate with follow-ups; defects: junction escape in the Vault walk, absolute paths in `VaultError` reaching the owner receipt; overclaim: Active refused once by the runner; fixture dependence: boundaries come from obligations, not goals; lifetime gap: `VerifiedPrincipalEvidence` has no expiry. Correction: `derive_id` has eight production call sites, not two; the invariant is that no pass adds one. In flight, not landed: `hands/seed-followups` in `F:\Projects\Ghostlight-seedfu` from `697ed07`, no commits yet (canonicalize the walk and refuse reparse points; `VaultError` without absolute paths; `SeedPort` phase-bound revision submission; obligations in the brief; `valid_until` enforced at `submit_principal`; receipt-cap guard). Uncommitted docs-worker edits on main: ontology seed paragraph, mvp, Delvehold, eve-native, multiplayer, plan step 8 landed, smoke-note run block (its `GHOSTLIGHT_SEED_VAULT_ROOT` points at the fixture vault; the coordinator runs against Kalsa Public root label \"Low Sere\" and corrects it). Next: land the follow-ups, then the seeded road run per `notes/local-live-smoke.md`. Operator decisions still open: (a) bounded in-tick re-submission for a refused coupled constituent, decided with the submitted-vs-committed number; (b) authority for owner-only Eve `world.run_tick`. Behind the seeded run: the outbound consumer response batch with the non-loopback CultMesh lease, then the deployment gate. (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. Deployment gate, deferred behind the operator decisions, 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 d291f86..3ab23bf 100644 --- a/state/scratch.md +++ b/state/scratch.md @@ -2,15 +2,13 @@ ## Current Subgoal -Seed producer (operator order, 2026-09-05). Pipeline: Modeling -(`modeling-seed.md` in the session scratchpad) -> Imagination -> Hands in an -isolation worktree -> Soul in that tree -> integrate onto -`codex/ghostlight-dungeon-mvp`. Nothing edited yet at `f9a1c3e`. - -Before Hands cuts, the spec must settle: how `WorldScaleIntent` reaches genesis -(`CreateWorldIntent` has none; genesis uses `WorldScaleIntentRef::default()`; -the genesis patch lane carries `Option<WorldScaleIntentRef>`), and how a Draft -patch is bound when `SeedRequest` is uninhabited and Draft answers nothing. +Seed follow-ups with Hands in `F:\Projects\Ghostlight-seedfu` on +`hands/seed-followups` from `697ed07` (Vault walk canonicalization and reparse +refusal; `VaultError` without absolute paths; `SeedPort` phase-bound revision; +obligations in the brief; `valid_until` at `submit_principal`; receipt-cap +guard), then the seeded road run against Kalsa Public, root label "Low Sere", +per `notes/local-live-smoke.md` once its run block is corrected. Main tip +`697ed07`; plan step 8 landed. ## Working Notes