From 875c3e9d02294f417a50ec96e1faed6b82f9dad6 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Tue, 1 Sep 2026 16:40:48 +0200 Subject: [PATCH] Record total interpretation contract --- notes/fresh-workspace-handoff.md | 28 +++++++++++++++++--------- state/evidence.jsonl | 3 ++- state/ghostlight-state.cultcache.jsonl | 1 + state/map.yaml | 2 +- 4 files changed, 23 insertions(+), 11 deletions(-) diff --git a/notes/fresh-workspace-handoff.md b/notes/fresh-workspace-handoff.md index e56d3ae..69fe449 100644 --- a/notes/fresh-workspace-handoff.md +++ b/notes/fresh-workspace-handoff.md @@ -42,8 +42,9 @@ opportunities are derived and revalidated by the kernel. Autonomous cognition has two explicit modes under disjoint controller scopes: - `NarrativePersona` receives narrative projection and replies only in prose. - A total Interpreter preserves that prose, emits every faithful typed proposal - it can lower, and records exact translation gaps for the rest. + The runner records that prose as receipt-bound noncanonical source evidence; + a total Interpreter emits every faithful typed proposal it can lower with an + exact source capture and records exact translation gaps for the rest. - `OperationalAgent` receives a permissioned typed view and tools when operator-shaped cognition benefits from direct state work. - Mode changes representation, never authority. A decision opportunity cannot @@ -51,12 +52,14 @@ Autonomous cognition has two explicit modes under disjoint controller scopes: The Interpreter cannot fail semantically. Missing referents, ambiguous intent, missing affordances, and missing command primitives become translation gaps. -Step exhaustion finalizes accumulated speech, proposals, and gaps. Transport -faults and stale commits remain infrastructure outcomes outside interpretation. -Only the world kernel may accept or reject a proposed mutation. -Translation gaps remain non-fictional inference/evaluation evidence outside -`WorldState`; recording one cannot itself request elaboration or advance a -world revision. +Malformed capture spans, raw tool decode failure, and normal step exhaustion +fall back to an exact whole-source gap rather than losing meaning. An +infrastructure interruption discards partial captures and returns the immutable +source pending for a fresh attempt. Source prose is not speech: only actually +spoken words may become a typed speech proposal. Only the world kernel may +accept or reject a proposed mutation. Translation gaps remain non-fictional +inference/evaluation evidence outside `WorldState`; recording one cannot itself +request elaboration or advance a world revision. World validity is sparse and causal. Actor counts, coverage ratios, interestingness, political diversity, name quality, and prose quality are @@ -67,8 +70,15 @@ load or evaluation evidence; none admits ontology or declares a world complete. - `4aebe17` adopts the target authority map. - `64f50de` removes seven obsolete pipeline-smoke binaries and two live-fire orchestration scripts. -- `a144c33` adds the two cognition modes and total interpretation contract in +- `a144c33` establishes the two disjoint cognition modes in `ghostlight-persona-projection`. +- `d49b907` refines total Persona interpretation: source prose is receipt-bound + noncanonical evidence, typed captures cite exact source spans, malformed spans, + raw decode failure, and normal exhaustion receive whole-source gap fallback, + infrastructure interruption returns the source pending, and only actual + spoken words qualify for a speech proposal. This contract is not wired into + the live legacy Persona runners; they still terminalize and remain deletion + targets. - An uncommitted broad `world.rs` prototype was rejected and deleted. It exposed mutable state and ID issuance, admitted translation-gap evidence into canonical types, allowed no-op commits, and left affordance and opportunity diff --git a/state/evidence.jsonl b/state/evidence.jsonl index b31fb3d..0f1a254 100644 --- a/state/evidence.jsonl +++ b/state/evidence.jsonl @@ -249,4 +249,5 @@ {"note": "Run 115 terminated at revision 2 with 2/8 regions and 0/1 waves after an SSE timeout and a dangling institution location exhausted the model reconciliation workbench. The qualification/verifier/reconciliation/context/timeout/routing patch sequence through 8964a92 did not establish structural ownership. Operator ordered a whole-machine rebuild: one WorldKernel, one typed ontology reducer, one CommandEnvelope/CultCache commit path; NarrativePersona retains Projector-Persona-Interpreter prose isolation, while OperationalAgent is an explicit disjoint controller for operator-shaped cognition. Actor counts and qualitative interest remain evaluation evidence, never admission or completeness authority.", "status": "accepted", "ts": "2026-09-01T12:11:39+00:00", "type": "architecture"} {"note": "Mind maintenance falsified stale rebuild steering: the map still claimed subtraction had not begun and the handoff later revived Run 111 as an active continuation. Rebuilt the handoff and implementation plan around the adopted one-WorldState authority, landed cuts 64f50de/a144c33, total interpretation, current deletion line, and focused verification gate; chronology remains in Git, evidence, and the frozen teardown map.", "status": "ok", "ts": "2026-09-01T12:37:47+00:00", "type": "architecture"} {"note": "Rejected and deleted the uncommitted first world.rs foundation after focused tests passed. Review found the public module exposed mutable WorldState and ID issuance, translation-gap inference had become canonical world mutation, empty batches could advance revision, controller commands lacked consumed opportunity/readiness/affordance binding, external ownership was bypassed by world-author authority, command evidence did not bind fact evidence, and batch self-digests were unverifiable. Next cut is private-first: seal WorldKernel/aggregate/journal ownership before reintroducing a minimal reducer behind it.", "status": "rejected", "ts": "2026-09-01T13:03:26+00:00", "type": "architecture"} -{"ts": "2026-09-01T14:18:40+00:00", "type": "implementation", "status": "ok", "note": "Commit b53251f lands a private provisional foundation.v0 WorldKernel owner: immutable genesis and exact create retry, sealed authentication evidence, one live CultCache owner, canonical WorldId issuance and reduction kept private, digest/replay recovery, persisted no-op and rejection non-commit, path-identity revocation, and poison/reopen after a simulated post-durable lost acknowledgement. Nine focused world tests pass. The legacy exported kernel remains live; this is the sealed foundation, not cutover."} +{"note": "Commit b53251f lands a private provisional foundation.v0 WorldKernel owner: immutable genesis and exact create retry, sealed authentication evidence, one live CultCache owner, canonical WorldId issuance and reduction kept private, digest/replay recovery, persisted no-op and rejection non-commit, path-identity revocation, and poison/reopen after a simulated post-durable lost acknowledgement. Nine focused world tests pass. The legacy exported kernel remains live; this is the sealed foundation, not cutover.", "status": "ok", "ts": "2026-09-01T14:18:40+00:00", "type": "implementation"} +{"ts": "2026-09-01T14:37:59+00:00", "type": "implementation", "status": "ok", "note": "Commit d49b907 makes the replacement Persona interpretation contract structurally total. Persona source prose is immutable noncanonical evidence bound to typed world/controller/opportunity/revision and inference receipts; only exact typed captures may propose state, actual quoted dialogue is required for speech, malformed spans or raw tool payloads become exact whole-source translation gaps, normal step exhaustion adds an unresolved-source gap, and infrastructure interruption discards partial captures and returns the source pending. Ten focused projection tests pass. Legacy exported Persona runners still contain terminal failure paths and do not expose record_gap; they remain deletion targets, so totality is not yet a live-runtime claim."} diff --git a/state/ghostlight-state.cultcache.jsonl b/state/ghostlight-state.cultcache.jsonl index e2ff568..ff6d25c 100644 --- a/state/ghostlight-state.cultcache.jsonl +++ b/state/ghostlight-state.cultcache.jsonl @@ -251,3 +251,4 @@ {"key": "2026-09-01T123747Z0000-0249-37687ac034c6", "payload": "eyJub3RlIjogIk1pbmQgbWFpbnRlbmFuY2UgZmFsc2lmaWVkIHN0YWxlIHJlYnVpbGQgc3RlZXJpbmc6IHRoZSBtYXAgc3RpbGwgY2xhaW1lZCBzdWJ0cmFjdGlvbiBoYWQgbm90IGJlZ3VuIGFuZCB0aGUgaGFuZG9mZiBsYXRlciByZXZpdmVkIFJ1biAxMTEgYXMgYW4gYWN0aXZlIGNvbnRpbnVhdGlvbi4gUmVidWlsdCB0aGUgaGFuZG9mZiBhbmQgaW1wbGVtZW50YXRpb24gcGxhbiBhcm91bmQgdGhlIGFkb3B0ZWQgb25lLVdvcmxkU3RhdGUgYXV0aG9yaXR5LCBsYW5kZWQgY3V0cyA2NGY1MGRlL2ExNDRjMzMsIHRvdGFsIGludGVycHJldGF0aW9uLCBjdXJyZW50IGRlbGV0aW9uIGxpbmUsIGFuZCBmb2N1c2VkIHZlcmlmaWNhdGlvbiBnYXRlOyBjaHJvbm9sb2d5IHJlbWFpbnMgaW4gR2l0LCBldmlkZW5jZSwgYW5kIHRoZSBmcm96ZW4gdGVhcmRvd24gbWFwLiIsICJzdGF0dXMiOiAib2siLCAidHMiOiAiMjAyNi0wOS0wMVQxMjozNzo0NyswMDowMCIsICJ0eXBlIjogImFyY2hpdGVjdHVyZSJ9", "stored_at": "2026-09-01T12:37:47.089831+00:00", "type": "ghostlight.evidence_record.v0"} {"key": "2026-09-01T130326Z0000-0250-72c176f77744", "payload": "eyJub3RlIjogIlJlamVjdGVkIGFuZCBkZWxldGVkIHRoZSB1bmNvbW1pdHRlZCBmaXJzdCB3b3JsZC5ycyBmb3VuZGF0aW9uIGFmdGVyIGZvY3VzZWQgdGVzdHMgcGFzc2VkLiBSZXZpZXcgZm91bmQgdGhlIHB1YmxpYyBtb2R1bGUgZXhwb3NlZCBtdXRhYmxlIFdvcmxkU3RhdGUgYW5kIElEIGlzc3VhbmNlLCB0cmFuc2xhdGlvbi1nYXAgaW5mZXJlbmNlIGhhZCBiZWNvbWUgY2Fub25pY2FsIHdvcmxkIG11dGF0aW9uLCBlbXB0eSBiYXRjaGVzIGNvdWxkIGFkdmFuY2UgcmV2aXNpb24sIGNvbnRyb2xsZXIgY29tbWFuZHMgbGFja2VkIGNvbnN1bWVkIG9wcG9ydHVuaXR5L3JlYWRpbmVzcy9hZmZvcmRhbmNlIGJpbmRpbmcsIGV4dGVybmFsIG93bmVyc2hpcCB3YXMgYnlwYXNzZWQgYnkgd29ybGQtYXV0aG9yIGF1dGhvcml0eSwgY29tbWFuZCBldmlkZW5jZSBkaWQgbm90IGJpbmQgZmFjdCBldmlkZW5jZSwgYW5kIGJhdGNoIHNlbGYtZGlnZXN0cyB3ZXJlIHVudmVyaWZpYWJsZS4gTmV4dCBjdXQgaXMgcHJpdmF0ZS1maXJzdDogc2VhbCBXb3JsZEtlcm5lbC9hZ2dyZWdhdGUvam91cm5hbCBvd25lcnNoaXAgYmVmb3JlIHJlaW50cm9kdWNpbmcgYSBtaW5pbWFsIHJlZHVjZXIgYmVoaW5kIGl0LiIsICJzdGF0dXMiOiAicmVqZWN0ZWQiLCAidHMiOiAiMjAyNi0wOS0wMVQxMzowMzoyNiswMDowMCIsICJ0eXBlIjogImFyY2hpdGVjdHVyZSJ9", "stored_at": "2026-09-01T13:03:26.351584+00:00", "type": "ghostlight.evidence_record.v0"} {"key": "2026-09-01T141840Z0000-0251-0503ba842a66", "payload": "eyJub3RlIjogIkNvbW1pdCBiNTMyNTFmIGxhbmRzIGEgcHJpdmF0ZSBwcm92aXNpb25hbCBmb3VuZGF0aW9uLnYwIFdvcmxkS2VybmVsIG93bmVyOiBpbW11dGFibGUgZ2VuZXNpcyBhbmQgZXhhY3QgY3JlYXRlIHJldHJ5LCBzZWFsZWQgYXV0aGVudGljYXRpb24gZXZpZGVuY2UsIG9uZSBsaXZlIEN1bHRDYWNoZSBvd25lciwgY2Fub25pY2FsIFdvcmxkSWQgaXNzdWFuY2UgYW5kIHJlZHVjdGlvbiBrZXB0IHByaXZhdGUsIGRpZ2VzdC9yZXBsYXkgcmVjb3ZlcnksIHBlcnNpc3RlZCBuby1vcCBhbmQgcmVqZWN0aW9uIG5vbi1jb21taXQsIHBhdGgtaWRlbnRpdHkgcmV2b2NhdGlvbiwgYW5kIHBvaXNvbi9yZW9wZW4gYWZ0ZXIgYSBzaW11bGF0ZWQgcG9zdC1kdXJhYmxlIGxvc3QgYWNrbm93bGVkZ2VtZW50LiBOaW5lIGZvY3VzZWQgd29ybGQgdGVzdHMgcGFzcy4gVGhlIGxlZ2FjeSBleHBvcnRlZCBrZXJuZWwgcmVtYWlucyBsaXZlOyB0aGlzIGlzIHRoZSBzZWFsZWQgZm91bmRhdGlvbiwgbm90IGN1dG92ZXIuIiwgInN0YXR1cyI6ICJvayIsICJ0cyI6ICIyMDI2LTA5LTAxVDE0OjE4OjQwKzAwOjAwIiwgInR5cGUiOiAiaW1wbGVtZW50YXRpb24ifQ==", "stored_at": "2026-09-01T14:18:40.242605+00:00", "type": "ghostlight.evidence_record.v0"} +{"key": "2026-09-01T143759Z0000-0252-5215bd873810", "payload": "eyJub3RlIjogIkNvbW1pdCBkNDliOTA3IG1ha2VzIHRoZSByZXBsYWNlbWVudCBQZXJzb25hIGludGVycHJldGF0aW9uIGNvbnRyYWN0IHN0cnVjdHVyYWxseSB0b3RhbC4gUGVyc29uYSBzb3VyY2UgcHJvc2UgaXMgaW1tdXRhYmxlIG5vbmNhbm9uaWNhbCBldmlkZW5jZSBib3VuZCB0byB0eXBlZCB3b3JsZC9jb250cm9sbGVyL29wcG9ydHVuaXR5L3JldmlzaW9uIGFuZCBpbmZlcmVuY2UgcmVjZWlwdHM7IG9ubHkgZXhhY3QgdHlwZWQgY2FwdHVyZXMgbWF5IHByb3Bvc2Ugc3RhdGUsIGFjdHVhbCBxdW90ZWQgZGlhbG9ndWUgaXMgcmVxdWlyZWQgZm9yIHNwZWVjaCwgbWFsZm9ybWVkIHNwYW5zIG9yIHJhdyB0b29sIHBheWxvYWRzIGJlY29tZSBleGFjdCB3aG9sZS1zb3VyY2UgdHJhbnNsYXRpb24gZ2Fwcywgbm9ybWFsIHN0ZXAgZXhoYXVzdGlvbiBhZGRzIGFuIHVucmVzb2x2ZWQtc291cmNlIGdhcCwgYW5kIGluZnJhc3RydWN0dXJlIGludGVycnVwdGlvbiBkaXNjYXJkcyBwYXJ0aWFsIGNhcHR1cmVzIGFuZCByZXR1cm5zIHRoZSBzb3VyY2UgcGVuZGluZy4gVGVuIGZvY3VzZWQgcHJvamVjdGlvbiB0ZXN0cyBwYXNzLiBMZWdhY3kgZXhwb3J0ZWQgUGVyc29uYSBydW5uZXJzIHN0aWxsIGNvbnRhaW4gdGVybWluYWwgZmFpbHVyZSBwYXRocyBhbmQgZG8gbm90IGV4cG9zZSByZWNvcmRfZ2FwOyB0aGV5IHJlbWFpbiBkZWxldGlvbiB0YXJnZXRzLCBzbyB0b3RhbGl0eSBpcyBub3QgeWV0IGEgbGl2ZS1ydW50aW1lIGNsYWltLiIsICJzdGF0dXMiOiAib2siLCAidHMiOiAiMjAyNi0wOS0wMVQxNDozNzo1OSswMDowMCIsICJ0eXBlIjogImltcGxlbWVudGF0aW9uIn0=", "stored_at": "2026-09-01T14:37:59.318539+00:00", "type": "ghostlight.evidence_record.v0"} diff --git a/state/map.yaml b/state/map.yaml index adbe7ae..7e15037 100644 --- a/state/map.yaml +++ b/state/map.yaml @@ -343,7 +343,7 @@ data_flow: current_status: summary: Ghostlight is in whole-machine teardown. Run 115 is terminal failed at world revision 2 with two of eight regions admitted and no strategic wave. Provider timeouts and a dangling institution location survived the qualification, verifier, reconciliation, context, timeout, and model-routing patches through commit 8964a92, proving that the pipeline lacks a single structural owner. The adopted rebuild retains NarrativePersona for embodied roleplay and admits OperationalAgent for operator-shaped cognition, both under explicit disjoint controller scopes. One WorldKernel, one typed ontology reducer, one CommandEnvelope ingress, and one atomic CultCache commit path own the target architecture. No acceptance run is active. provider_acceptance_checkpoint: Exact pushed commit `139b8a6` completed Run 60 under `character-newsroom.v10` without world or per-wave replay. Its acceptance witness and terminal status bind the completed page and exact resume lineage. The independently dispatched blind reviewer, shown only the reader-facing fantasy newspaper, read it as a real left-populist civic broadsheet and did not immediately identify procedural generation, so the narrative reverse-Turing criterion passes. The review's substantive criticism is that the three stories feel like three rewrites of one briefing; accepted Run 60 remains immutable. The run used 96,902 prompt tokens and reported zero cache hits. Its delivered typeset artifact is `output/pdf/canopy-ledger-run-60-front-page.pdf`; frozen-source and visual verification remain accepted. Exact pushed `bc2ca39` then produced frozen-fact newsroom-only Run 61 Issues 13, 15, 16, 17, and 18 without world or wave model replay. Provider output proves `special_issue` convergence in Issues 13 and 15, independent `general_issue` beats in Issues 16 through 18, and assignment-selector cache hits. Blind review of Issues 13, 15, 16, and 17 passes both distinct recurring voices and issue-shape diversity, recognizing Ossan, Mera, Corin, and Lysa's biases plus modest cross-issue evolution. Run 62 exercised v12 without world or wave replay and failed only because two lead articles proposed invalid datelines; recurring reporter calls still recorded zero cache hits. Run 63 used exact pushed v13 `a52d57b`; Issues 17 and 18 completed before root stopped the final weekly recomposition, both repeated bylines again recorded zero cache hits, and live services remained unchanged. Preserve Runs 61 through 63 as stopped or completed immutable evidence. Copy defects remain later deadline-correction work rather than a reason to reopen accepted issue artifacts. - implementation_checkpoint: Pushed commit `b53251f` lands the sealed private replacement owner as `foundation.v0`; the legacy exported `kernel::WorldKernel` remains the live runtime path. The private seam exposes only exact create/open, immutable snapshot, command submit, and typed receipts inside the crate while keeping mutable state, ID issuance, reduction, authentication construction, and the CultCache journal private. Nine focused tests prove exact idempotent create, immutable canonical genesis, one live owner, sealed authentication evidence, replay and digest recovery, persisted rejection and no-op non-commit, store-path identity revocation, and post-durable lost-ack poison followed by explicit reopen and exact retry. The target authority map remains `docs/architecture/ghostlight-dungeon-mvp.md`; explicit disjoint `NarrativePersona` and `OperationalAgent` interfaces plus total interpretation landed at `a144c33`. Legacy `WorldKernel`, `SessionZeroKernel`, aggregate Campaign/component state, alternate ingress, verifier and reconciliation stages, and persisted recovery remain in the Body. The next cut adds the minimal private lifecycle and action reducer plus mailbox, controller, affordance, and opportunity authority behind the sealed owner. + implementation_checkpoint: Pushed commit `b53251f` lands the sealed private replacement owner as `foundation.v0`; the legacy exported `kernel::WorldKernel` remains the live runtime path. The private seam exposes only exact create/open, immutable snapshot, command submit, and typed receipts inside the crate while keeping mutable state, ID issuance, reduction, authentication construction, and the CultCache journal private. Nine focused tests prove exact idempotent create, immutable canonical genesis, one live owner, sealed authentication evidence, replay and digest recovery, persisted rejection and no-op non-commit, store-path identity revocation, and post-durable lost-ack poison followed by explicit reopen and exact retry. The target authority map remains `docs/architecture/ghostlight-dungeon-mvp.md`; `a144c33` established explicit disjoint `NarrativePersona` and `OperationalAgent` interfaces, and `d49b907` refines total Persona interpretation with receipt-bound noncanonical source prose, exact typed captures, whole-source gap fallback for malformed spans, raw decode failure, and normal exhaustion, pending source on infrastructure interruption, typed speech only for actually spoken words, and translation gaps outside `WorldState`. That contract is not wired into the live legacy Persona runners; they still terminalize and remain deletion targets. Legacy `WorldKernel`, `SessionZeroKernel`, aggregate Campaign/component state, alternate ingress, verifier and reconciliation stages, and persisted recovery remain in the Body. The next cut adds the minimal private lifecycle and action reducer plus mailbox, controller, affordance, and opportunity authority behind the sealed owner. full_world_acceptance_checkpoint: Run 115 is terminal failed at `/var/lib/gamecult/ghostlight-dungeon/acceptance/full-world-delvehold-0a83034-115`, semantic revision 2, regions 2/8, waves 0/1. Resume2 ended on provider SSE timeout. Resume3 exhausted four reconciliation steps after `inst:kharad-road-keepers` referenced unknown `loc:kharad-rhythm-road`. Preserve the root, receipts, service invocation `d9254cd9b77946aebcf7a7fdae821402`, and failed patch sequence through 8964a92 as immutable evidence. Do not resume it. scale_checkpoint: Runs 108 through 115 prove load and failure properties of the pre-rebuild body, not world completeness. The 1,200 and 2,400 actor figures are synthetic evaluation profiles only. Production expansion is sparse and causal; structural admission cannot require interest, diversity, name uniqueness, or an actor count. No further scale run is admitted until the replacement single-owner lifecycle, reducer, decision-controller boundaries, recovery path, and negative invariants pass focused tests. 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.