From 634e81f365d4807bcdf920da490e242b7a0c5b26 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sun, 6 Sep 2026 00:25:31 +0200 Subject: [PATCH] Open plan step 11, the Claude SDK inference port; record the SDK research Co-Authored-By: Claude Fable 5.1 --- notes/fresh-workspace-handoff.md | 20 +++++++++++------- notes/ghostlight-implementation-plan.md | 28 +++++++++++++++++++++++++ state/evidence.jsonl | 3 ++- state/ghostlight-state.cultcache.jsonl | 1 + state/map.yaml | 2 +- state/scratch.md | 15 ++++++------- 6 files changed, 53 insertions(+), 16 deletions(-) diff --git a/notes/fresh-workspace-handoff.md b/notes/fresh-workspace-handoff.md index 881214d..610294a 100644 --- a/notes/fresh-workspace-handoff.md +++ b/notes/fresh-workspace-handoff.md @@ -427,13 +427,19 @@ are teardown evidence. Plan step 6 is ten implementation passes, all landed. CodexConnector repo, because CodexConnector is a deliberate fork of Codex cut so that Epiphany stops compiling Codex, and nothing goes into it. The Modeling map `modeling-claude-connector.md` was stopped mid-map - and is void even if partial text is on disk. Standing premise, not yet - a design: the credential is the Claude subscription through the Agent - SDK or the Claude Code CLI, as a stopgap; the connector is a separate - small organ; its shape waits on a read-only research pass - (`research-agent-sdk.md` in the session scratchpad) establishing whether - the SDK can act as a transport that returns tool calls unexecuted, and - on the operator saying go. Nothing is edited in either repo. Facts that + and is void even if partial text is on disk. The operator then gave the go: "Wait for the research, then build the + SDK port." Adopted shape: a Ghostlight `InferencePort` implementation + over the Claude Agent SDK, with the subscription credential held by + Claude Code and never by Ghostlight, as a stopgap transport and not a + harness inversion; a separate small organ, not a CodexConnector + backend. Persona and Projector are single plain completions and need + nothing special. The tool lanes (Interpreter, operational, elaborator, + seed, grouped) need the SDK to return tool calls unexecuted; the + read-only research pass `research-agent-sdk.md` is establishing whether + it can. If capture fails, those lanes stay on Codex and the split costs + no code, because models are already configured per lane. The + "harnessed Persona" idea is withdrawn: the Persona turn is non-agentic. + Nothing is cut yet; Hands waits on the research result. Nothing is edited in either repo. Facts that survive the overturn: Ghostlight binds Codex-named types in four files (`controllers.rs:25`, `elaboration.rs:31`, `patch.rs:20`, `tool_schema.rs:9`) behind one `InferencePort::prepare` diff --git a/notes/ghostlight-implementation-plan.md b/notes/ghostlight-implementation-plan.md index 7661bc2..420da2b 100644 --- a/notes/ghostlight-implementation-plan.md +++ b/notes/ghostlight-implementation-plan.md @@ -486,6 +486,34 @@ region-wide or global witness still discards a grouped cell's in-flight work for every constituent it touches, which is the debt this pass explicitly declined to pay. +### 11. Claude SDK inference port — in design + +Objective: run Ghostlight's inference lanes on the Claude subscription while +no Codex subscription or API budget exists, without moving the harness. + +Current mechanism: one `InferencePort` implementation, the CodexConnector +client, behind which every lane derives its exact request and owns its loop; +the connector's request types leak into four files. + +Intended change: a second port, `SdkInferencePort`, that spawns a Node +sidecar (a small TypeScript package in this repo on the Claude Agent SDK) +over stdio with length-prefixed MessagePack frames. One request is one SDK +query with the system prompt replaced, built-ins stripped, settings sources +empty, the request's tools registered as in-process SDK tools, a turn cap, +and the request's model. Execute-through: each tool call the model makes is +handed back over the pipe and answered with the result Ghostlight's own +evaluator would produce, so the SDK loop runs on real results and one query +returns as one round. Persona and Projector are single completions. The +credential is Claude Code's own; Ghostlight holds none. + +Cut line: no second identity scheme (checkpoints re-derive the same request +identity); no daemon, network port, or CultMesh surface for the sidecar; no +credential handling in Ghostlight; the connector port is untouched; the +port is chosen per lane by the configured model. Stopgap by design: the +receipt is the SDK's message, not wire bytes, and that liability is named +where the port is defined. Rejected: a Messages-API backend (no API spend); +a backend inside CodexConnector (a deliberately isolated Codex fork). + ## Subtraction budget Prefer deletion, collapse, or reuse before adding surfaces. The replacement diff --git a/state/evidence.jsonl b/state/evidence.jsonl index 3f75dcc..a211d4f 100644 --- a/state/evidence.jsonl +++ b/state/evidence.jsonl @@ -39,4 +39,5 @@ {"note": "Supersedes the 2026-09-04T14:18 clone-plus-network record, which was necessary but not sufficient. The Codex workspace-write sandbox keeps .git read-only even when the whole clone sits under the writable root, so a Codex worker can never commit or push regardless of clone layout or network grant. Rule for any Codex fan-out that must produce committed work: the worker writes files only; a supervisor outside the sandbox commits and pushes the clone after the worker exits. The world elaborator scheduler (C:/Users/Meta/.claude/worlds/Invoke-Elaborators.ps1) does this per slot to slot///<stamp> branches in both the Ghostlight world clone and the lore clone, recording completions in logs/elab-done.csv; integration into codex/world-<world> and codex/ghostlight-worlds is a separate deliberate pass. First banked fixture: Delvehold cistern-house-nine-breaker-test, codex/world-delvehold 9374fd0.", "status": "ok", "ts": "2026-09-04T15:04:24+00:00", "type": "verification"} {"note": "Plan step 6, the ontology widening, is complete: ten passes landed on codex/ghostlight-dungeon-mvp between 2026-09-04 and 2026-09-05, each as a Hands cut in an isolation worktree, a Soul falsification in the same tree, and a fast-forward integration. Pass tips: 1 typed ID namespaces and closed patch resolution 5e53beb; 2 Position/Route/containment and scope-digest binding e99af63; 3 Custody/Dependency/conservation d2805fe; 4 world-authored affordance catalog with kernel-entropy bands 0f21a49; 5 Authority/Selection/Redress dbe176d; 6 Knowledge/Channel/Fact standing cb6a126; 7 clock, Commitment, Pressure, derived CausalBoundary and the structural answer rule 1852ddd; 8 confined elaborator lane and derived tool catalog 3ed3868; 9 budgeted connected cover with tick-driven fairness ceil(N/R), R = cells minus urgency slots, verified 22 ticks at the 2,400/240 profile 8aebfb6; 10 confined external consumer ingress over POST /cultnet/world-patch a1fd645. The kernel now holds 12 decision-constraining component kinds over 27 named operations under one WorldPatch, one reducer, one CAS commit, one decode bound for both authoring lanes, and three confined SystemCapability arms (Clock, Elaborator, Consumer); the action vocabulary is data in the seed and the kernel never learns a genre. The eleven plan invariants hold structurally at the end of the series per Soul: one deterministic reducer and atomic commit; kernel-derived authority; one controller per scope with no fallback or double action; total interpretation with exact gaps; deterministic structural rejection without a model verifier; scoped knowledge until explicit communication; external-consumer sovereignty; sparse causal sufficiency with counts as evidence only; restart reconstructs the exact world; IDs allocated only inside an admitted reduction; opportunities bound to a scope digest rather than a revision. The pairing invariant is re-decided at three gates by doctrine, not by a repair loop. Test surface grew from 43 world / 83 crate at the series start to 313 world / 357 crate source functions at a1fd645 (focused world:: run 312 / 352). Two design decisions remain with the operator and are recorded nowhere else durable: whether a refused coupled constituent may re-submit once inside the same tick, to be decided with the submitted-versus-committed number in hand; and the authority for an owner-only Eve world.run_tick command. The next seam after the series is the outbound consumer response batch and a non-loopback CultMesh lease.", "status": "ok", "ts": "2026-09-05T02:13:22+00:00", "type": "implementation"} {"note": "First local live smoke of the rebuilt kernel (2026-09-05): production tick driver, cover, Persona membrane, operational lane, clock, and elaboration sweep ran three ticks against a real CodexConnector (head daemon, ChatGPT auth) on a genesis world; revision 2->11, two singleton cells per tick, Persona spoke each tick, elaboration clean (nothing derived to answer). Wall time 40-70 s per tick. The road works; prose is thin because genesis is three subjects in one room with one affordance, which is the seed-producer gap. Runbook: notes/local-live-smoke.md. Stale: the pre-pass-6 ignored acceptance test in controllers.rs fails at NoAudience.", "status": "ok", "ts": "2026-09-05T13:42:18+00:00", "type": "verification"} -{"ts": "2026-09-05T17:36:41+00:00", "type": "verification", "status": "ok", "note": "Seeded live smoke passed (2026-09-05): from the Kalsa Public vault, one seed session authored six qualified persons into Low Sere in one round (39 s), deficit 6->0; the world activated with nine subjects and six boundaries; three ticks of eight singleton cells each (95-123 s) with the seeded people speaking to each other by name. Twelve runs; every failure was on the road and each became a rule: one credential family (real codex home), strict schemas (anyOf, typed tags, offline totality test), a supported Persona model, expiry skew vs response timeout, ids beside labels in the brief, seed budget 24 with parallel calls and budget-end submit, content-addressed provider request ids, the commitment shape rule in the tool description, and the placement rule. The harness fails on an empty seed or a silent world."} +{"note": "Seeded live smoke passed (2026-09-05): from the Kalsa Public vault, one seed session authored six qualified persons into Low Sere in one round (39 s), deficit 6->0; the world activated with nine subjects and six boundaries; three ticks of eight singleton cells each (95-123 s) with the seeded people speaking to each other by name. Twelve runs; every failure was on the road and each became a rule: one credential family (real codex home), strict schemas (anyOf, typed tags, offline totality test), a supported Persona model, expiry skew vs response timeout, ids beside labels in the brief, seed budget 24 with parallel calls and budget-end submit, content-addressed provider request ids, the commitment shape rule in the tool description, and the placement rule. The harness fails on an empty seed or a silent world.", "status": "ok", "ts": "2026-09-05T17:36:41+00:00", "type": "verification"} +{"ts": "2026-09-05T22:25:31+00:00", "type": "research", "status": "ok", "note": "Claude Agent SDK as a transport (2026-09-06, research-agent-sdk.md): the system prompt is fully replaceable, built-ins strippable (tools: []), CLAUDE.md loading stoppable (settingSources: []), and assistant tool_use blocks are returned verbatim with usage and stop reason; but no silent capture exists (every denied tool call becomes a tool result the model reads), a Responses-style input list cannot be replayed (the harness owns the assistant side), there is no request id or replay, and each query is one subprocess. Chosen shape: execute-through, Ghostlight tools registered as in-process SDK tools whose handler hands each call back to Ghostlight for the result its own evaluator computes. Rejected: a Messages-API backend (no API spend), a backend inside CodexConnector (deliberately isolated Codex fork). Nothing installed locally: no claude CLI, no SDK, no subscription credential; the operator must install and log in before a road run."} diff --git a/state/ghostlight-state.cultcache.jsonl b/state/ghostlight-state.cultcache.jsonl index 7753040..32eab4e 100644 --- a/state/ghostlight-state.cultcache.jsonl +++ b/state/ghostlight-state.cultcache.jsonl @@ -41,3 +41,4 @@ {"key": "2026-09-05T021322Z0000-0039-8fe6fe49acb8", "payload": "eyJub3RlIjogIlBsYW4gc3RlcCA2LCB0aGUgb250b2xvZ3kgd2lkZW5pbmcsIGlzIGNvbXBsZXRlOiB0ZW4gcGFzc2VzIGxhbmRlZCBvbiBjb2RleC9naG9zdGxpZ2h0LWR1bmdlb24tbXZwIGJldHdlZW4gMjAyNi0wOS0wNCBhbmQgMjAyNi0wOS0wNSwgZWFjaCBhcyBhIEhhbmRzIGN1dCBpbiBhbiBpc29sYXRpb24gd29ya3RyZWUsIGEgU291bCBmYWxzaWZpY2F0aW9uIGluIHRoZSBzYW1lIHRyZWUsIGFuZCBhIGZhc3QtZm9yd2FyZCBpbnRlZ3JhdGlvbi4gUGFzcyB0aXBzOiAxIHR5cGVkIElEIG5hbWVz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d7c", "payload": "eyJub3RlIjogIkZpcnN0IGxvY2FsIGxpdmUgc21va2Ugb2YgdGhlIHJlYnVpbHQga2VybmVsICgyMDI2LTA5LTA1KTogcHJvZHVjdGlvbiB0aWNrIGRyaXZlciwgY292ZXIsIFBlcnNvbmEgbWVtYnJhbmUsIG9wZXJhdGlvbmFsIGxhbmUsIGNsb2NrLCBhbmQgZWxhYm9yYXRpb24gc3dlZXAgcmFuIHRocmVlIHRpY2tzIGFnYWluc3QgYSByZWFsIENvZGV4Q29ubmVjdG9yIChoZWFkIGRhZW1vbiwgQ2hhdEdQVCBhdXRoKSBvbiBhIGdlbmVzaXMgd29ybGQ7IHJldmlzaW9uIDItPjExLCB0d28gc2luZ2xldG9uIGNlbGxzIHBlciB0aWNrLCBQZXJzb25hIHNwb2tlIGVhY2ggdGljaywgZWxhYm9yYXRpb24gY2xlYW4gKG5vdGhpbmcgZGVyaXZlZCB0byBhbnN3ZXIpLiBXYWxsIHRpbWUgNDAtNzAgcyBwZXIgdGljay4gVGhlIHJvYWQgd29ya3M7IHByb3NlIGlzIHRoaW4gYmVjYXVzZSBnZW5lc2lzIGlzIHRocmVlIHN1YmplY3RzIGluIG9uZSByb29tIHdpdGggb25lIGFmZm9yZGFuY2UsIHdoaWNoIGlzIHRoZSBzZWVkLXByb2R1Y2VyIGdhcC4gUnVuYm9vazogbm90ZXMvbG9jYWwtbGl2ZS1zbW9rZS5tZC4gU3RhbGU6IHRoZSBwcmUtcGFzcy02IGlnbm9yZWQgYWNjZXB0YW5jZSB0ZXN0IGluIGNvbnRyb2xsZXJzLnJzIGZhaWxzIGF0IE5vQXVkaWVuY2UuIiwgInN0YXR1cyI6ICJvayIsICJ0cyI6ICIyMDI2LTA5LTA1VDEzOjQyOjE4KzAwOjAwIiwgInR5cGUiOiAidmVyaWZpY2F0aW9uIn0=", "stored_at": "2026-09-05T13:42:18.383052+00:00", "type": "ghostlight.evidence_record.v0"} {"key": "2026-09-05T173641Z0000-0041-d6b53753f89a", "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FpbHMgb24gYW4gZW1wdHkgc2VlZCBvciBhIHNpbGVudCB3b3JsZC4iLCAic3RhdHVzIjogIm9rIiwgInRzIjogIjIwMjYtMDktMDVUMTc6MzY6NDErMDA6MDAiLCAidHlwZSI6ICJ2ZXJpZmljYXRpb24ifQ==", "stored_at": "2026-09-05T17:36:41.585793+00:00", "type": "ghostlight.evidence_record.v0"} +{"key": "2026-09-05T222531Z0000-0042-844ee50e2d63", "payload": "eyJub3RlIjogIkNsYXVkZSBBZ2VudCBTREsgYXMgYSB0cmFuc3BvcnQgKDIwMjYtMDktMDYsIHJlc2VhcmNoLWFnZW50LXNkay5tZCk6IHRoZSBzeXN0ZW0gcHJvbXB0IGlzIGZ1bGx5IHJlcGxhY2VhYmxlLCBidWlsdC1pbnMgc3RyaXBwYWJsZSAodG9vbHM6IFtdKSwgQ0xBVURFLm1kIGxvYWRpbmcgc3RvcHBhYmxlIChzZXR0aW5nU291cmNlczogW10pLCBhbmQgYXNzaXN0YW50IHRvb2xfdXNlIGJsb2NrcyBhcmUgcmV0dXJuZWQgdmVyYmF0aW0gd2l0aCB1c2FnZSBhbmQgc3RvcCByZWFzb247IGJ1dCBubyBzaWxlbnQgY2FwdHVyZSBleGlzdHMgKGV2ZXJ5IGRlbmllZCB0b29sIGNhbGwgYmVjb21lcyBhIHRvb2wgcmVzdWx0IHRoZSBtb2RlbCByZWFkcyksIGEgUmVzcG9uc2VzLXN0eWxlIGlucHV0IGxpc3QgY2Fubm90IGJlIHJlcGxheWVkICh0aGUgaGFybmVzcyBvd25zIHRoZSBhc3Npc3RhbnQgc2lkZSksIHRoZXJlIGlzIG5vIHJlcXVlc3QgaWQgb3IgcmVwbGF5LCBhbmQgZWFjaCBxdWVyeSBpcyBvbmUgc3VicHJvY2Vzcy4gQ2hvc2VuIHNoYXBlOiBleGVjdXRlLXRocm91Z2gsIEdob3N0bGlnaHQgdG9vbHMgcmVnaXN0ZXJlZCBhcyBpbi1wcm9jZXNzIFNESyB0b29scyB3aG9zZSBoYW5kbGVyIGhhbmRzIGVhY2ggY2FsbCBiYWNrIHRvIEdob3N0bGlnaHQgZm9yIHRoZSByZXN1bHQgaXRzIG93biBldmFsdWF0b3IgY29tcHV0ZXMuIFJlamVjdGVkOiBhIE1lc3NhZ2VzLUFQSSBiYWNrZW5kIChubyBBUEkgc3BlbmQpLCBhIGJhY2tlbmQgaW5zaWRlIENvZGV4Q29ubmVjdG9yIChkZWxpYmVyYXRlbHkgaXNvbGF0ZWQgQ29kZXggZm9yaykuIE5vdGhpbmcgaW5zdGFsbGVkIGxvY2FsbHk6IG5vIGNsYXVkZSBDTEksIG5vIFNESywgbm8gc3Vic2NyaXB0aW9uIGNyZWRlbnRpYWw7IHRoZSBvcGVyYXRvciBtdXN0IGluc3RhbGwgYW5kIGxvZyBpbiBiZWZvcmUgYSByb2FkIHJ1bi4iLCAic3RhdHVzIjogIm9rIiwgInRzIjogIjIwMjYtMDktMDVUMjI6MjU6MzErMDA6MDAiLCAidHlwZSI6ICJyZXNlYXJjaCJ9", "stored_at": "2026-09-05T22:25:31.610150+00:00", "type": "ghostlight.evidence_record.v0"} diff --git a/state/map.yaml b/state/map.yaml index a34a5ec..1faf4e3 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. Seed producer landed and proven on the road: tip `b7042f1` over `491b06e` (six seed-lane follow-ups) and `697ed07`, pushed, no worktree. Seeded live smoke passed on the twelfth run 2026-09-05 from the Kalsa Public vault (`GHOSTLIGHT_SEED_VAULT_ROOT` `F:\Projects\Kalsa\Kalsa`, root label \"Low Sere\"): one seed session, 39 s, six qualified persons, deficit 6->0; nine subjects, six boundaries; three ticks of eight singleton cells (95-123 s), seeded people speaking to each other by name; table and run block in `notes/local-live-smoke.md`, evidence record 2026-09-05T17:36Z, ontology \"Rules the road imposed\" paragraph. Uncommitted road fixes on main pending a green unit suite: strict-schema `anyOf`/const tags with an offline test over both lanes, connector `REQUEST_EXPIRY` 300 s / `RESPONSE_TIMEOUT` 900 s, content-addressed `provider_request_id`, `SEED_ROUND_BUDGET` 24 with budget-end draft submission, `SEED_INSTRUCTIONS` pacing and obligation rule, brief ids and placement rule, info-level fault and cell-outcome logs, live harness asserting a landed seed and speech. Baseline 342 tests in `world/`, 394 crate source. Connector stopped; smoke substrate stays. Plan step 9, the interruption pass, is integrated: tip `711f6ec` (docs) over `d20dc51` (Soul), `ad124ea`/`1a19fb2` (Hands), `1ef973a` (machine), on `a62708f`; push follows a background crate test, `git status -sb` is the witness. Landed: the kernel is the sole `ScopeChanged` detector and the narrative lane interrupts on it (`controllers.rs:3537`; operational keeps `ensure_scope_unchanged` at :2689); `SubjectSnapshot.components: ScopeComponents` replacing holdings/dependencies/incident_routes/authority/controls; `PersonaTurnBinding::interrupted_from`; `Overheard`, `Interruption`, `interpreter_round`, `select_fresh`, `select_scope`, `NarrativeRun::Interrupted`; `controller_work.v11`, `persona_turn_receipt.v3`; `ControllerHttpResult::Interrupted` renders as Eve `denied` with detail in the receipt. Baseline 354 tests in `world/`, 406 crate source, 13 persona-projection. Soul: leak invariant holds structurally; fork A corrected (a turn whose scope moved before binding is `NoOpportunity` at zero cost; the cut costs at most one extra Interpreter round on a bound turn); fork D dead (grants insert-only). Recipe lesson: never chain `merge --ff-only` with `branch -D`; the first fast-forward refused and the chain deleted the pointer, recovered by SHA. Plan step 10, the witness operation, is integrated: tip `1244595` (docs) over `70ea6b1` (Soul), `ecdeb92` (operation), `307d8a5` (refactors), on `f6cd3b5`; push follows a background crate test, `git status -sb` is the witness; integration gated (rebase, merge, confirm tip, remove). Landed: `under_place` the one reach owner and `unheld` the one already-holder filter, used by `audience`, `fan_out`, and the `Witness` apply arm; `ComponentOp::Witness {fact, place, confidence}` with resolve/apply/lowering arms and `operation_ground` returning the place (consumer cannot witness by construction); `ComponentOpKind::Witness {confidence}` so an affordance can cause a speakerless witnessed event; tool `witness`; catalog pinned at 7/29/38 and the ontology doc aligned to twenty-nine; schemas `world_state.consumer.v2`/`world_commit.consumer.v2`; empty subtree `NoOperationEffect` at both layers; no-`Told` pin exhaustive over 19 op kinds. Baseline 372 tests in `world/`, 424 crate source, 13 persona-projection. Step-9 follow-ups integrated at `651bfb2` over `5cd8853`, gated (rebase, merge, confirm, remove); push follows a background crate test, `git status -sb` is the witness. Landed: unreachable `SPEAK_KIND` guard and branch deleted from `interrupted` (constant still used elsewhere); `InferencePurpose`/`PreparedInference::purpose`/`InferenceEvent` to `pub(crate)` with test seams `fixture_inference_events` and `fixture_recovery_required` re-exported from `world/mod.rs`; driver end-to-end `a_second_mid_turn_change_reaches_the_drivers_interrupted_arm` through `run_cover_tick` (two Interpreter calls, overtaken turn commits nothing); `a_witness_between_the_turn_and_submit_carries_no_overheard_row` closing the step-10 seam. Baseline 373 tests in `world/`, 426 crate source, 13 persona-projection. Steps 9 and 10 complete with follow-ups; nothing in flight, no worktree. Eve question for the Eve owner: a fourth command-result state for overtaken. Next action, operator-ordered 2026-09-06: build the Claude connector; both opening assumptions overturned by the operator before anything landed. Void: an Anthropic API key against the Messages API (no API spend is possible now); a second backend inside CodexConnector (it is a deliberate fork of Codex cut so Epiphany stops compiling Codex; nothing goes into it); the Modeling map `modeling-claude-connector.md` is void. Standing premise, not a design: Claude subscription through the Agent SDK or the Claude Code CLI as a stopgap; a separate small organ; shape pending the read-only research pass `research-agent-sdk.md` (can the SDK act as a transport returning tool calls unexecuted) and the operator saying go. Nothing edited in either repo. Surviving facts: Codex-named types bound in `controllers.rs:25`, `elaboration.rs:31`, `patch.rs:20`, `tool_schema.rs:9` behind `InferencePort::prepare`; default models `gpt-5.6-luna/sol/terra` in `runtime.rs:427-434`; pin `68fe94b`; CodexConnector `main` fast-forwarded to `6519289` (harmless, stays); CodexConnector has no state/notes/handoff/evidence surface and its `AGENTS.md` is untouched. Constraint this pass may lift: no road run until a provider is available (Codex subscription lapsed mid-build; twelve seeded runs used half the monthly free quota). Next seams: the outbound consumer response batch with the non-loopback CultMesh lease, then the deployment gate. Operator decision still open: 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/<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. + 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 landed and proven on the road: tip `b7042f1` over `491b06e` (six seed-lane follow-ups) and `697ed07`, pushed, no worktree. Seeded live smoke passed on the twelfth run 2026-09-05 from the Kalsa Public vault (`GHOSTLIGHT_SEED_VAULT_ROOT` `F:\Projects\Kalsa\Kalsa`, root label \"Low Sere\"): one seed session, 39 s, six qualified persons, deficit 6->0; nine subjects, six boundaries; three ticks of eight singleton cells (95-123 s), seeded people speaking to each other by name; table and run block in `notes/local-live-smoke.md`, evidence record 2026-09-05T17:36Z, ontology \"Rules the road imposed\" paragraph. Uncommitted road fixes on main pending a green unit suite: strict-schema `anyOf`/const tags with an offline test over both lanes, connector `REQUEST_EXPIRY` 300 s / `RESPONSE_TIMEOUT` 900 s, content-addressed `provider_request_id`, `SEED_ROUND_BUDGET` 24 with budget-end draft submission, `SEED_INSTRUCTIONS` pacing and obligation rule, brief ids and placement rule, info-level fault and cell-outcome logs, live harness asserting a landed seed and speech. Baseline 342 tests in `world/`, 394 crate source. Connector stopped; smoke substrate stays. Plan step 9, the interruption pass, is integrated: tip `711f6ec` (docs) over `d20dc51` (Soul), `ad124ea`/`1a19fb2` (Hands), `1ef973a` (machine), on `a62708f`; push follows a background crate test, `git status -sb` is the witness. Landed: the kernel is the sole `ScopeChanged` detector and the narrative lane interrupts on it (`controllers.rs:3537`; operational keeps `ensure_scope_unchanged` at :2689); `SubjectSnapshot.components: ScopeComponents` replacing holdings/dependencies/incident_routes/authority/controls; `PersonaTurnBinding::interrupted_from`; `Overheard`, `Interruption`, `interpreter_round`, `select_fresh`, `select_scope`, `NarrativeRun::Interrupted`; `controller_work.v11`, `persona_turn_receipt.v3`; `ControllerHttpResult::Interrupted` renders as Eve `denied` with detail in the receipt. Baseline 354 tests in `world/`, 406 crate source, 13 persona-projection. Soul: leak invariant holds structurally; fork A corrected (a turn whose scope moved before binding is `NoOpportunity` at zero cost; the cut costs at most one extra Interpreter round on a bound turn); fork D dead (grants insert-only). Recipe lesson: never chain `merge --ff-only` with `branch -D`; the first fast-forward refused and the chain deleted the pointer, recovered by SHA. Plan step 10, the witness operation, is integrated: tip `1244595` (docs) over `70ea6b1` (Soul), `ecdeb92` (operation), `307d8a5` (refactors), on `f6cd3b5`; push follows a background crate test, `git status -sb` is the witness; integration gated (rebase, merge, confirm tip, remove). Landed: `under_place` the one reach owner and `unheld` the one already-holder filter, used by `audience`, `fan_out`, and the `Witness` apply arm; `ComponentOp::Witness {fact, place, confidence}` with resolve/apply/lowering arms and `operation_ground` returning the place (consumer cannot witness by construction); `ComponentOpKind::Witness {confidence}` so an affordance can cause a speakerless witnessed event; tool `witness`; catalog pinned at 7/29/38 and the ontology doc aligned to twenty-nine; schemas `world_state.consumer.v2`/`world_commit.consumer.v2`; empty subtree `NoOperationEffect` at both layers; no-`Told` pin exhaustive over 19 op kinds. Baseline 372 tests in `world/`, 424 crate source, 13 persona-projection. Step-9 follow-ups integrated at `651bfb2` over `5cd8853`, gated (rebase, merge, confirm, remove); push follows a background crate test, `git status -sb` is the witness. Landed: unreachable `SPEAK_KIND` guard and branch deleted from `interrupted` (constant still used elsewhere); `InferencePurpose`/`PreparedInference::purpose`/`InferenceEvent` to `pub(crate)` with test seams `fixture_inference_events` and `fixture_recovery_required` re-exported from `world/mod.rs`; driver end-to-end `a_second_mid_turn_change_reaches_the_drivers_interrupted_arm` through `run_cover_tick` (two Interpreter calls, overtaken turn commits nothing); `a_witness_between_the_turn_and_submit_carries_no_overheard_row` closing the step-10 seam. Baseline 373 tests in `world/`, 426 crate source, 13 persona-projection. Steps 9 and 10 complete with follow-ups; nothing in flight, no worktree. Eve question for the Eve owner: a fourth command-result state for overtaken. Next action, operator-ordered 2026-09-06: build the Claude connector; both opening assumptions overturned by the operator before anything landed. Void: an Anthropic API key against the Messages API (no API spend is possible now); a second backend inside CodexConnector (it is a deliberate fork of Codex cut so Epiphany stops compiling Codex; nothing goes into it); the Modeling map `modeling-claude-connector.md` is void. Operator go: wait for the research, then build the SDK port. Adopted shape: a Ghostlight `InferencePort` implementation over the Claude Agent SDK, subscription credential held by Claude Code and never by Ghostlight, a stopgap transport not a harness inversion, a separate small organ. Persona and Projector are single plain completions; the tool lanes (Interpreter, operational, elaborator, seed, grouped) need the SDK to return tool calls unexecuted, which `research-agent-sdk.md` is establishing; if capture fails those lanes stay on Codex at no code cost since models are per lane. The harnessed-Persona idea is withdrawn (the Persona turn is non-agentic). Nothing cut yet. Nothing edited in either repo. Surviving facts: Codex-named types bound in `controllers.rs:25`, `elaboration.rs:31`, `patch.rs:20`, `tool_schema.rs:9` behind `InferencePort::prepare`; default models `gpt-5.6-luna/sol/terra` in `runtime.rs:427-434`; pin `68fe94b`; CodexConnector `main` fast-forwarded to `6519289` (harmless, stays); CodexConnector has no state/notes/handoff/evidence surface and its `AGENTS.md` is untouched. Constraint this pass may lift: no road run until a provider is available (Codex subscription lapsed mid-build; twelve seeded runs used half the monthly free quota). Next seams: the outbound consumer response batch with the non-loopback CultMesh lease, then the deployment gate. Operator decision still open: 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/<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 af688e0..a8fe952 100644 --- a/state/scratch.md +++ b/state/scratch.md @@ -2,13 +2,14 @@ ## Current Subgoal -Claude connector (operator order, 2026-09-06), design not decided. Both -opening assumptions are void (no API key, nothing into CodexConnector; the -Modeling map `modeling-claude-connector.md` is void). Premise: Claude -subscription through the Agent SDK or Claude Code CLI as a stopgap, a separate -small organ. Gate: the read-only research pass `research-agent-sdk.md` (can the -SDK return tool calls unexecuted) and the operator saying go. Nothing edited in -either repo at `06236a4`. +Claude SDK port (operator go, 2026-09-06: wait for the research, then build). +Shape: a Ghostlight `InferencePort` implementation over the Claude Agent SDK, +credential held by Claude Code, stopgap transport, separate small organ, not a +CodexConnector backend. Persona and Projector are plain completions; the tool +lanes need unexecuted tool-call return, which `research-agent-sdk.md` is +establishing; on failure those lanes stay on Codex (models are per lane). +Harnessed Persona withdrawn. Nothing cut at `06236a4`; Hands waits on the +research result. ## Working Notes