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 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-11-20 06:25:23 +01:00
commit 7ed31c6f75
2 changed files with 4 additions and 4 deletions

View file

@ -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);

View file

@ -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.