From 3df69caa5158deb40cdc688ae58e8996b8779540 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sat, 21 Nov 2026 00:57:04 +0100 Subject: [PATCH] Outcome guard fix-up: the sentinel test says when the sentence was said: before he wrote it, withheld; after, his own line quoted back, shown Co-Authored-By: Claude Opus 5.5 --- crates/mind-body/src/projection/outcome/tests.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/mind-body/src/projection/outcome/tests.rs b/crates/mind-body/src/projection/outcome/tests.rs index 5e3c602..b7c41e3 100644 --- a/crates/mind-body/src/projection/outcome/tests.rs +++ b/crates/mind-body/src/projection/outcome/tests.rs @@ -276,7 +276,9 @@ fn a_quote_that_is_mostly_words_she_was_sent_this_turn_is_not_shown_to_the_proje let said = "QUARTZ-HERON-SENTINEL is back at the door."; let outcome = outcome_of(&record(&format!("{said}"), json!({ "say": [{ "draft": 1 }], "gaps": [] }), &[said])).unwrap(); let her = packet().forms; - assert_eq!(outcome.line(0, her, usize::MAX, &[(u64::MAX, "Heimdall, QUARTZ-HERON-SENTINEL is back at the door.".to_owned())]), "- #minds:gamecult.org has, from him: (his words, not shown here)."); + // Said before he wrote it: someone else's words, withheld. Said after: his own line quoted back, shown (map 16.23.4). + assert_eq!(outcome.line(0, her, usize::MAX, &[(0, "Heimdall, QUARTZ-HERON-SENTINEL is back at the door.".to_owned())]), "- #minds:gamecult.org has, from him: (his words, not shown here)."); + assert_eq!(outcome.line(0, her, usize::MAX, &[(u64::MAX, "Heimdall, QUARTZ-HERON-SENTINEL is back at the door.".to_owned())]), format!("- #minds:gamecult.org has, from him: {}.", spoken(said)), "quoted back after he wrote it"); assert_eq!(outcome.line(0, her, usize::MAX, &[(u64::MAX, "Something else entirely, said today.".to_owned())]), format!("- #minds:gamecult.org has, from him: {}.", spoken(said)), "his own words are shown"); }