From 2562f01372439fbcd74f9e5588f4bfb831690eb0 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sun, 22 Nov 2026 20:53:43 +0100 Subject: [PATCH] Persona K61: pin that a note code refuses does not do the act a line states (mutant k61-done-note-unleft) Co-Authored-By: Claude Opus 5.5 --- crates/mind-body/src/projection/interpret/tests.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/crates/mind-body/src/projection/interpret/tests.rs b/crates/mind-body/src/projection/interpret/tests.rs index 0aabd6a..de83b84 100644 --- a/crates/mind-body/src/projection/interpret/tests.rs +++ b/crates/mind-body/src/projection/interpret/tests.rs @@ -3450,6 +3450,12 @@ fn k61_a_note_left_does_the_act() { let model = answering(vec![answer.to_string()]); let decision = decide(&model, "test", &packet(), "The room is warm.", prose, &Tuning::default()); assert_eq!((speech_prompts(&model).len(), decision["done_now"][0]["by"].clone(), decision["suggestions"].as_array().map(Vec::len)), (1, json!({ "note": true }), Some(1)), "{decision}"); + // A note code refuses (private) is not left: the act is her promise. + let mut private = answer; + private["suggest"][0]["private"] = json!(true); + let decision = decide(&answering(vec![private.to_string()]), "test", &packet(), "The room is warm.", prose, &Tuning::default()); + assert!(decision.get("done_now").is_none() && decision["suggestions"].as_array().is_some_and(Vec::is_empty), "{decision}"); + assert!(decision["state"].as_array().unwrap().iter().any(|proposal| proposal["kind"] == "promise_open" && proposal["now"] == true), "{decision}"); } /// Negative, unchanged: E.3's "I'm testing that now", which this body has no way to do, is said, gapped and told as a