diff --git a/docs/architecture/ghostlight-library-extraction-cut.md b/docs/architecture/ghostlight-library-extraction-cut.md index c552ec9..095cd2d 100644 --- a/docs/architecture/ghostlight-library-extraction-cut.md +++ b/docs/architecture/ghostlight-library-extraction-cut.md @@ -3,7 +3,54 @@ Status: cut map. Ends are owned by `ghostlight-library-extraction.md`; this document owns the means. Written 2026-09-15 against `d83534c` on `codex/ghostlight-dungeon-mvp`; first version committed at `02bbf62`; -refreshed 2026-09-16 with the operator's rulings. Nothing landed. +refreshed 2026-09-16 with the operator's rulings. + +Cut 1 landed at Ghostlight `108b691..f859d2c`. `108b691` is 13 renames with +zero content change; `f859d2c` builds. Verified by Soul's own runs, not the +Hands report: library 419 passed + 1 ignored with test names identical to the +base `world::` set; 10 compile_fail doc-tests pass, also under +`--all-features`; Dungeon 50 + 1 ignored, all 49 base names present and the ++2 exactly the two new soul tests; no `[features]`, `cfg(feature`, or +`cfg(any(test` in the library; no schema string, `_NAMESPACE`, `derive_id`, +serde attribute, or `Preimage` changed; the rewritten tests fail under +mutation of what they pin. Windows only; the Linux release remains Idunn's. + +Soul found six defects. Triage: +- **F1 seal is name-based (high, open):** every `pub` ID derives + `Deserialize` (`crates/ghostlight/src/lib.rs:186-200`), as do `ScopeDigest` + (`:532`) and `DecisionOpportunity` (`:559`), so an external crate mints IDs, + reproduces `ScopeDigest::fixture`, and forges a `DecisionOpportunity` into + `derive_cover` from JSON. The reducer still rejects forged opportunities + (`lib.rs:4192-4201`), so kernel integrity holds and the invariant's wording + does not. Dungeon's own Eve payloads deserialize these types, so removing + the derives is not available. Operator question Q1-9 below. +- **F2 single-minter test is bypassable (medium, fix):** the count at + `crates/ghostlight-dungeon/src/app_session.rs:530-555` greps a literal and + misses `::new(`, an alias, a renamed test module, + or a subdirectory. +- **F3 surface wider than bought (low, fix):** 71 `pub` identifiers are + unreferenced by Dungeon; `ScopeDigest`, `WorkLane`, and `ScopeComponents` + compile as `pub(crate)` and were opened only to quiet `private_interfaces`. +- **F4 "Eve" named in library error strings (low, fix):** + `crates/ghostlight/src/controllers.rs:1494,2576,2582,2584`. Pre-existing; + invariant 3 is still unmet. +- **F5 two Hands claims false as stated (cosmetic, recorded):** `Cargo.lock` + did gain a `ghostlight` package entry (no new external package), and + `fixture_[a-z]` has 8 benign hits in Dungeon. +- **F6 recipe schema drift (pre-existing, recorded):** + `deployment/idunn/recipe.toml` declares `world_state.foundation.v0` and + `controller_work.v3` against code at `consumer.v4` and + `controller_work.v15`. Outside L0; it changes no behavior here. + +Open: **Q1-9 what sealing means.** A: restate invariant 1 as unforgeable +*admission* — external code may hold a syntactically valid ID or opportunity, +and the kernel must reject any it did not issue — and prove it with rejection +tests from an external crate plus the existing compile_fail set. B: make the +types unconstructible from outside, which means Dungeon stops deserializing +`DecisionOpportunity` in its Eve payloads and receives an opaque token +instead, a design change L0 excludes. **Recommended: A**, because the kernel +already enforces it and B moves work into L0 that the target puts out of +scope. Whichever is chosen, F2 and F3 are fixed in the same Hands batch. Rulings (operator, 2026-09-15): - **Q1-1 crate name:** "crate name is `ghostlight`." diff --git a/notes/fresh-workspace-handoff.md b/notes/fresh-workspace-handoff.md index fe1ffbd..d9e8fcd 100644 --- a/notes/fresh-workspace-handoff.md +++ b/notes/fresh-workspace-handoff.md @@ -281,9 +281,12 @@ passes L0–L4 and Dungeon passes D1–D3; D3 closes the gate. Dungeon is a consumer of the Ghostlight library. Session Zero is Dungeon authority; the library capabilities it needs are consumer-neutral and live in -the ontology doc's "Elaboration lenses and detail rules (target)". The world -kernel still sits in `crates/ghostlight-dungeon`; L0, extracting it into a -library crate, is the next cut. +the ontology doc's "Elaboration lenses and detail rules (target)". The world kernel is +the `ghostlight` library crate and Dungeon consumes it across a public +boundary; L0 landed at `108b691` and `f859d2c`. Soul's open items (F1 the +name-based seal, F2 the bypassable minter count, F3 the over-wide surface) +and operator question Q1-9 are in +`docs/architecture/ghostlight-library-extraction-cut.md`. Also owed on the way, found 2026-09-15 by reading source: diff --git a/state/evidence.jsonl b/state/evidence.jsonl index 0d9eb2b..cb2cd1b 100644 --- a/state/evidence.jsonl +++ b/state/evidence.jsonl @@ -18,4 +18,5 @@ {"note": "Item (a) closed 2026-09-11: the interrupted cell is exercised live and reported. Commit 81a1f53 reads the bound and renewed scope digests from the committed turn's own receipt (NarrativeDecision::re_lowering), carries them on the cover tick summary, logs one tracing line per re-lowered cell, and the smoke harness prints one 'interrupted cell subject= bound= renewed=' line per cell after the tick line. SDK run 11 passed (27 speak, 24 display, 14 gaps) with three interrupted cells, three lines, three re-lowerings in the trace, and each act once in the operator feed. Belief: the runbook's three conditions for this section hold on a live provider; the record and the receipt cannot disagree because the line is derived from the receipt.", "status": "ok", "ts": "2026-09-11T12:11:53+00:00", "type": "verification"} {"note": "Fragment fault diagnosed and cut 2026-09-11 (commit 855727f, controller_work.v15): the Interpreter was citing correctly (So, then the rest of the sentence; four visible acts as four calls) and the fold was discarding everything after the first span per kind as ambiguity gaps. A turn's utterance and display are now every span cited for them, joined in prose order; only an overlapping span is an ambiguity. SDK run 12 passed: 39 speak, 6 display, 10 gaps, zero overlap gaps, every cited span landed, two interrupted cells reported. Belief: when a capture looks fragmentary, check what the harness dropped before what the model quoted. Seed lane note: run 12 round 1 was rejected because the seed model wrote kind for type and omitted the over tag against an explicit schema, then narrated tool bugs; round 2 committed. Sampling, not a schema fault.", "status": "ok", "ts": "2026-09-11T12:34:04+00:00", "type": "verification"} {"note": "The titled elaborators were never an operator-approved cut, 2026-09-15. Patina, Charter, Ledger, Hearth, Tangle, Veil, Ember, and Numen fell in three steps: 4aebe17 (2026-09-01) listed titled elaborator quotas for deletion under the operator's whole-machine order; 6bb6869 deleted elaboration.rs and the titles with it; 9c662bd (2026-09-04) classed ElaboratorTitle as a model tribunal and reused 'eight elaborators' for per-jurisdiction loop instances without flagging the change. No record holds operator approval of the titles' removal. The tribunal was the titled semantic verifier and the fixed quotas, not the title: the Run 108 inspection called the titles excellent distinct lanes, and the 2026-09-04 elaborator swarm kept them. Operator direction: titles return as lenses over the typed ontology. A swarm of elaborators draws a title per session by the world's weights (world data, which Dungeon's Session Zero lets the player set); any title may add any structure, the title shapes what kind, and the weights set the world's flavor. No title gates admission, holds authority, or fills a quota. Design: ontology doc 'Elaboration lenses and detail rules'. Lesson: when cutting a compensator, separate the judging machinery from the capability it judged, and put a named, operator-visible feature before the operator before deleting it.", "status": "accepted", "ts": "2026-09-15T20:31:32+00:00", "type": "correction"} -{"ts": "2026-09-15T20:55:07+00:00", "type": "architecture", "status": "accepted", "note": "Library and consumer boundary, merged from two records, 2026-09-15. Ghostlight Dungeon is a consumer of the Ghostlight library, which serves all GameCult narrative simulation. Session Zero, Vault choice, players, sliders, and starting locations are Dungeon authority and never shape the library. Operator decisions: (1) extract the world kernel from crates/ghostlight-dungeon into a library crate before any library pass (plan step 15, L0); its only Dungeon import is app_session::VerifiedPrincipalEvidence, and the extraction is the first real public boundary. (2) The eight titles ship as the library's stock lens set. (3) Each world carries a typed detail rule, a function from place to detail level that the library evaluates; consumers choose the rule (Dungeon ByDistance anchored on important subjects, the player first; Delvehold Uniform). It must be typed data, not consumer code, because the deficit it produces is an admission input and journal replay re-runs reduce. WorldScaleIntent per-kind targets remain the ceiling the rule distributes. Lesson: name the owner, library or consumer, before designing a feature; a player-facing flow placed on the kernel quietly makes one consumer's policy library vocabulary."} +{"note": "Library and consumer boundary, merged from two records, 2026-09-15. Ghostlight Dungeon is a consumer of the Ghostlight library, which serves all GameCult narrative simulation. Session Zero, Vault choice, players, sliders, and starting locations are Dungeon authority and never shape the library. Operator decisions: (1) extract the world kernel from crates/ghostlight-dungeon into a library crate before any library pass (plan step 15, L0); its only Dungeon import is app_session::VerifiedPrincipalEvidence, and the extraction is the first real public boundary. (2) The eight titles ship as the library's stock lens set. (3) Each world carries a typed detail rule, a function from place to detail level that the library evaluates; consumers choose the rule (Dungeon ByDistance anchored on important subjects, the player first; Delvehold Uniform). It must be typed data, not consumer code, because the deficit it produces is an admission input and journal replay re-runs reduce. WorldScaleIntent per-kind targets remain the ceiling the rule distributes. Lesson: name the owner, library or consumer, before designing a feature; a player-facing flow placed on the kernel quietly makes one consumer's policy library vocabulary.", "status": "accepted", "ts": "2026-09-15T20:55:07+00:00", "type": "architecture"} +{"ts": "2026-09-16T00:27:09+00:00", "type": "architecture", "status": "accepted", "note": "L0 landed and the seal is name-based, 2026-09-16 (Ghostlight 108b691, f859d2c). The world kernel is now the ghostlight library crate; ghostlight-dungeon is the consuming binary. Soul verified independently: library 419+1 ignored with test names identical to the base world:: set, 10 compile_fail doc-tests, Dungeon 49 base names plus two new soul tests, no feature declared anywhere, and no schema string, _NAMESPACE, derive_id site, serde attribute or Preimage changed. Belief-changing finding: private constructors do not seal a public type that derives Deserialize. Every pub ID, ScopeDigest and DecisionOpportunity is deserializable, so an external crate mints them from JSON and rebuilds the exact fixture path ruling Q1-4 ordered unreachable; the ten doc-tests pin path names and stayed green when a Default impl that mints an ID was added. Dungeon's Eve payloads deserialize DecisionOpportunity, so the derives cannot simply be removed. What actually holds is kernel revalidation: reduce rejects an opportunity it did not issue (lib.rs:4192-4201). Operator question Q1-9 in docs/architecture/ghostlight-library-extraction-cut.md decides whether the invariant is restated as unforgeable admission (recommended, proven by rejection tests from an external crate) or the types are made unconstructible, which would require Dungeon to stop deserializing opportunities. Also open from Soul: a grep-based single-minter test that an alias or a subdirectory evades, and 71 public identifiers Dungeon never references. Lesson for any sealed boundary: prove unconstructibility from outside the crate, not path privacy; a derive is a public constructor."} diff --git a/state/ghostlight-state.cultcache.jsonl b/state/ghostlight-state.cultcache.jsonl index 6aa92a8..1a93930 100644 --- a/state/ghostlight-state.cultcache.jsonl +++ b/state/ghostlight-state.cultcache.jsonl @@ -20,3 +20,4 @@ {"key": "2026-09-11T123404Z0000-0018-669a3d80d19b", "payload": "eyJub3RlIjogIkZyYWdtZW50IGZhdWx0IGRpYWdub3NlZCBhbmQgY3V0IDIwMjYtMDktMTEgKGNvbW1pdCA4NTU3MjdmLCBjb250cm9sbGVyX3dvcmsudjE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HMiOiAiMjAyNi0wOS0xMVQxMjozNDowNCswMDowMCIsICJ0eXBlIjogInZlcmlmaWNhdGlvbiJ9", "stored_at": "2026-09-15T20:56:54.461617+00:00", "type": "ghostlight.evidence_record.v0"} {"key": "2026-09-15T203132Z0000-0019-36486c5016f3", "payload": "eyJub3RlIjogIlRoZSB0aXRsZWQgZWxhYm9yYXRvcnMgd2VyZSBuZXZlciBhbiBvcGVyYXRvci1hcHByb3ZlZCBjdXQsIDIwMjYtMDktMTUuIFBhdGluYSwgQ2hhcnRlciwgTGVkZ2VyLCBIZWFydGgsIFRhbmdsZSwgVmVpbCwgRW1iZXIsIGFuZCBOdW1lbiBmZWxsIGluIHRocmVlIHN0ZXBzOiA0YWViZTE3ICgyMDI2LTA5LTAxKSBsaXN0ZWQgdGl0bGVkIGVsYWJvcmF0b3IgcXVvdGFzIGZvciBkZWxldGlvbiB1bmRlciB0aGUgb3BlcmF0b3IncyB3aG9sZS1tYWNoaW5lIG9yZGVyOyA2YmI2ODY5IGRlbGV0ZWQgZWxhYm9yYXRpb24ucnMgYW5kIHRoZSB0aXRsZXMgd2l0aCBpdDsgOWM2NjJiZCAoMjAyNi0wOS0wNCkgY2xhc3NlZCBFbGFib3JhdG9yVGl0bGUgYXMgYSBtb2RlbCB0cmlidW5hbCBhbmQgcmV1c2VkICdlaWdodCBlbGFib3JhdG9ycycgZm9yIHBlci1qdXJpc2RpY3Rpb24gbG9vcCBpbnN0YW5jZXMgd2l0aG91dCBmbGFnZ2luZyB0aGUgY2hhbmdlLiBObyByZWNvcmQgaG9sZHMgb3BlcmF0b3IgYXBwcm92YWwgb2YgdGhlIHRpdGxlcycgcmVtb3ZhbC4gVGhlIHRyaWJ1bmFsIHdhcyB0aGUgdGl0bGVkIHNlbWFudGljIHZlcmlmaWVyIGFuZCB0aGUgZml4ZWQgcXVvdGFzLCBub3QgdGhlIHRpdGxlOiB0aGUgUnVuIDEwOCBpbnNwZWN0aW9uIGNhbGxlZCB0aGUgdGl0bGV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==", "stored_at": "2026-09-16T00:27:09.123819+00:00", "type": "ghostlight.evidence_record.v0"} diff --git a/state/map.yaml b/state/map.yaml index b50191e..1199529 100644 --- a/state/map.yaml +++ b/state/map.yaml @@ -54,7 +54,7 @@ hard_boundaries: - Seal world authority before widening ontology. Only WorldKernel may hold mutable aggregate state, issue canonical IDs, invoke the reducer, or write the journal. The public seam is create/open, immutable snapshot, CommandEnvelope submission, and typed receipt. Empty reductions do not commit; translation gaps remain non-fictional inference/evaluation evidence outside WorldState. - Every autonomous authority scope has exactly one decision controller. NarrativePersona preserves the Projector-Persona-Interpreter prose membrane; OperationalAgent may use a permissioned typed view and tools for operator-shaped cognition. Interpretation is total: representable material becomes typed proposals and unrepresented material becomes exact translation gaps. Neither mode changes authority, falls through to the other for a gap or infrastructure fault, or exercises the same opportunity twice. - Sparse causal sufficiency, not actor count, defines a valid world horizon. Counts, cover ratios, interestingness, political diversity, and prose quality are evaluation evidence and cannot admit ontology, reject a structurally valid mutation, or declare the world complete. Liveness is a separate authored claim: the seed's WorldScaleIntent (design target 2,400 subjects / 240 cells / 10% cover) is a scale deficit the elaborators pursue, and cover budget is the deliberate choke; validity never waits on it and it never gates admission. - - Ghostlight Dungeon is a consumer of the Ghostlight library, which serves all GameCult narrative simulation. Dungeon concepts (Session Zero, Vault choice, players, sliders, starting locations) are Dungeon authority and never shape the library; the library offers consumer-neutral capabilities and each consumer supplies its own policy. Source does not yet match: the world kernel lives in `crates/ghostlight-dungeon`; extracting it into a library crate is ordered as the first pass of plan step 15. + - Ghostlight Dungeon is a consumer of the Ghostlight library, which serves all GameCult narrative simulation. Dungeon concepts (Session Zero, Vault choice, players, sliders, starting locations) are Dungeon authority and never shape the library; the library offers consumer-neutral capabilities and each consumer supplies its own policy. The world kernel lives in the `ghostlight` library crate; `ghostlight-dungeon` consumes it across a public boundary (L0, commits `108b691` and `f859d2c`). That boundary is name-based: public ID types derive Deserialize, so external code can hold a syntactically valid ID; the kernel rejects any it did not issue. - Prompt text is projection, not truth storage. - A consumer-supplied ontology or fixed seed may never bypass WorldKernel validation, closed mutation authority, or atomic CultCache commit. - Delvehold retains quantitative economy authority. Ghostlight string resource handles and strategic resource effects must not impersonate quantities, prices, recipes, production capacity, inventories, orders, contracts, or conservation semantics. @@ -386,8 +386,9 @@ current_status: utterance and display are every span cited for them in prose order, commit 855727f, run 12). Next, in the operator's order (2026-09-15): - (a) the playtest gate (plan step 15): first extract the world kernel - from crates/ghostlight-dungeon into a library crate (L0), then library + (a) the playtest gate (plan step 15): L0 landed (the kernel is the + `ghostlight` library crate; Soul's F1/F2/F3 fixes and operator question + Q1-9 are open in the cut map), then library capabilities (the stock lens set of eight titles with weights, typed detail rules as a function from place to detail level, per-world evidence binding, elaborators in Draft; ontology doc "Elaboration lenses and detail