From 6cd212895c153fe27ee13309b4c4f3910a441a8f Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sun, 22 Nov 2026 06:39:23 +0100 Subject: [PATCH] Persona K44: a Held refusal of words a receipt shows reached the room is reported, not told as unsent (negative pin) Co-Authored-By: Claude Opus 5.5 --- .../src/projection/interpret/tests.rs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/crates/mind-body/src/projection/interpret/tests.rs b/crates/mind-body/src/projection/interpret/tests.rs index 4966d9f..92e8684 100644 --- a/crates/mind-body/src/projection/interpret/tests.rs +++ b/crates/mind-body/src/projection/interpret/tests.rs @@ -1922,3 +1922,21 @@ fn k44_a_decline_quoting_her_draft_accounts_for_nothing() { let decision = decide(&model, "test", &packet(), "The room is warm.", prose, &Tuning::default()); assert_eq!((decision["retried"]["drafts"].clone(), decision["unsent"][0]["quote"].as_str()), (json!([1]), Some("I'll keep this back for now")), "{decision}"); } + +/// Two drafts in the same words: the first names Meta's hold and is refused `Held`, the second names none and is said. +/// The receipt shows those words reached #minds, so no row tells her nothing of them did (I16.10); the refusal is +/// reported. +#[test] +fn k44_a_refusal_of_words_a_receipt_shows_is_not_told_as_unsent() { + let prose = "Meta asked first. Meta, the draft is ready, and I'm holding it Meta, the draft is ready, and I'm holding it"; + let decision = answered(&x1_packet(), prose, json!({ "say": [say_holding(1, json!(["q3"])), say_holding(2, json!([]))], "gaps": [], "hold": meta_holds_here() })); + assert_eq!((decision["refused"][0]["reason"].as_str(), texts(&decision)), (Some("held"), vec!["Meta, the draft is ready, and I'm holding it".to_owned()]), "{decision}"); + let posted: Vec = decision["said"].as_array().unwrap().iter().map(|line| json!({ "event": "9", "room": line["room"], "text": line["text"] })).collect(); + let outcome = crate::projection::outcome::outcome_of(&json!({ "interpreter": decision, "posted": posted, "edited": [] })).unwrap(); + let told = outcome.lines(x1_packet().forms); + assert!(!told.iter().any(|line| line.starts_with("- Nothing of this reached")), "{told:?}"); + assert!(outcome.omitted.iter().any(|why| why.starts_with("a refusal (\"held\") of words a receipt shows reached the room")), "{:?}", outcome.omitted); + // Negative: with no receipt, the hold is told as before. + let unposted = crate::projection::outcome::outcome_of(&json!({ "interpreter": decision, "posted": [], "edited": [] })).unwrap().lines(x1_packet().forms); + assert!(unposted.iter().any(|line| line == "- Nothing of this reached #minds:gamecult.org: Meta asked him to hold it, and it was not sent."), "{unposted:?}"); +}