From 7ed31c6f75622f613a02e9251818ecd4f31dea34 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Fri, 20 Nov 2026 06:25:23 +0100 Subject: [PATCH] Test prose speaks in standalone quotations: a dialogue tag frames its quotation (Soul F1) "what a day" he says and "Missed you too, friend," he types are framed under F1, so the test doubles' lines went silent. The prose now quotes whole sentences. Co-Authored-By: Claude Opus 5.5 --- crates/mind-body/src/projection/harness/tests.rs | 4 ++-- crates/mind-body/src/projection/simulate/tests.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/mind-body/src/projection/harness/tests.rs b/crates/mind-body/src/projection/harness/tests.rs index 5482eef..26d63bd 100644 --- a/crates/mind-body/src/projection/harness/tests.rs +++ b/crates/mind-body/src/projection/harness/tests.rs @@ -155,13 +155,13 @@ fn a_fixture_that_is_not_a_room_is_refused_naming_what_is_wrong() { #[test] fn through_the_interpreter_her_prose_continues_the_narration_and_the_interpreter_decides_what_is_said() { let dir = tempfile::tempdir().unwrap(); - let model = Scripted::new(|_| "He smiles at the screen. \"Missed you too, friend,\" he types. He does not mention the kettle.".into()); + let model = Scripted::new(|_| "He smiles at the screen, then types. \"Missed you too, friend.\" He does not mention the kettle.".into()); let fixture = room("operator-warm.toml"); let harness = harness(dir.path(), Some(&NeverAsked), Some(&model)); let organs = Organs { persona: harness.persona, chat: Some(&fixture), addressing: fixture.addressee(), model: harness.model }; let report = project(&organs, &fixture_request(&harness, &fixture, Some(control()), 3, Some(1), Through::Interpreter), fixture.now).unwrap(); let render = &report["renders"][0]; - assert_eq!(render["interpreter"]["said"][0]["text"], "Missed you too, friend,", "{render}"); + assert_eq!(render["interpreter"]["said"][0]["text"], "Missed you too, friend.", "{render}"); assert_eq!(render["interpreter"]["said"][0]["room"], "!dm-meta:gamecult.org"); assert_eq!(report["interpreter_model"], "claude-sonnet-5-5"); assert_eq!(render["persona"]["words"], 17); diff --git a/crates/mind-body/src/projection/simulate/tests.rs b/crates/mind-body/src/projection/simulate/tests.rs index 2e663e5..c2565d0 100644 --- a/crates/mind-body/src/projection/simulate/tests.rs +++ b/crates/mind-body/src/projection/simulate/tests.rs @@ -60,9 +60,9 @@ fn is_tobiah(prompt: &str) -> bool { prompt.contains("Who you are:\nTobiah") } -/// Both speak every turn, neither naming the other. +/// Both speak every turn, neither naming the other: each line a standalone quotation, sayable. fn chatty() -> Scripted { - Scripted::new(|prompt| if is_tobiah(prompt) { "\"what a day\" he says".into() } else { "\"mm, the deploy went fine\" she says".into() }) + Scripted::new(|prompt| if is_tobiah(prompt) { "\"what a day\"".into() } else { "\"mm, the deploy went fine\"".into() }) } /// Both speak every turn, each naming the other.