Persona K44: a Used refusal is not told even when its line has no receipt (pins k44-used-told)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-11-22 06:52:27 +01:00
commit e446a441fd

View file

@ -1831,6 +1831,10 @@ fn k44_used_and_duplicate_are_not_told_and_a_second_amendment_is() {
let lines = twice.lines(packet().forms);
assert_eq!(lines, vec!["- #minds:gamecult.org has, from him: \"Morning, Nibu.\".".to_owned()], "{lines:?}");
assert!(twice.omitted.iter().any(|why| why.contains("\"used\"")) && twice.omitted.iter().any(|why| why.contains("\"duplicate\"")), "{:?}", twice.omitted);
// Not even with no receipt for the line: whether it reached the room is then unknown (I16.10), and the Interpreter's
// second naming of one draft is never what she is told.
let unposted = crate::projection::outcome::outcome_of(&json!({ "interpreter": answered(&packet(), prose, json!({ "say": [say(1), say(1), say(2)], "gaps": [] })), "posted": [], "edited": [] })).unwrap();
assert!(unposted.lines(packet().forms).is_empty(), "{:?}", unposted.lines(packet().forms));
let amends = record(&amendable_packet(), "<typed>Sent at nine.</typed> <typed>Still here.</typed>", json!({ "say": [], "gaps": [], "amend": [{ "target": "a1", "draft": 1, "holds": [], "promises": [] }, { "target": "a2", "draft": 2, "holds": [], "promises": [] }] }));
assert!(amends.lines(packet().forms).contains(&"- Nothing of this reached #minds:gamecult.org: one amendment a turn. He wrote: \"Still here.\".".to_owned()), "{:?}", amends.lines(packet().forms));
// Negative: a number naming no draft has no words to tell; it stays omitted and reported.