diff --git a/crates/ghostlight-dungeon/src/newspaper.rs b/crates/ghostlight-dungeon/src/newspaper.rs index f3fb234..562e4d4 100644 --- a/crates/ghostlight-dungeon/src/newspaper.rs +++ b/crates/ghostlight-dungeon/src/newspaper.rs @@ -1268,9 +1268,10 @@ fn apply_grounding_edits( }) }) .collect::>(); - let mut edits_by_target = - BTreeMap::<(usize, GroundingEditableField, Option), Vec<(usize, usize, String)>>::new( - ); + let mut edits_by_target = BTreeMap::< + (usize, GroundingEditableField, Option), + Vec<(usize, usize, usize, String)>, + >::new(); let mut draft = original.clone(); for replacement in replacements { let finding_index = usize::from(replacement.finding_ref.0); @@ -1300,22 +1301,34 @@ fn apply_grounding_edits( edits_by_target.entry(target_key).or_default().push(( resolved.start, resolved.end, + finding_index, replacement.replacement, )); } for ((article_index, field, paragraph_index), mut edits) in edits_by_target { - edits.sort_by_key(|(start, end, _)| (*start, *end)); - if edits.windows(2).any(|window| window[0].1 > window[1].0) { - return Err(anyhow!( - "grounding repair contains overlapping exact phrases in one text target" - )); + edits.sort_by_key(|(start, end, finding_index, _)| { + (*start, std::cmp::Reverse(*end), *finding_index) + }); + let mut disjoint_edits = Vec::with_capacity(edits.len()); + for edit in edits { + if let Some((_, previous_end, _, _)) = disjoint_edits.last() { + if edit.0 < *previous_end { + if edit.1 <= *previous_end { + continue; + } + return Err(anyhow!( + "grounding repair contains partially overlapping exact phrases in one text target" + )); + } + } + disjoint_edits.push(edit); } let article = draft .articles .get_mut(article_index) .ok_or_else(|| anyhow!("grounding repair names an invalid article"))?; let target = grounding_edit_target(article, &field, paragraph_index)?; - for (start, end, replacement) in edits.into_iter().rev() { + for (start, end, _, replacement) in disjoint_edits.into_iter().rev() { target.replace_range(start..end, &replacement); } } @@ -1434,7 +1447,7 @@ async fn run_grounding_reconciliation_step( > { let indexed_findings = grounding_finding_catalog(&verdict); let instructions = format!( - "You are Ghostlight's grounding reconciliation agent. Repair one already-edited newspaper page against the same frozen source desk and exact rejection. You do not report new events, add spice, improve the simulation, or rerun the editor. The workbench freezes article selection, order, sections, bylines, citations, and all unaffected copy. Submit only replacements for the numbered current findings, or delete the article containing a numbered finding when its cited notes cannot support a grounded story. Each replacement selects one finding_ref and supplies only its replacement text. The deterministic workbench owns the selected finding's article, text field, paragraph, exact phrase, and byte span. replacement may be empty when phrase deletion is the honest repair. Address the complete finding set in this one pass. Preserve source status exactly: an attempt is not a result, a committed course does not complete its embedded plans, and a public declaration is not evidence that its demand succeeded. A named person's supported_identity_attributes is exhaustive; when it is empty, use the name or identity-neutral wording and do not invent pronouns, gender, title, kinship, or office. Delete an unsupported phrase rather than replacing it with an adjacent invention. The deterministic workbench applies the edits transactionally and reruns the same whole-page copy desk.\n\nFROZEN NEWSROOM FACT DESK:\n{}\n\nCURRENT CHECKPOINTED DRAFT:\n{}\n\nCURRENT REJECTION VERDICT:\n{}\n\nNUMBERED EXACT FINDINGS:\n{}", + "You are Ghostlight's grounding reconciliation agent. Repair one already-edited newspaper page against the same frozen source desk and exact rejection. You do not report new events, add spice, improve the simulation, or rerun the editor. The workbench freezes article selection, order, sections, bylines, citations, and all unaffected copy. Submit only replacements for the numbered current findings, or delete the article containing a numbered finding when its cited notes cannot support a grounded story. Each replacement selects one finding_ref and supplies only its replacement text. The deterministic workbench owns the selected finding's article, text field, paragraph, exact phrase, and byte span. replacement may be empty when phrase deletion is the honest repair. Address the complete finding set in this one pass. When exact findings are nested in one text field, still answer every finding_ref; the workbench deterministically applies the outermost replacement because it owns the complete affected span and treats contained replacements as covered. Preserve source status exactly: an attempt is not a result, a committed course does not complete its embedded plans, and a public declaration is not evidence that its demand succeeded. A named person's supported_identity_attributes is exhaustive; when it is empty, use the name or identity-neutral wording and do not invent pronouns, gender, title, kinship, or office. Delete an unsupported phrase rather than replacing it with an adjacent invention. The deterministic workbench applies the edits transactionally and reruns the same whole-page copy desk.\n\nFROZEN NEWSROOM FACT DESK:\n{}\n\nCURRENT CHECKPOINTED DRAFT:\n{}\n\nCURRENT REJECTION VERDICT:\n{}\n\nNUMBERED EXACT FINDINGS:\n{}", source_json, serde_json::to_string_pretty(&draft).unwrap_or_default(), serde_json::to_string_pretty(&verdict).unwrap_or_default(), @@ -2537,6 +2550,53 @@ mod tests { ); } + #[test] + fn grounding_repair_collapses_nested_findings_to_the_outer_span() { + let draft: EditorialPageDraft = serde_json::from_str(ACCEPTED_PAGE).unwrap(); + let outer = "The treasurer who delivered that admission in open court was dismissed soon afterward. The court has explained the firing; it has not made the seal any less pawned."; + let verdict = WorldNewspaperGroundingVerdict { + accepted: false, + assessment: "One unsupported clause sits inside repetitive copy.".into(), + findings: vec![ + WorldNewspaperGroundingFinding { + article_index: 0, + category: WorldNewspaperGroundingCategory::MechanicalCopy, + claim_or_phrase: outer.into(), + reason: "Rewrite the paragraph once.".into(), + }, + WorldNewspaperGroundingFinding { + article_index: 0, + category: WorldNewspaperGroundingCategory::UnsupportedFact, + claim_or_phrase: "The court has explained the firing".into(), + reason: "The source establishes dismissal, not an explanation.".into(), + }, + ], + }; + let repaired = apply_grounding_edits( + &draft, + &verdict, + GroundingReconciliationAction::SubmitEdits { + replacements: vec![ + GroundingTextReplacement { + finding_ref: GroundingFindingRef(1), + replacement: "The record gives no reason for the firing".into(), + }, + GroundingTextReplacement { + finding_ref: GroundingFindingRef(0), + replacement: "The treasurer delivered the admission in open court and was dismissed soon afterward; the seal remained pawned.".into(), + }, + ], + delete_finding_refs: Vec::new(), + }, + ) + .unwrap(); + + assert_eq!( + repaired.articles[0].paragraphs[1], + "The treasurer delivered the admission in open court and was dismissed soon afterward; the seal remained pawned." + ); + } + #[test] fn grounding_repair_rejects_duplicate_findings_and_overlapping_spans() { let draft: EditorialPageDraft = serde_json::from_str(ACCEPTED_PAGE).unwrap(); diff --git a/notes/fresh-workspace-handoff.md b/notes/fresh-workspace-handoff.md index a3d94de..262e385 100644 --- a/notes/fresh-workspace-handoff.md +++ b/notes/fresh-workspace-handoff.md @@ -1104,32 +1104,46 @@ finding is one mechanical duplicated clause. Issues 15 through 18 and the final digest remain absent. Unit invocation is `3276392f4a7149fc9d127a966e792633`. -Another fixed step would repeat the same compensator. The current uncommitted -resumable-reconciliation cut persists a typed generation-zero checkpoint and a -new typed checkpoint after every rejection, binding the exact draft, verdict -and finding catalog, model and deterministic receipts, and source/contract -identity. Accepted composition and strategic artifact records separately bind -issue and rendered-file ancestry. Resume continues that exact pending chain -without rerunning the editor. Typed run-46 import converts the preserved -terminal evidence into the same checkpoint contract. Gates pass -475/475 library tests and 13/13 strategic-smoke binary tests, including -same-task source-drift and fork rejection before inference. +Pushed `db48befa71fcca25f1aae9976110ded5fad7cf2b` persists a typed +generation-zero checkpoint and a new typed checkpoint after every rejection, +binding the exact draft, verdict and finding catalog, model and deterministic +receipts, and source/contract identity. Accepted composition and strategic +artifact records separately bind issue and rendered-file ancestry. Resume +continues that exact pending chain without rerunning the editor. Typed run-46 +import converts the preserved terminal evidence into the same checkpoint +contract. + +Exact-source run 47 admitted Issue 15 and reached Issue 16 generation three. +Run 48 resumed Issue 16 to generation six. Run 49 resumed and admitted Issue +16, then advanced Issue 17 through generation 24 before its deliberately +bounded eight-call launcher stopped. The final five findings include one +paragraph-sized mechanical finding containing a smaller unsupported phrase. +The reconciliation agent repeatedly supplied both exact repairs, but the +workbench rejected the nested spans as overlap. Runs 46 through 49, world +revision 27, every strategic checkpoint, and accepted Issues 13 through 16 +remain immutable. Live codex-connector and ghostlight-dungeon service PIDs and +invocation IDs remained unchanged. + +The current bounded fix keeps this decision in the grounding workbench: edits +sort deterministically by start, outer span, and finding reference; an outer +replacement owns and covers contained repairs, while partial overlaps still +fail closed. The complete finding set remains mandatory and the same copy desk +rechecks the transaction. Gates pass 21/21 newspaper tests and 476/476 library +tests. Pushed `af749de` routes a provider timeout through the shared model transport's existing one same-request retry and records attempt telemetry. Run 36 crossed that boundary; timeout retry is not its active blocker. -1. Commit and push the verified typed resumable-reconciliation checkpoint and - run-46 import cut. -2. Launch run 47 by resuming run 46's Issue 15 reconciliation chain at revision - 27 to compose Issues 15 through 18 plus the final digest. Preserve every - completed wave checkpoint and canonical world state; do not replay mechanics - or successful publications. Require the resulting unedited publications and - final digest to pass fresh independent editorial and provenance review before - claiming acceptance. Preserve runs 38/39/40/42/43/44/45/46, the run-41 root - and committed world lineage, stopped run 23, exact acceptance conditions, - and unchanged live daemons. - Run 47 remains unlaunched. +1. Commit and push the nested-finding normalization. +2. Launch run 50 from run 49's exact Issue 17 generation-24 checkpoint. Preserve + accepted Issues 13 through 16, every completed wave checkpoint and canonical + world state; do not replay mechanics, the editor, or successful publications. + Compose Issues 17 and 18 plus the final digest, then require fresh independent + editorial and grounding review, provenance and archive/hash verification, + and unchanged-live-service proof before claiming acceptance. Preserve runs + 38 through 49, the run-41 committed world lineage, stopped run 23, and the + exact acceptance conditions. 3. Have the game-side adapter lower its authored hierarchy into the published generic schemas; keep projection and economy translation consumer-owned. 4. Prove one consumer-owned effect crosses that public API, changes two foreign diff --git a/notes/ghostlight-current-system-map.md b/notes/ghostlight-current-system-map.md index ea59579..abcfb76 100644 --- a/notes/ghostlight-current-system-map.md +++ b/notes/ghostlight-current-system-map.md @@ -1306,11 +1306,13 @@ paragraph, exact phrase, and byte span against the frozen draft. Deterministic verdict validation and transactional edit application share that resolver; the model cannot author target coordinates or repeat phrase identity. Deterministic admission requires every current finding reference to be addressed and forbids -duplicate or unknown references, overlapping spans, and simultaneous -edit/delete of one article. Distinct non-overlapping findings may target the -same headline, deck, dateline, or paragraph: owner code groups them by target -and applies them atomically in descending byte position, so replacement length -and model ordering cannot move a later edit. Citations, +duplicate or unknown references, partially overlapping spans, and simultaneous +edit/delete of one article. Findings nested inside a larger exact finding in +the same field are not competing writers: owner code orders outer spans first, +applies the outer replacement once, and treats contained replacements as +covered. Distinct non-overlapping findings are grouped by target and applied +atomically in descending byte position, so replacement length and model +ordering cannot move a later edit. Citations, surviving article selection and order, sections, bylines, and all unaffected text remain frozen. If the lead is deleted, owner code promotes the next article to the front page. The agent cannot request a new simulation or source packet, @@ -1391,10 +1393,12 @@ The resumable reconciliation boundary is now live: copy-desk ancestry, accepted-composition idempotence without inference, same-task source-drift rejection and fork rejection before inference, typed legacy import through the common validator, and Registry preservation of - pending state. The current verified gate is 475/475 library tests and 13/13 + pending state. The current verified gate is 476/476 library tests and 13/13 strategic-smoke binary tests, including same-task source-drift and fork - rejection before inference. Run 47 has not yet supplied provider-backed - resume/acceptance proof. + rejection before inference. Provider runs 47 through 49 prove exact-chain + resume and accepted-publication idempotence through Issue 16; Issue 17 reached + generation 24 without editor or world replay and exposed the nested-finding + admission case now owned by the workbench. The typed issue retains exact event IDs, channels, reliability, source revision, and model receipts as audit data. Its internal issue time is derived diff --git a/state/evidence.jsonl b/state/evidence.jsonl index b779c9b..440c9ad 100644 --- a/state/evidence.jsonl +++ b/state/evidence.jsonl @@ -215,4 +215,5 @@ {"note": "The exact three-action mixed-path reconciliation cut is implemented and verified. It permits the initial action, at most one local-admission correction, and at most one fresh copy-desk correction in one workbench state and receipt chain; rejection after action three is terminal and the editor never reruns. The exact regression and full gates pass: 16/16 newspaper tests, 470/470 library tests, 13/13 strategic-smoke binary tests, and git diff --check. Pending verification steering is retired. Next action is commit/push, then exact-source run46 from immutable run45 preserved Issues13/14 at revision27 with no world or successful-publication replay. One good Canopy Ledger remains first; publication Personas later; layout and engraved cuts after editorial acceptance.", "status": "ok", "ts": "2026-08-29T06:25:26+00:00", "type": "verification"} {"note": "Exact-source run46 at dfe0926041b83d69a4b02451cdab706572522ae3 resumed revision27 without world or successful-publication replay. Issues13/14 remained preserved. Issue15 exhausted three admitted repair/copy-desk rounds; the final exact finding is one mechanical duplicated clause. Issues15-18 and the final digest remain absent. Unit invocation is 3276392f4a7149fc9d127a966e792633. Raising another fixed step repeats the same compensator, while current immutable recovery reruns the editor and discards reconciliation state. Next action is to map, then implement and verify, a typed resumable reconciliation checkpoint binding current draft, exact verdict/finding catalog, workbench, receipts, source/contract identity, and render/file ancestry; run47 must resume that chain without editor, world, or successful-publication replay. One good Canopy Ledger remains first; publication Personas later; layout and engraved cuts after editorial acceptance.", "status": "ok", "ts": "2026-08-29T06:41:00+00:00", "type": "correction"} {"note": "The typed resumable newspaper reconciliation cut is implemented and locally verified. It persists a typed generation-zero checkpoint and a new typed checkpoint after every rejection, binding the exact draft, copy-desk verdict/finding catalog, workbench state, model and deterministic receipts, source/contract identity, and rendered/file ancestry. Resume continues that chain without rerunning the editor. Typed run46 import converts the preserved terminal evidence into the same checkpoint contract. Gates pass 473/473 library tests and 13/13 strategic-smoke binary tests. Planned-only steering is retired. Next action is commit/push, then launch still-unlaunched run47 by continuing run46 Issue15 without editor, world, or successful-publication replay. One good Canopy Ledger remains first; publication Personas later; layout and engraved cuts after editorial acceptance.", "status": "ok", "ts": "2026-08-29T07:36:01+00:00", "type": "verification"} -{"ts": "2026-08-29T07:42:40+00:00", "type": "correction", "status": "ok", "note": "The final resumable-newspaper gate is 475/475 library tests and 13/13 strategic-smoke tests, including same-task source-drift and fork rejection before inference. Clarification: pending checkpoints bind task/editorial identity, exact draft, rejected verdict/findings, parent generation, and ordered receipt ancestry. Accepted composition and strategic artifact records separately bind issue and rendered-file ancestry; rendered files are not checkpoint workbench state. Run47 remains unlaunched."} +{"note": "The final resumable-newspaper gate is 475/475 library tests and 13/13 strategic-smoke tests, including same-task source-drift and fork rejection before inference. Clarification: pending checkpoints bind task/editorial identity, exact draft, rejected verdict/findings, parent generation, and ordered receipt ancestry. Accepted composition and strategic artifact records separately bind issue and rendered-file ancestry; rendered files are not checkpoint workbench state. Run47 remains unlaunched.", "status": "ok", "ts": "2026-08-29T07:42:40+00:00", "type": "correction"} +{"ts": "2026-08-29T08:27:17+00:00", "type": "verification", "status": "ok", "note": "Provider runs 47-49 at db48bef proved checkpointed newspaper reconciliation resumes without editor, world, or accepted-issue replay through Issue 16. Run 49 advanced Issue 17 to generation 24 and exposed nested exact findings: the agent supplied both a paragraph repair and its contained phrase repair, while deterministic admission treated them as competing overlaps. The workbench now deterministically gives the outer span ownership, covers contained repairs, rejects partial overlaps, and passes 21 newspaper tests plus 476 library tests."} diff --git a/state/ghostlight-state.cultcache.jsonl b/state/ghostlight-state.cultcache.jsonl index 84393b4..952a047 100644 --- a/state/ghostlight-state.cultcache.jsonl +++ b/state/ghostlight-state.cultcache.jsonl @@ -217,3 +217,4 @@ {"key": "2026-08-29T064100Z0000-0215-144e1d030288", "payload": "eyJub3RlIjogIkV4YWN0LXNvdXJjZSBydW40NiBhdCBkZmUwOTI2MDQxYjgzZDY5YTRiMDI0NTFjZGFiNzA2NTcyNTIyYWUzIHJlc3VtZWQgcmV2aXNpb24yNyB3aXRob3V0IHdvcmxkIG9yIHN1Y2Nlc3NmdWwtcHVibGljYXRpb24gcmVwbGF5LiBJc3N1ZXMxMy8xNCByZW1haW5lZCBwcmVzZXJ2ZWQuIElzc3VlMTUgZXhoYXVzdGVkIHRocmVlIGFkbWl0dGVkIHJlcGFpci9jb3B5LWRlc2sgcm91bmRzOyB0aGUgZmluYWwgZXhhY3QgZmluZGluZyBpcyBvbmUgbWVjaGFuaWNhbCBkdXBsaWNhdGVkIGNsYXVzZS4gSXNzdWVzMTUtMTggYW5kIHRoZSBmaW5hbCBkaWdlc3QgcmVtYWluIGFic2VudC4gVW5pdCBpbnZvY2F0aW9uIGlzIDMyNzYzOTJmNGE3MTQ5ZmM5ZDEyN2E5NjZlNzkyNjMzLiBSYWlzaW5nIGFub3RoZXIgZml4ZWQgc3RlcCByZXBlYXRzIHRoZSBzYW1lIGNvbXBlbnNhdG9yLCB3aGlsZSBjdXJyZW50IGltbXV0YWJsZSByZWNvdmVyeSByZXJ1bnMgdGhlIGVkaXRvciBhbmQgZGlzY2FyZHMgcmVjb25jaWxpYXRpb24gc3RhdGUuIE5leHQgYWN0aW9uIGlzIHRvIG1hcCwgdGhlbiBpbXBsZW1lbnQgYW5kIHZlcmlmeSwgYSB0eXBlZCByZXN1bWFibGUgcmVjb25jaWxpYXRpb24gY2hlY2twb2ludCBiaW5kaW5nIGN1cnJlbnQgZHJhZnQsIGV4YWN0IHZlcmRpY3QvZmluZGluZyBjYXRhbG9nLCB3b3JrYmVuY2gsIHJlY2VpcHRzLCBzb3VyY2UvY29udHJhY3QgaWRlbnRpdHksIGFuZCByZW5kZXIvZmlsZSBhbmNlc3RyeTsgcnVuNDcgbXVzdCByZXN1bWUgdGhhdCBjaGFpbiB3aXRob3V0IGVkaXRvciwgd29ybGQsIG9yIHN1Y2Nlc3NmdWwtcHVibGljYXRpb24gcmVwbGF5LiBPbmUgZ29vZCBDYW5vcHkgTGVkZ2VyIHJlbWFpbnMgZmlyc3Q7IHB1YmxpY2F0aW9uIFBlcnNvbmFzIGxhdGVyOyBsYXlvdXQgYW5kIGVuZ3JhdmVkIGN1dHMgYWZ0ZXIgZWRpdG9yaWFsIGFjY2VwdGFuY2UuIiwgInN0YXR1cyI6ICJvayIsICJ0cyI6ICIyMDI2LTA4LTI5VDA2OjQxOjAwKzAwOjAwIiwgInR5cGUiOiAiY29ycmVjdGlvbiJ9", "stored_at": "2026-08-29T06:41:00.885410+00:00", "type": "ghostlight.evidence_record.v0"} {"key": "2026-08-29T073601Z0000-0216-222d1665a572", "payload": "eyJub3RlIjogIlRoZSB0eXBlZCByZXN1bWFibGUgbmV3c3BhcGVyIHJlY29uY2lsaWF0aW9uIGN1dCBpcyBpbXBsZW1lbnRlZCBhbmQgbG9jYWxseSB2ZXJpZmllZC4gSXQgcGVyc2lzdHMgYSB0eXBlZCBnZW5lcmF0aW9uLXplcm8gY2hlY2twb2ludCBhbmQgYSBuZXcgdHlwZWQgY2hlY2twb2ludCBhZnRlciBldmVyeSByZWplY3Rpb24sIGJpbmRpbmcgdGhlIGV4YWN0IGRyYWZ0LCBjb3B5LWRlc2sgdmVyZGljdC9maW5kaW5nIGNhdGFsb2csIHdvcmtiZW5jaCBzdGF0ZSwgbW9kZWwgYW5kIGRldGVybWluaXN0aWMgcmVjZWlwdHMsIHNvdXJjZS9jb250cmFjdCBpZGVudGl0eSwgYW5kIHJlbmRlcmVkL2ZpbGUgYW5jZXN0cnkuIFJlc3VtZSBjb250aW51ZXMgdGhhdCBjaGFpbiB3aXRob3V0IHJlcnVubmluZyB0aGUgZWRpdG9yLiBUeXBlZCBydW40NiBpbXBvcnQgY29udmVydHMgdGhlIHByZXNlcnZlZCB0ZXJtaW5hbCBldmlkZW5jZSBpbnRvIHRoZSBzYW1lIGNoZWNrcG9pbnQgY29udHJhY3QuIEdhdGVzIHBhc3MgNDczLzQ3MyBsaWJyYXJ5IHRlc3RzIGFuZCAxMy8xMyBzdHJhdGVnaWMtc21va2UgYmluYXJ5IHRlc3RzLiBQbGFubmVkLW9ubHkgc3RlZXJpbmcgaXMgcmV0aXJlZC4gTmV4dCBhY3Rpb24gaXMgY29tbWl0L3B1c2gsIHRoZW4gbGF1bmNoIHN0aWxsLXVubGF1bmNoZWQgcnVuNDcgYnkgY29udGludWluZyBydW40NiBJc3N1ZTE1IHdpdGhvdXQgZWRpdG9yLCB3b3JsZCwgb3Igc3VjY2Vzc2Z1bC1wdWJsaWNhdGlvbiByZXBsYXkuIE9uZSBnb29kIENhbm9weSBMZWRnZXIgcmVtYWlucyBmaXJzdDsgcHVibGljYXRpb24gUGVyc29uYXMgbGF0ZXI7IGxheW91dCBhbmQgZW5ncmF2ZWQgY3V0cyBhZnRlciBlZGl0b3JpYWwgYWNjZXB0YW5jZS4iLCAic3RhdHVzIjogIm9rIiwgInRzIjogIjIwMjYtMDgtMjlUMDc6MzY6MDErMDA6MDAiLCAidHlwZSI6ICJ2ZXJpZmljYXRpb24ifQ==", "stored_at": "2026-08-29T07:36:01.432048+00:00", "type": "ghostlight.evidence_record.v0"} {"key": "2026-08-29T074240Z0000-0217-f33c078abf64", "payload": "eyJub3RlIjogIlRoZSBmaW5hbCByZXN1bWFibGUtbmV3c3BhcGVyIGdhdGUgaXMgNDc1LzQ3NSBsaWJyYXJ5IHRlc3RzIGFuZCAxMy8xMyBzdHJhdGVnaWMtc21va2UgdGVzdHMsIGluY2x1ZGluZyBzYW1lLXRhc2sgc291cmNlLWRyaWZ0IGFuZCBmb3JrIHJlamVjdGlvbiBiZWZvcmUgaW5mZXJlbmNlLiBDbGFyaWZpY2F0aW9uOiBwZW5kaW5nIGNoZWNrcG9pbnRzIGJpbmQgdGFzay9lZGl0b3JpYWwgaWRlbnRpdHksIGV4YWN0IGRyYWZ0LCByZWplY3RlZCB2ZXJkaWN0L2ZpbmRpbmdzLCBwYXJlbnQgZ2VuZXJhdGlvbiwgYW5kIG9yZGVyZWQgcmVjZWlwdCBhbmNlc3RyeS4gQWNjZXB0ZWQgY29tcG9zaXRpb24gYW5kIHN0cmF0ZWdpYyBhcnRpZmFjdCByZWNvcmRzIHNlcGFyYXRlbHkgYmluZCBpc3N1ZSBhbmQgcmVuZGVyZWQtZmlsZSBhbmNlc3RyeTsgcmVuZGVyZWQgZmlsZXMgYXJlIG5vdCBjaGVja3BvaW50IHdvcmtiZW5jaCBzdGF0ZS4gUnVuNDcgcmVtYWlucyB1bmxhdW5jaGVkLiIsICJzdGF0dXMiOiAib2siLCAidHMiOiAiMjAyNi0wOC0yOVQwNzo0Mjo0MCswMDowMCIsICJ0eXBlIjogImNvcnJlY3Rpb24ifQ==", "stored_at": "2026-08-29T07:42:40.777233+00:00", "type": "ghostlight.evidence_record.v0"} +{"key": "2026-08-29T082717Z0000-0218-6eb8dbfd35e3", "payload": "eyJub3RlIjogIlByb3ZpZGVyIHJ1bnMgNDctNDkgYXQgZGI0OGJlZiBwcm92ZWQgY2hlY2twb2ludGVkIG5ld3NwYXBlciByZWNvbmNpbGlhdGlvbiByZXN1bWVzIHdpdGhvdXQgZWRpdG9yLCB3b3JsZCwgb3IgYWNjZXB0ZWQtaXNzdWUgcmVwbGF5IHRocm91Z2ggSXNzdWUgMTYuIFJ1biA0OSBhZHZhbmNlZCBJc3N1ZSAxNyB0byBnZW5lcmF0aW9uIDI0IGFuZCBleHBvc2VkIG5lc3RlZCBleGFjdCBmaW5kaW5nczogdGhlIGFnZW50IHN1cHBsaWVkIGJvdGggYSBwYXJhZ3JhcGggcmVwYWlyIGFuZCBpdHMgY29udGFpbmVkIHBocmFzZSByZXBhaXIsIHdoaWxlIGRldGVybWluaXN0aWMgYWRtaXNzaW9uIHRyZWF0ZWQgdGhlbSBhcyBjb21wZXRpbmcgb3ZlcmxhcHMuIFRoZSB3b3JrYmVuY2ggbm93IGRldGVybWluaXN0aWNhbGx5IGdpdmVzIHRoZSBvdXRlciBzcGFuIG93bmVyc2hpcCwgY292ZXJzIGNvbnRhaW5lZCByZXBhaXJzLCByZWplY3RzIHBhcnRpYWwgb3ZlcmxhcHMsIGFuZCBwYXNzZXMgMjEgbmV3c3BhcGVyIHRlc3RzIHBsdXMgNDc2IGxpYnJhcnkgdGVzdHMuIiwgInN0YXR1cyI6ICJvayIsICJ0cyI6ICIyMDI2LTA4LTI5VDA4OjI3OjE3KzAwOjAwIiwgInR5cGUiOiAidmVyaWZpY2F0aW9uIn0=", "stored_at": "2026-08-29T08:27:17.596963+00:00", "type": "ghostlight.evidence_record.v0"} diff --git a/state/map.yaml b/state/map.yaml index e199e19..d8b9a92 100644 --- a/state/map.yaml +++ b/state/map.yaml @@ -326,7 +326,7 @@ data_flow: current_status: summary: Ghostlight's generic consumer boundary admits sparse WorldSeeds, runs the hundreds-class parallel cell machinery used by Dungeon, and projects grounded newspapers from committed public events. Local acceptance proves 1,000 subjects across 200 cells and two-wave durable named-person emergence. Exact-source provider run 38 at `596e50679244b5d42b4cfdf70d723f815751b8ff` resumed the preserved world at revision 8 without replaying compilation or four committed locality elaborations, recovered 51 of 52 strategic-wave cells on pulse three and the final cell on pulse four, then committed all six waves through revision 14. Pushed commit `3a69306f3004e4af2cd57bba612a6ad8d1b8132f` implements the mapped clock-consequence owner and is verified locally: world clocks own declared consequence text and exact observable scope; a bounded agent may propose legacy scope binding, while `WorldKernel` alone admits it and materializes stable threshold-crossing events and public news through the common mutation path. Binding, emitted-event ancestry, mutation receipts, and the next newspaper boundary persist atomically. Exact-source run 39 resumed run 38 without replaying its six committed waves, bound clock consequences, committed six new waves through revision 21, and emitted Issues 7 through 12 plus a final digest. This completes the mechanical provider acceptance path; all inherited wave 1-6 checkpoint hashes match run 38 exactly and live services were unchanged. Independent blind editorial review returns FAIL: only Issue 7 approaches spicy, while Issues 8-12 are dominated by plans, filings, inspections, warnings, and abstract relationship deltas without betrayal, scandal, public reaction, sustained reversal, or material lived cost. The defect belongs upstream in causal follow-through and outcome ownership, not in newsroom spice prompting. Independent grounding review also returns FAIL: Issue 9 inflates a planned expedited agenda into completion, while Issue 8 assigns unsupported feminine pronouns to Sela Venn and Eryn Tal. Other grounding mechanics pass: 208/208 citations resolve, no future events appear, no replay occurred, the player remained unchanged, all 116/116 manifest entries verify, the archive is exact, and root independently confirmed the live service PIDs and invocation IDs remained unchanged. Editorial and grounding acceptance are terminally failed for run 39. Eight titled elaborators use the generic agent harness under deterministic weighted scheduling, bounded parallelism, and Luna/Terra/Sol routing. Workers remain proposal-only; deterministic admission binds exact frozen schedules, dispatch, receipts, conflicts, and semantic verification, and `WorldKernel` alone owns atomic CultCache persistence. Destination reconciliation is a private transactional workbench, provider schema compatibility is lowered once at the shared model-connector boundary, and durable elaboration and strategic-pulse checkpoints bind to their canonical mutation proofs. The generic ModelAgent harness remains consumer-neutral transport. Provider run 23 remains stopped; earlier failed runs and checkpoint archives remain immutable provenance. The live daemons remain outside the acceptance body. Dungeon play remains regression pressure, the Delvehold game-side adapter remains unimplemented, and unpublished Mars and Kalsa destination previews remain unapproved. - provider_acceptance_checkpoint: Exact-source run 46 at `dfe0926041b83d69a4b02451cdab706572522ae3` resumed revision 27 without replaying world mechanics or successful publications. Issues 13 and 14 remained preserved. Issue 15 exhausted three admitted repair/copy-desk rounds; the final exact finding is one mechanical duplicated clause. Issues 15 through 18 and the final digest remain absent. Unit invocation is `3276392f4a7149fc9d127a966e792633`. Canonical world state and all wave checkpoints remain unchanged. Run 41's remote root is `/var/lib/gamecult/ghostlight-dungeon/acceptance/elven-realms-autonomous-46810c3-41`; runs 38, 39, 40, 42, 43, 44, and 45 remain preserved. Run 39's independent FAIL remains historical acceptance evidence, and overall acceptance is still incomplete. - implementation_checkpoint: Pushed `dfe0926` owns the locally verified three-action reconciliation ceiling and run 46 provider-proved all three admitted rounds. The current uncommitted resumable-reconciliation cut persists a typed generation-zero checkpoint and a new typed checkpoint after every rejection, binding the exact draft, copy-desk verdict and finding catalog, model and deterministic receipts, and source/contract identity. Accepted composition and strategic artifact records separately bind issue and rendered-file ancestry. Resume continues the exact pending chain without rerunning the editor; typed run-46 import converts the preserved terminal evidence into the same checkpoint contract. Gates pass 475/475 library tests and 13/13 strategic-smoke binary tests, including same-task source-drift and fork rejection before inference. Plan commit `4916638` separately admits persistent political/editorial publication Personas; that later architecture is not part of this acceptance repair. - next_action: Commit and push the verified typed resumable-reconciliation checkpoint and run-46 import cut, then launch run 47 by continuing run 46's Issue 15 draft/verdict/receipt chain without editor, world, or successful-publication replay. Run 47 remains unlaunched. Earn independent editorial and provenance acceptance for one good Canopy Ledger publication before implementing multiple publication Personas; defer TeX/layout and engraved-cut production until editorial acceptance. Require Issues 15 through 18 and the final digest to pass fresh independent review before claiming acceptance. Preserve runs 38/39/40/42/43/44/45/46, the run-41 root and committed world lineage, stopped run 23, exact acceptance conditions, and unchanged live daemons. + provider_acceptance_checkpoint: Exact-source runs 47 through 49 at pushed `db48befa71fcca25f1aae9976110ded5fad7cf2b` proved typed resumable newspaper reconciliation without replaying the editor, world mechanics, or accepted publications. Run 47 admitted Issue 15 and reached Issue 16 generation three; run 48 resumed and reached generation six; run 49 resumed, admitted Issue 16, then advanced Issue 17 through generation 24 before its deliberately bounded eight-call launcher stopped. Issue 17's remaining five findings include one paragraph-sized mechanical finding containing a smaller unsupported phrase. The agent repeatedly supplied both exact repairs, but deterministic admission rejected their nested spans as overlap. Runs 46 through 49, canonical world revision 27, every strategic-wave checkpoint, and accepted Issues 13 through 16 remain immutable. Run 49 unit invocation is `3d13ed3b9a76423ab298f465767f651f`. Live codex-connector and ghostlight-dungeon service PIDs and invocation IDs remained unchanged. Issues 17 and 18 and the final digest remain absent; overall acceptance is incomplete. + implementation_checkpoint: Pushed `db48bef` owns typed checkpoint creation, immutable receipt and accepted-composition storage, exact-chain resume, source-drift and fork rejection, typed run-46 import, and thin Registry/strategic consumers. The current bounded fix keeps edit-span authority in the grounding workbench: exact repairs are sorted deterministically by start, outer span, and finding reference; an outer replacement owns and covers contained repairs, while partial overlaps still fail closed. The action remains complete-finding-set, transactionally applied, and copy-desk rechecked. Gates pass 21/21 newspaper tests and 476/476 library tests. Plan commit `4916638` separately admits persistent political/editorial publication Personas; that later architecture is not part of this acceptance repair. + next_action: Commit and push the nested-finding normalization, then launch run 50 from run 49's exact Issue 17 generation-24 checkpoint. Preserve accepted Issues 13 through 16, every world checkpoint, runs 38 through 49, stopped run 23, and unchanged live daemons. Resume only the cheap reconciliation chain; do not rerun the editor, simulation, or accepted publications. Compose Issue 17, Issue 18, and the final digest, then require fresh independent blind editorial and grounding review plus provenance, archive/hash, and unchanged-service verification. Earn one good Canopy Ledger before implementing multiple publication Personas; defer TeX layout and engraved cuts until editorial acceptance. 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.