From 576c8ac66745c5953076014e744e5f675155de7b Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Wed, 16 Sep 2026 20:08:25 +0200 Subject: [PATCH] Close L1: postmortem, ledger, target and docs reconciled MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The stock lenses pass is closed. - The ghostlight library ships eight lenses. - Worlds carry weights as world data, and the owner can replace them. - Each elaborator session draws its lens replayably and records the lens and its instruction text. - Sessions run concurrently under their own permit ceiling. - In-flight work is found again by reading the store. All eight target invariants hold. The cut map records the second Cut 4 fix batch, Soul's final pass, Cut 5's verdicts and the ledger's actuals. The actuals are +4,907 / −266 in crates against about +1,300 estimated, the overrun overwhelmingly tests that caught real defects. Recorded as follow-ups: an Uncovered case the tests do not pin (L1.f15), and whether consumers may supply their own lens sets (L1.f16, the operator's). The target is rewritten as reconciled. The ontology loop no longer claims seed requests or Vault evidence for the Active sweep, the handoff says lens weights, and map.yaml names L2 as next. Co-Authored-By: Claude Opus 5 --- .../ghostlight-stock-lenses-cut.md | 62 ++++++- .../ghostlight-stock-lenses-postmortem.md | 152 ++++++++++++++++++ docs/architecture/ghostlight-stock-lenses.md | 125 ++++++-------- .../architecture/ghostlight-world-ontology.md | 8 +- notes/fresh-workspace-handoff.md | 2 +- state/evidence.jsonl | 3 +- state/ghostlight-state.cultcache.jsonl | 1 + state/map.yaml | 4 +- 8 files changed, 272 insertions(+), 85 deletions(-) create mode 100644 docs/architecture/ghostlight-stock-lenses-postmortem.md diff --git a/docs/architecture/ghostlight-stock-lenses-cut.md b/docs/architecture/ghostlight-stock-lenses-cut.md index 6dcee4f..db03681 100644 --- a/docs/architecture/ghostlight-stock-lenses-cut.md +++ b/docs/architecture/ghostlight-stock-lenses-cut.md @@ -1671,6 +1671,31 @@ not repo artifacts. `WorkPersistence`). Every later sweep then errors, and the driver logs it only at `debug` (`runtime.rs:1856`), so an operator would not see a wedged elaboration lane. Evidence for the L1.f1 ruling, not a fix here. +- **Second fix batch landed:** `635123f` (c4.s2.f2), `2b4b833` (c4.s2.f1), + `872ba35` (c4.s2.f3, the deletion in its own commit). + - c4.s2.f1: `a_retryable_fault_does_not_stop_the_sweep` kills + `held.stop = outcome.is_err()`. It uses a pool of 1, so the second + session exists only after the first faults; 30/30. + - c4.s2.f2: `the_sweep_claims_uncovered_work_beside_a_root_in_deficit` + kills the mutation that pushes `Uncovered` only when there is no deficit. + - c4.s2.f3: `&& self.answer_digest == other.answer_digest` removed from + `same_answer`. Counts unchanged; `session_command_id` still hashes the + digest, and two tests fail if it stops. +- **Soul's final pass** (against `b15ade4`; all three code items sound): + - The retryable-fault test cannot pass through overlap: the only permit is + held through `step_session`. + - The deletion is safe: `same_answer`'s single caller compares a session + whose id already binds the digest. One behaviour change: a forged row + under a derived id with a different digest is now adopted instead of + Superseded. Row integrity never bound id to digest, and the foreign-row + test already accepts adoption of copied rows. + - The Uncovered gap remaining is L1.f15. + - Doc findings: the ontology loop claimed seed requests and Vault evidence + for the Active sweep, the handoff said "title weights", and `map.yaml` did + not name L2. All three fixed at close-out. + - Soul's forced rebuild left an empty untracked + `crates/ghostlight-dungeon/src/lib.rs`. It was verified empty and + untracked, then removed. ### L1-Q10 Whether the in-flight listing excludes rows ready to submit @@ -1718,12 +1743,16 @@ not repo artifacts. - **Promises:** P5.1 No document describes the sequential unlensed sweep as the live system. P5.2 Every schema string in the live docs matches `lib.rs:172-173`, `controllers.rs:77-78` and `eve.rs:614`. -- **Landed:** -- **Verdicts:** +- **Landed:** `39b2af4` (ontology), `04fd004` (plan, handoff, `map.yaml`), + `b15ade4` (MVP doc), and close-out fixes by the root agent. The source + anchors in P5.2 have moved to `lib.rs:174-175`, `controllers.rs:78-79` and + `eve.rs:627`. +- **Verdicts:** Soul's final pass against `b15ade4`, plus the close-out fixes. | Promise | Verdict | Evidence | Mutations | |---|---|---|---| -| | | | | +| P5.1 | HOLDS after close-out | No live doc describes the sequential sweep; the target doc was rewritten at close-out. Soul found the ontology loop claiming seed requests and Vault evidence for the Active sweep; fixed | none; doc claims checked against source | +| P5.2 | HOLDS | `consumer.v5`, `controller_work.v16` and `world_create.v4` in the live docs match source. The remaining older names are marked history (L0 docs, plan steps 13 and 14, smoke runs, map step 13) | none | ## Subtraction ledger @@ -1734,7 +1763,7 @@ not repo artifacts. | 2 | ~6 (doc lines replaced, the v2 denial case) | library: state field, command, effect, two reducer arms, resolve param, mismatch variant, snapshot field, replay check ~90; 19 literal sites × 1 line; tests ~220; Dungeon: payload field, policy fn, Eve control and binding, three schema strings, harness ~40; tests ~60; docs ~8 | 0 deps; `consumer.v4` → `v5`; `world_create.v3` → `v4` | 12 files, +825 / −40: production ~130 across `lib.rs`, `patch.rs`, `journal.rs`, `mailbox.rs`, `action.rs`, `runtime.rs`, `eve.rs` plus 20 construction sites; tests ~650 (refusal matrix, direct `apply_effect` half, forged rows, state rows, replay). 0 deps; the two schema bumps as estimated | | 3 | ~4 (the constant as integrity reference, the whole-session supersession equality) | session fields, draw and text in `select_answer`, adoption rule, request param ~60; tests ~200; docs ~3 | `controller_work.v15` → `v16` | 6 files, +1071 / −113: production about +100 / −60 (`elaboration.rs` session fields, `same_answer`, adoption, draw in `select_answer`, request parameter, id signature, the constant deleted; `lens.rs` the constant moved in, the divisor guard, `weighs_the_same_as`, markers removed; `lib.rs` one call; `controllers.rs` two constants); tests about +890 (real-store tests, fixture generalization, two added tests); docs 1 line. `controller_work.v15` → `v16` as estimated | | 4 | ~35 (sequential sweep, `Inactive`, doc lines) | `sweep` + `demand_entries` with rediscovery ~110; trait method + three store impls ~45; second pool and its config ~25; tests ~360; docs ~14 | public `sweep` signature gains a `Semaphore`; `ControllerWorkStore` gains one required method; one new env variable | `elaboration.rs` production +220 / −82 (including the test-only `step_in`); `controllers.rs` production +56 / −2; `runtime.rs` production +41 / −18; tests about +1,430 / −194 (fixtures, gated ports, three real-store non-adoption cases); docs about +21. 0 deps; one env variable; one required trait method; one new public re-export (`ElaboratorSession`); `sweep` signature change | -| 5 | ~14 | ~25 | 0 | | +| 5 | ~14 | ~25 | 0 | Code (second Cut 4 fix batch): +107 / −12, two tests and one deleted comparison. Docs: +70 / −39 across the ontology, plan, handoff, `map.yaml` and MVP doc. 0 deps | Net for L1: about +1,300 lines, of which about two thirds are tests, no new dependency, no new crate, no new binary, four schema strings replaced, one @@ -1745,6 +1774,21 @@ ceiling that cannot starve simulation, an explicit weights payload) and retires one liability: a sweep whose only protection against a second session on one answer was that nobody wrote one. +Actual for L1, reconciled 2026-09-16 against `817c9f4`: 12 crate files, ++4,907 / −266 (`controllers.rs` +2,807, mostly tests; `runtime.rs` +571; +`elaboration.rs` +467; `lib.rs` +414; `lens.rs` +379 new; `journal.rs` +223; +`external_admission.rs` +237). Docs, notes and map +1,957 / −46, most of it +this cut map. The estimate was about +1,300; the overrun is overwhelmingly +test code, the same shape as L0. The tests bought real catches: a flaky +illegal-transition pin (3 of 40 runs), the untested Q7 resume rule, the +untested retryable-no-stop guard leg, a no-op revision under two spellings, +and a forged row caught by the wrong check. Four schema strings replaced as +estimated, one environment variable, one required trait method, one new +production type (`SessionPermit`), no dependency, crate or binary. Liabilities +retired beyond the estimate: the elaborator repair loop that never worked +across sweeps (L1.f10), and a background driver that a single task panic +killed silently. + ## Findings not assigned to a cut - **L1.f11 (pre-existing, medium, operator):** the browser create form is not @@ -1782,6 +1826,16 @@ session on one answer was that nobody wrote one. comparison at `:1650` can only be reached for same-ancestry rows and is effectively inert. L1-Q9 (A) fixes the elaborator lane only; the seed lane is outside L1. +- **L1.f15 (pre-existing behaviour, low, recorded):** `Uncovered` work is + pinned only for worlds with at most one named root. The mutation + `if jurisdictions.len() < 2` survives the whole suite: a world whose deficit + names two roots and not `Uncovered` would never sweep uncovered boundaries. + The behaviour is correct today; the case is untested. +- **L1.f16 (capability, operator):** the ontology once said consumers "may use + or replace" the stock lenses. `Lens` is a closed enum of eight, so + consumers choose weights only. Cut 5 made the doc match the code. Whether a + consumer-supplied lens set is still wanted is the operator's decision; + recommendation is to defer until a consumer needs one, likely Delvehold. - **L1.f14 (pre-existing, medium, operator):** stored controller-work rows are never retired. Soul's probe B: every committed elaborator session leaves a permanent `ReadyToSubmit` row. Probe A: a session refused on its last diff --git a/docs/architecture/ghostlight-stock-lenses-postmortem.md b/docs/architecture/ghostlight-stock-lenses-postmortem.md new file mode 100644 index 0000000..05decdd --- /dev/null +++ b/docs/architecture/ghostlight-stock-lenses-postmortem.md @@ -0,0 +1,152 @@ +# Ghostlight stock lenses (L1) postmortem + +Written 2026-09-16. Evidence: the cut map (`ghostlight-stock-lenses-cut.md`), +the target (`ghostlight-stock-lenses.md`), and the commits on +`codex/ghostlight-dungeon-mvp` from `817c9f4` to `872ba35`, plus the Cut 5 doc +commits. + +## Summary + +Elaboration in the `ghostlight` library now has a flavor the world's creator +controls: +- eight stock lenses; +- per-world weights in world state, replaceable by the owner; +- a replayable per-session draw that records the lens and its instruction + text on the session; +- concurrent sessions under their own permit ceiling. + +In-flight elaborator work is rediscovered by reading the store. +Scale: 12 crate files, +4,907 / −266; four schema strings replaced +(`consumer.v5`, `controller_work.v16`, `world_create.v4`, and the commit +schema); one environment variable; one required trait method; no dependency, +crate or binary. + +State at writing: landed and pushed, Windows-verified. The Linux release is +unexercised until Idunn builds it. The operator owes rulings on L1.f1 +(quarantine handling), L1.f13 (seed-lane orphans), L1.f14 (row retirement) +and L1.f16 (consumer lens sets). None blocks L2. + +## Scope and invariants + +The target set eight invariants: lenses never decide admission, every lens +sees the whole catalog, the draw is replayable, weights are admitted honestly, +concurrent sessions stay distinct, the lens is recorded and survives resume, +stores refuse rather than migrate, and no Dungeon concept enters the library. +All eight hold. Excluded: detail rules, evidence binding, Draft sessions +(L2–L4), and Dungeon's Session Zero surface (D1–D3). + +## Timeline + +| Cut | Commits | Soul passes | Notable finding | +|---|---|---|---| +| Map | `ff766e8` (with rulings Q1–Q9) | — | Two sessions on one answer collided; a boundary repair was Superseded forever after any commit | +| 1 lens module | `835ea4d` | 1 | No external crash path; duplicate keys last-wins; guard and divisor diverged | +| 2 weights, command | `d06fd7e`, `10be98c`; fixes `afca403`, `acb9b33` | 2 | Identical weights committed a no-op; forged row caught by the digest, not the rule; a padded twin still committed | +| 3 session, store, adoption | `dfb3c52..2bf8164`; fixes `f63dfd1..2c3b513` | 1 | Flaky pin (3/40); the Q7 resume rule untested; the call-site draw unpinned | +| 4 concurrency, pools, rediscovery | `8538fab..3e35b3d`; fixes `6f35229..0764842`, `635123f..872ba35` | 3 | The adoption rule on one test; speak-lane pool untested; a panic killed the driver; the retryable-no-stop leg unpinned | +| 5 docs | `39b2af4`, `04fd004`, `b15ade4` | 1 | The ontology claimed seed requests and Vault evidence for the Active sweep | + +## Structural delta + +The estimate grew from about +900 to about +1,300 as rulings added the owner +command and rediscovery. The actual was +4,907 / −266 in crates, overwhelmingly +test code (`controllers.rs` +2,807). Production grew by the lens module (379 +lines including its tests), weights and the command in the kernel, +session fields and adoption in elaboration, the concurrent sweep and +`SessionPermit`, and the runtime's second pool. Deleted: the sequential +sweep, `step`, `Clean`, `Inactive`, the instruction constant as integrity +reference, whole-session supersession equality, and a proven-dead digest +comparison. Nothing parked. + +## What Soul caught + +- **Untested operator rulings.** L1-Q7's whole purpose, that a resumed session + keeps its stored text when a lens's text changes, had no test: rebuilding the + text from the current lens passed everything. The operator ruled it; nothing + pinned it. +- **Flaky tests passing by luck.** A test rewrote a session's lens to a fixed + value while its fixture drew one at random. It failed about one run in eight, + and Hands' green run was luck. +- **Rules that no longer bear weight.** After Cut 4 routed resume through the + listing, Cut 3's adoption rule was guarded by a single test. Cut 3's own + former killers no longer reached it. +- **Semantic equality by spelling.** The no-op check compared raw maps, so + `{charter:3}` and `{patina:0, charter:3}`, which draw identically, still + committed revisions both ways. +- **Tests catching the wrong thing.** A forged all-zero journal row was + refused by a digest mismatch, so weakening the draw rule changed nothing. +- **Failure paths.** One panicking session task unwound out of the sweep, + aborted its sibling, and silently ended the runtime's elaboration driver + until restart. +- **Spec errors, caught before they shipped.** Identical weights "still a + commit"; a Dungeon payload mutation that could never fail; the `NoEffect` + variant the plan names but the kernel never had. + +## Operator corrections + +- **"Are you relying on some deterministic code outputting the same id rather + than just checking the state?"** This was the campaign's best question. It + came from Self having told the operator the lens "has to be recorded" in the + command identity. Answering it from the Body exposed the pre-existing + defect that the elaborator repair loop had never worked across sweeps (L1.f10), + and led to L1-Q9 (resume reads state). Missing context: Self framed the + recording question and the identity question as one. +- **Weights and Draft approvals.** Self recommended binding approvals to a + digest that included lens weights. The operator asked how weights could ever + alter an approval. They cannot: weights shape future elaboration, and the + owner may change them in any phase. Missing context: the probe that found the + approval gap happened to use weights. +- **Proportion.** "Dear Lord, we don't need even more machinery" (L1-Q5), and + the pools as "a ceiling, not a budget" (L1-Q4). Both shrank designs that Self + had presented with more options than they needed. + +## Incidents + +- **Agents ending their turn to wait.** Three times, an agent launched cargo + detached and ended its turn "to wait", and the work stopped until resumed by + hand. The brief already said to wait for long jobs. What fixed it was naming + how: block inside a tool call, with cargo in the foreground or `Wait-Process` + on the pid. Recorded in the Eureka changelog. +- **Line endings.** The working tree mixed LF and CRLF files over an LF index. + A naive newline anchor silently matched nothing, and `git apply -R` + rewrote an LF file to CRLF. Rule: detect each file's ending, require every + anchor to match exactly once, restore by reverse edit only. +- **A Soul probe left an empty untracked `lib.rs`.** Its permission to delete + was refused. Found in the report, verified, removed at close-out. +- **A map refresh raced an operator message.** Imagination finished before a + second ruling arrived, so the map contradicted two rulings until it was + resumed. Self held the commit until the map was refreshed. + +## What worked + +- Probing the operator's challenge instead of defending the design: the + stranding probe turned a question into a fixed pre-existing defect. +- Measuring flakes before and after (3/40, then 120/120) instead of rerunning + until green. +- Folding small, related findings into the next cut's pass instead of a + separate Hands and Soul cycle, with each still in its own commit. +- Skipping Soul on a test-only batch with an empty production diff, and + having the next Soul pass rerun its mutations. +- Derived status: no "Open:" line was ever hand-edited; questions were open + exactly while they lacked a ruling. + +## What to change in the pipeline + +- Tell agents how to wait, not only to wait (Eureka changelog, 2026-09-16). +- Treat any test built on a random draw or identity as requiring a loop. +- When the operator asks why a mechanism works, answer from the Body with a + probe before defending the design. + +## Open follow-ups + +| Item | Owner | Where | Why it can wait | +|---|---|---|---| +| L1.f1: quarantine-class elaboration errors never set quarantine, and are logged only at debug (c4.s2.f4: a panic in `persist` would wedge the lane silently) | operator | `runtime.rs` elaboration driver | Pre-existing; the lane keeps running | +| L1.f11: the browser create form never lifts bindings into the payload | operator ruled: D2 | `eve-browser-lowering`, `runtime.rs` | Fixed with the Session Zero surface | +| L1.f12: Draft approvals bound to nothing | operator ruled: deferred to multi-player | `lib.rs` `draft_approvals` | Approvals are the owner's own today | +| L1.f13: the seed lane orphans rows like deficits did | operator | `elaboration.rs` seed runner | Outside L1 | +| L1.f14: stored rows are never retired, including the L1-Q10 crash window | operator | controller work store | Growth bounded by world lifetime | +| L1.f15: `Uncovered` pinned only with at most one named root | Library | `elaboration.rs` | Behaviour is correct; the case is untested | +| L1.f16: consumer-supplied lens sets | operator | `lens.rs` | No consumer needs one yet | +| c3.s1.f3 cost: stored instruction text is not tied to the recorded lens | accepted with L1-Q7 | `elaboration.rs` | Only the local store file can write it | +| Linux release | operator via Idunn | Yggdrasil | Needs the deployment gate | diff --git a/docs/architecture/ghostlight-stock-lenses.md b/docs/architecture/ghostlight-stock-lenses.md index 13ae145..e66d6be 100644 --- a/docs/architecture/ghostlight-stock-lenses.md +++ b/docs/architecture/ghostlight-stock-lenses.md @@ -2,21 +2,23 @@ ## Status -Derived, not maintained: this pass is open until -`ghostlight-stock-lenses-cut.md` names landed commits for every cut and a -Soul verdict covers every Hands promise. Target written 2026-09-16 against -Ghostlight `ef04aa5`. +Closed 2026-09-16. Landed in Ghostlight `835ea4d..872ba35`, plus the Cut 5 +doc commits `39b2af4`, `04fd004` and `b15ade4`. The means, every ruling +(L1-Q1 to L1-Q10), and every Soul verdict are in +`ghostlight-stock-lenses-cut.md`; the scars are in +`ghostlight-stock-lenses-postmortem.md`. Windows only: the Linux release is +Idunn's build and is unexercised. ## Target Elaboration in the `ghostlight` library gets a flavor the world's creator controls. The library ships eight stock lenses. A world carries lens weights as world data. Every elaborator session draws one lens by those weights, -deterministically, and the drawn lens shapes what kind of structure the -session reaches for. Several sessions can elaborate at once. +replayably, and the drawn lens shapes what kind of structure the session +reaches for. Several sessions elaborate at once. The lenses are the library's, not Dungeon's. Dungeon supplies weights at -world creation and nothing more in this pass. +world creation. | Lens | Reaches for | Leads with | |---|---|---| @@ -29,77 +31,52 @@ world creation and nothing more in this pass. | Ember | disputes, hazards, instability, escalation, urgent pressure | pressure, near-due commitments | | Numen | religion, magic, ritual, awe, cosmology, the genuinely strange | facts, affordances, material | -The design text this target realizes is -`ghostlight-world-ontology.md`, "Elaboration lenses and detail rules -(target)", Lenses and Stock lens set bullets. +The design text is `ghostlight-world-ontology.md`, "Elaboration lenses and +detail rules", which separates what L1 implemented from what L2 to L4 owe. -## Invariants that must survive +## Invariants, reconciled with the Body -1. **A lens never decides admission.** The same patch submitted under two - lenses has the same admission result. A lens is not part of the caller's - identity, confinement ground, or any mismatch. No per-lens verifier and no - per-lens quota exist. -2. **Every lens sees the whole catalog.** The tool catalog is fixed per - build; a lens changes what the prompt emphasizes, never which tools exist. -3. **The draw is deterministic and replayable.** Given the same world and the - same session identity, the same lens is drawn. The library gains no RNG - dependency; the draw reuses the kernel's digest-based selection recipe. -4. **Weights are world data with honest admission.** A zero weight never - draws. An all-zero weight set is refused where weights are admitted. A - weight names only a lens the library knows. -5. **Concurrent sessions are distinct work.** Two sessions running at once are - distinct commands with distinct checkpoints. Neither collapses into the - other as "already present", neither admits a patch the other already spent, - and elaboration respects the runtime's controller permit pool. -6. **The lens is recorded.** The drawn lens is persisted with the session's - checkpoint and survives resume unchanged. A resumed session never redraws. -7. **Stores refuse, not migrate.** Any schema bump follows the existing rule: - older rows and states are refused at open, with no migration adapter. -8. **No Dungeon concept enters the library**, and the library/consumer boundary - stays sealed by admission (ruling Q1-9 of L0). +1. **A lens never decides admission.** The same patch admits identically under + all eight lenses, with the mismatch set equal to the pre-L1 capture. A lens + is not part of the command id, the caller, the confinement ground, or any + mismatch. Holds. +2. **Every lens sees the whole catalog.** The catalog signatures and digest + are unchanged from before L1; emphasis is prompt text only (L1-Q5). + Holds. +3. **The draw is replayable.** The lens is drawn from world id and command + id with the kernel's `select_band` recipe, and the library has no RNG + dependency. The operator cares about replayability, not about what seeds + the draw (L1-Q1). Holds. +4. **Weights are world data with honest admission.** `WorldState` carries + them (`consumer.v5`); creation requires explicit weights with no library + default (L1-Q6); the owner replaces them with `SetLensWeights` in any phase + (L1-Q3). An all-zero set is refused at creation, at the command, at the + Dungeon payload and in a stored state row. A set that draws the same as the + current one, however it is spelled, is refused as no canonical change. + Holds. +5. **Concurrent sessions are distinct work.** The sweep hands concurrently + running sessions distinct demand entries through an in-memory claim set. + The lens stays out of the command id, which remains the idempotency key + (L1-Q4). Elaboration draws from its own pool, a ceiling + (`GHOSTLIGHT_ELABORATION_MAX_CONCURRENT`, default 2), separate from the + simulation budget, and saturating either pool never delays the other. + Holds. +6. **The lens is recorded and resume reads state.** The drawn lens and its + instruction text are persisted on the session (`controller_work.v16`, + L1-Q7). A resumed session keeps both even if the weights or the lens's + text change. In-flight sessions are rediscovered from the store by what + they answer (L1-Q9); rows ready to submit are excluded from that listing + (L1-Q10). Holds. +7. **Stores refuse, not migrate.** `consumer.v4` states and + `controller_work.v15` rows are refused at open. Holds. +8. **No Dungeon concept enters the library**, and the boundary stays sealed + by admission. Holds. -## Out of scope +## Out of scope, still owed elsewhere - Detail rules, distance-weighted demand, and the permille cut (L3). -- Per-world evidence binding; the Active elaborator keeps `NullEvidenceSource` - (L2). +- Per-world evidence binding; the Active elaborator still uses + `NullEvidenceSource` (L2). - Elaborator sessions in Draft (L3). - Dungeon's Session Zero surface, slider proposal, and weight UI (D1-D3). - Dungeon only passes weights, or the library's defaults, at world creation. - -## Known constraints from the substrate map - -- Session command ids derive from world, jurisdiction and answer digest - (`crates/ghostlight/src/elaboration.rs:1271-1277`); two concurrent sessions on - the same answer at the same ancestry would share one id today. -- `ElaboratorSession` is `deny_unknown_fields` inside `controller_work.v15` - rows (`elaboration.rs:57-66`, `controllers.rs:77-78`), and checkpoint - progression requires the session to stay equal (`elaboration.rs:205`). -- `ELABORATION_INSTRUCTIONS` is a static string that feeds - `provider_request_id` (`elaboration.rs:52`, `controllers.rs:6018`); - `agent_prompt` is persisted and never rebuilt on resume - (`elaboration.rs:414-435`). -- `PATCH_TOOLS` is fixed per build; counts are pinned at (7, 30, 39) and order - is not (`patch.rs:6114-6146`, `:6811`, `:6971`). -- `scale_intent` is the only world-level scalar written at genesis, and it is - write-once by test (`lib.rs:844`, `lib.rs:14330`). No command changes a - world scalar after creation except time. -- The runtime's elaboration driver runs one sequential sweep every 300 s and - holds no controller permit (`crates/ghostlight-dungeon/src/runtime.rs:1817-1841`). -- The library has no `rand` dependency; `select_band` over `BandPreimage` is - "the only entropy in the kernel" (`action.rs:121-127`, `775-800`). - -## Questions for Imagination to bring back - -These are open until the cut map records a ruling on each. - -- What seeds the draw, given that nothing counts sessions: a new ordinal, or - the session's own identity? -- Where weights live and how they are admitted: a `WorldState` field (a - `world_state` bump) set at genesis, alongside or instead of `scale_intent`. -- Whether an owner command to change weights after creation belongs in L1, - given there is no precedent for changing a world scalar after genesis. -- How concurrent sessions stay distinct: the lens and a disambiguator in the - command identity, sessions claiming different demand entries, or both. -- How "an ordered emphasis over the operation catalog" is expressed without - reordering `PATCH_TOOLS`. + Dungeon passes explicit uniform weights through `world_create.v4` today. diff --git a/docs/architecture/ghostlight-world-ontology.md b/docs/architecture/ghostlight-world-ontology.md index ca93e59..f321a7f 100644 --- a/docs/architecture/ghostlight-world-ontology.md +++ b/docs/architecture/ghostlight-world-ontology.md @@ -683,11 +683,13 @@ own, because it is derived from the reducer's vocabulary. ```text loop: - take one demand entry in my jurisdiction: an open boundary or seed request, - or my jurisdiction's scale deficit + take one demand entry in my jurisdiction: an open boundary, or my + jurisdiction's scale deficit (seed requests are Draft-only; the Active + sweep does not answer them) if the store holds an in-flight session answering it, resume that session; otherwise draw a lens by the world's weights and record it on the session - retrieve evidence from the Vault for its referents; keep exact receipts + retrieve evidence for its referents from the world's evidence source; keep + exact receipts (the Active lane binds none yet: `NullEvidenceSource`, L2) build one WorldPatch with declaration and operation tools submit; on rejection, repair the same draft from the complete mismatch set on commit, checkpoint: admitted commit ancestry, open leads, exact rejections diff --git a/notes/fresh-workspace-handoff.md b/notes/fresh-workspace-handoff.md index 6c7573f..36dbea9 100644 --- a/notes/fresh-workspace-handoff.md +++ b/notes/fresh-workspace-handoff.md @@ -274,7 +274,7 @@ unplaced; retire it or place its subjects. Passes when a human, on a local daemon with the SDK sidecar, runs Dungeon's Session Zero end to end (`docs/architecture/ghostlight-session-zero.md`): -chooses a Vault, describes the experience, sets title weights, sketches, +chooses a Vault, describes the experience, sets lens weights, sketches, chooses a start, activates, and plays by speaking, gesturing, and travelling while detail grows toward them. It proves one player; hosted play and multi-player membership are not in this gate. Plan step 15 tracks library diff --git a/state/evidence.jsonl b/state/evidence.jsonl index 18b1e31..85cbf56 100644 --- a/state/evidence.jsonl +++ b/state/evidence.jsonl @@ -19,4 +19,5 @@ {"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"} {"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 into a library crate before any library pass (executed as L0; see the L0 record). (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 closed, 2026-09-16 (Ghostlight 108b691..ab95d78, gamecult-ops 6aba281..803f2c7; postmortem docs/architecture/ghostlight-library-extraction-postmortem.md). The world kernel is the ghostlight library crate and ghostlight-dungeon consumes it. Belief-changing findings: (1) private constructors do not seal a public type that derives Deserialize, and Dungeon's Eve payloads need those derives, so ruling Q1-9 defines sealing as unforgeable admission: external code may hold a syntactically valid ID, digest or opportunity, and the kernel rejects every one it did not issue, proven by crates/ghostlight/tests/external_admission.rs. (2) compile_fail doc-tests pin names and, on stable rustc, not even error codes; they prove 'does not compile', not privacy. (3) Rejection tests need forgeries shaped like real values: short fake digests passed against kernels comparing only length, a prefix, all but the last character, case-insensitively, or only the hex after the label. (4) Every text scanner written in L0 lost to a short evasion (the minter count, the gamecult-ops wiring test and its fix); treat such checks as tripwires with stated limits, and use a semantic tool for semantic properties. The minter scanner stays as a tripwire (Q1-10 defaulted); Clippy disallowed-methods is the recorded fix."} +{"note": "L0 closed, 2026-09-16 (Ghostlight 108b691..ab95d78, gamecult-ops 6aba281..803f2c7; postmortem docs/architecture/ghostlight-library-extraction-postmortem.md). The world kernel is the ghostlight library crate and ghostlight-dungeon consumes it. Belief-changing findings: (1) private constructors do not seal a public type that derives Deserialize, and Dungeon's Eve payloads need those derives, so ruling Q1-9 defines sealing as unforgeable admission: external code may hold a syntactically valid ID, digest or opportunity, and the kernel rejects every one it did not issue, proven by crates/ghostlight/tests/external_admission.rs. (2) compile_fail doc-tests pin names and, on stable rustc, not even error codes; they prove 'does not compile', not privacy. (3) Rejection tests need forgeries shaped like real values: short fake digests passed against kernels comparing only length, a prefix, all but the last character, case-insensitively, or only the hex after the label. (4) Every text scanner written in L0 lost to a short evasion (the minter count, the gamecult-ops wiring test and its fix); treat such checks as tripwires with stated limits, and use a semantic tool for semantic properties. The minter scanner stays as a tripwire (Q1-10 defaulted); Clippy disallowed-methods is the recorded fix.", "status": "accepted", "ts": "2026-09-16T00:27:09+00:00", "type": "architecture"} +{"ts": "2026-09-16T18:08:25+00:00", "type": "architecture", "status": "accepted", "note": "L1 closed, 2026-09-16 (Ghostlight 835ea4d..872ba35 plus Cut 5 docs; postmortem docs/architecture/ghostlight-stock-lenses-postmortem.md). The ghostlight library ships eight stock lenses; lens weights are world data (consumer.v5), required at creation with no library default, replaced by the owner's SetLensWeights in any phase; a set that draws the same as the current one is refused as NoCanonicalChange. Each elaborator session draws its lens replayably from world id and command id and records the lens and its instruction text on the session (controller_work.v16); the lens never enters the command id, which stays the idempotency key. Belief-changing findings: (1) before L1 the elaborator repair loop never worked across sweeps: a deficit session's key moved on any commit (orphan plus repeated inference) and a boundary session was Superseded forever after any commit; resume now reads in-flight rows from the store by what they answer (L1-Q9), and rows ready to submit are excluded because adopting a committed row stalls the deficit (L1-Q10). (2) Concurrent sessions are distinct through a per-sweep in-memory claim set; elaboration has its own permit ceiling separate from the simulation budget. (3) A panicking session task used to kill the runtime elaboration driver silently; it is now an error returned after siblings finish. (4) Agents told to wait for long jobs still ended their turns mid-build until briefs named the mechanism: block inside a tool call. Open for the operator: L1.f1 quarantine handling, L1.f13 seed-lane orphans, L1.f14 row retirement, L1.f16 consumer lens sets."} diff --git a/state/ghostlight-state.cultcache.jsonl b/state/ghostlight-state.cultcache.jsonl index a01917b..b8567cc 100644 --- a/state/ghostlight-state.cultcache.jsonl +++ b/state/ghostlight-state.cultcache.jsonl @@ -21,3 +21,4 @@ {"key": "2026-09-15T203132Z0000-0019-36486c5016f3", "payload": "eyJub3RlIjogIlRoZSB0aXRsZWQgZWxhYm9yYXRvcnMgd2VyZSBuZXZlciBhbiBvcGVyYXRvci1hcHByb3ZlZCBjdXQsIDIwMjYtMDktMTUuIFBhdGluYSwgQ2hhcnRlciwgTGVkZ2VyLCBIZWFydGgsIFRhbmdsZSwgVmVpbCwgRW1iZXIsIGFuZCBOdW1lbiBmZWxsIGluIHRocmVlIHN0ZXBzOiA0YWViZTE3ICgyMDI2LTA5LTAxKSBsaXN0ZWQgdGl0bGVkIGVsYWJvcmF0b3IgcXVvdGFzIGZvciBkZWxldGlvbiB1bmRlciB0aGUgb3BlcmF0b3IncyB3aG9sZS1tYWNoaW5lIG9yZGVyOyA2YmI2ODY5IGRlbGV0ZWQgZWxhYm9yYXRpb24ucnMgYW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Swgb3IgZmlsbHMgYSBxdW90YS4gRGVzaWduOiBvbnRvbG9neSBkb2MgJ0VsYWJvcmF0aW9uIGxlbnNlcyBhbmQgZGV0YWlsIHJ1bGVzJy4gTGVzc29uOiB3aGVuIGN1dHRpbmcgYSBjb21wZW5zYXRvciwgc2VwYXJhdGUgdGhlIGp1ZGdpbmcgbWFjaGluZXJ5IGZyb20gdGhlIGNhcGFiaWxpdHkgaXQganVkZ2VkLCBhbmQgcHV0IGEgbmFtZWQsIG9wZXJhdG9yLXZpc2libGUgZmVhdHVyZSBiZWZvcmUgdGhlIG9wZXJhdG9yIGJlZm9yZSBkZWxldGluZyBpdC4iLCAic3RhdHVzIjogImFjY2VwdGVkIiwgInRzIjogIjIwMjYtMDktMTVUMjA6MzE6MzIrMDA6MDAiLCAidHlwZSI6ICJjb3JyZWN0aW9uIn0=", "stored_at": "2026-09-16T10:26:38.600427+00:00", "type": "ghostlight.evidence_record.v0"} {"key": "2026-09-15T205507Z0000-0020-1f32a09f2ca3", "payload": "eyJub3RlIjogIkxpYnJhcnkgYW5kIGNvbnN1bWVyIGJvdW5kYXJ5LCBtZXJnZWQgZnJvbSB0d28gcmVjb3JkcywgMjAyNi0wOS0xNS4gR2hvc3RsaWdodCBEdW5nZW9uIGlzIGEgY29uc3VtZXIgb2YgdGhlIEdob3N0bGlnaHQgbGlicmFyeSwgd2hpY2ggc2VydmVzIGFsbCBHYW1lQ3VsdCBuYXJyYXRpdmUgc2ltdWxhdGlvbi4gU2Vzc2lvbiBaZXJvLCBWYXVsdCBjaG9pY2UsIHBsYXllcnMsIHNsaWRlcnMsIGFuZCBzdGFydGluZyBsb2NhdGlvbnMgYXJlIER1bmdlb24gYXV0aG9yaXR5IGFuZCBuZXZlciBzaGFwZSB0aGUgbGlicmFyeS4gT3BlcmF0b3IgZGVjaXNpb25zOiAoMSkgZXh0cmFjdCB0aGUgd29ybGQga2VybmVsIGludG8gYSBsaWJyYXJ5IGNyYXRlIGJlZm9yZSBhbnkgb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In0=", "stored_at": "2026-09-16T10:26:38.608452+00:00", "type": "ghostlight.evidence_record.v0"} {"key": "2026-09-16T002709Z0000-0021-b03ab600d273", "payload": "eyJub3RlIjogIkwwIGNsb3NlZCwgMjAyNi0wOS0xNiAoR2hvc3RsaWdodCAxMDhiNjkxLi5hYjk1ZDc4LCBnYW1lY3VsdC1vcHMgNmFiYTI4MS4uODAzZjJjNzsgcG9zdG1vcnRlbSBkb2NzL2FyY2hpdGVjdHVyZS9naG9zdGxpZ2h0LWxpYnJhcnktZXh0cmFjdGlvbi1wb3N0bW9ydGVtLm1kKS4gVGhlIHdvcmxkIGtlcm5lbCBpcyB0aGUgZ2hvc3RsaWdodCBsaWJyYXJ5IGNyYXRlIGFuZCBnaG9zdGxpZ2h0LWR1bmdlb24gY29uc3VtZXMgaXQuIEJlbGllZi1jaGFuZ2luZyBmaW5kaW5nczogKDEpIHByaXZhdGUgY29uc3RydWN0b3JzIGRvIG5vdCBzZWFsIGEgcHVibGljIHR5cGUgdGhhdCBkZXJpdmVzIERlc2VyaWFsaXplLCBhbmQgRHVuZ2VvbidzIEV2ZSBwYXlsb2FkcyBuZWVkIHRob3NlIGRlcml2ZXMsIHNvIHJ1bGluZyBRMS05IGRlZmluZXMgc2VhbGluZyBhcyB1bmZvcmdlYWJsZSBhZG1pc3Npb246IGV4dGVybmFsIGNvZGUgbWF5IGhvbGQgYSBzeW50YWN0aWNhbGx5IHZhbGlkIElELCBkaWdlc3Qgb3Igb3Bwb3J0dW5pdHksIGFuZCB0aGUga2VybmVsIHJlamVjdHMgZXZlcnkgb25lIGl0IGRpZCBub3QgaXNzdWUsIHByb3ZlbiBieSBjcmF0ZXMvZ2hvc3RsaWdodC90ZXN0cy9leHRlcm5hbF9hZG1pc3Npb24ucnMuICgyKSBjb21waWxlX2ZhaWwgZG9jLXRlc3RzIHBpbiBuYW1lcyBhbmQsIG9uIHN0YWJsZSBydXN0Yywgbm90IGV2ZW4gZXJyb3IgY29kZXM7IHRoZXkgcH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MTZUMTg6MDg6MjUrMDA6MDAiLCAidHlwZSI6ICJhcmNoaXRlY3R1cmUifQ==", "stored_at": "2026-09-16T18:08:25.738341+00:00", "type": "ghostlight.evidence_record.v0"} diff --git a/state/map.yaml b/state/map.yaml index 62a8db5..71330fe 100644 --- a/state/map.yaml +++ b/state/map.yaml @@ -391,8 +391,8 @@ current_status: `ghostlight` library crate; postmortem and follow-ups in docs/architecture/ghostlight-library-extraction-postmortem.md); L1, the stock lens set, is implemented (835ea4d..872ba35; cut map - docs/architecture/ghostlight-stock-lenses-cut.md); the remaining library - capabilities are next (typed + docs/architecture/ghostlight-stock-lenses-cut.md); L2 is next, then the + remaining library capabilities (typed detail rules as a function from place to detail level, per-world evidence binding, elaborators in Draft; ontology doc "Elaboration lenses and detail rules"), then Dungeon's Session Zero consuming them