From 864aa04705f06665dc0617f535206a50bbe7b47c Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sat, 21 Nov 2026 19:58:33 +0100 Subject: [PATCH] Persona R10 fix-up: the outcome table's note rows account for the draft they leave unsent Co-Authored-By: Claude Opus 5.5 --- crates/mind-body/src/projection/outcome/tests.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/crates/mind-body/src/projection/outcome/tests.rs b/crates/mind-body/src/projection/outcome/tests.rs index b7c41e3..d17a0ec 100644 --- a/crates/mind-body/src/projection/outcome/tests.rs +++ b/crates/mind-body/src/projection/outcome/tests.rs @@ -178,7 +178,8 @@ fn an_amendment_is_told_by_the_actuators_receipt() { #[test] fn a_note_to_self_is_told_as_left_and_never_as_read() { - let note = |suggest: Value| record("The kettle wants a softer attack. And the door.", json!({ "say": [], "gaps": [], "suggest": suggest }), &[]); + let prose = "Then I stop. The kettle wants a softer attack. And the door."; + let note = |suggest: Value| record(prose, crate::projection::interpret::tests::holding_the_rest(json!({ "say": [], "gaps": [], "suggest": suggest }), prose, "Then I stop"), &[]); let (left, _) = told(¬e(json!([{ "kind": "idea", "draft": 1, "about": null, "private": false }]))); assert_eq!(left, ["- He left Self a note: \"The kettle wants a softer attack.\". It waits in Self's inbox until Self reads it; nothing tells him when, and nothing in it happens by itself."]); let (private, _) = told(¬e(json!([{ "kind": "idea", "draft": 1, "about": null, "private": true }]))); @@ -207,7 +208,8 @@ fn every_row() -> Vec { let text = "Missed you too. I'll send the render tonight."; let mut broke = record("Hi Nibu.", json!({ "say": [{ "draft": 1 }], "gaps": [] }), &["Hi Nibu."]); broke["broke_after"] = json!("commit"); - let note = |suggest: Value| record("The kettle wants a softer attack. And the door.", json!({ "say": [], "gaps": [], "suggest": suggest }), &[]); + let prose = "Then I stop. The kettle wants a softer attack. And the door."; + let note = |suggest: Value| record(prose, crate::projection::interpret::tests::holding_the_rest(json!({ "say": [], "gaps": [], "suggest": suggest }), prose, "Then I stop"), &[]); vec![ record("The economy is still the least-built part!", json!({ "say": [{ "draft": 1 }], "gaps": [] }), &[]), record("One. Two. Three.", json!({ "say": [{ "draft": 1 }, { "draft": 2 }, { "draft": 3 }], "gaps": [] }), &["One.", "Two."]),