From b90d84cd50bd1b81ca08e99982e78e9512cc921f Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sat, 7 Nov 2026 08:09:24 +0000 Subject: [PATCH] release-reply-path: two fixtures reconciled after the merges A DM's room is its room id under the reply cut (the steward cut's hand-built DM delivery carried the alias form); a request after a result opens a turn under the task cut, so the resume cut's bound test closes that turn with a result. Co-Authored-By: Claude Sonnet 5.5 --- crates/mind-body/src/persona/tests.rs | 2 +- crates/mind-body/src/self_run/decide/tests.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/mind-body/src/persona/tests.rs b/crates/mind-body/src/persona/tests.rs index b09eb22..25c24ee 100644 --- a/crates/mind-body/src/persona/tests.rs +++ b/crates/mind-body/src/persona/tests.rs @@ -2230,7 +2230,7 @@ fn a_dm_memory_names_its_confidant_not_its_subject() { fn about_can_name_an_absent_mind() { let (libby, op) = ("@libby:chat", "@op:chat"); let decided = reply(&[("!dm-op:chat", "ok")], json!([keeps("Decided", "Libby does the shaders for the Cinny fork", &[libby])]), json!([]), json!(null)); - let dm = ChatDelivery { is_direct: true, ..delivery_of(1, "!dm-op:chat", op, "Libby will do the shaders for the Cinny fork", "$dm-libby") }; + let dm = ChatDelivery { is_direct: true, room_id: "!dm-op:chat".into(), ..delivery_of(1, "!dm-op:chat", op, "Libby will do the shaders for the Cinny fork", "$dm-libby") }; let rig = Rig::new(vec![dm], &[decided, says(&[("swarm", "go")])]); assert_eq!(failure_of(rig.go()), None); assert_eq!(rig.sent_texts().len(), 1); diff --git a/crates/mind-body/src/self_run/decide/tests.rs b/crates/mind-body/src/self_run/decide/tests.rs index 2c2165b..01fb8d5 100644 --- a/crates/mind-body/src/self_run/decide/tests.rs +++ b/crates/mind-body/src/self_run/decide/tests.rs @@ -724,7 +724,7 @@ fn a_requests_start_is_bounded_by_the_line_before_it_never_by_its_own_first_line // The next request of the turn begins after the previous request's last line, not after its result. assert_eq!(warm_after(working(), vec![(Event::Echo, 0), (req("a", 10), 100), (req("a", 10), 200), (req("b", 10), 900), (OK, 950)], Some(0)), Some(t(200 + 3600 - 60))); // A request with no echo before it (nothing was written) is bounded by the result before it. - assert_eq!(warm_after(working(), vec![(Event::Echo, 0), (req("a", 10), 10), (OK, 20), (req("b", 10), 900)], Some(0)), Some(t(20 + 3600 - 60))); + assert_eq!(warm_after(working(), vec![(Event::Echo, 0), (req("a", 10), 10), (OK, 20), (req("b", 10), 900), (OK, 905)], Some(0)), Some(t(20 + 3600 - 60))); // After a result, the next turn's echo is the bound. assert_eq!(warm_after(working(), vec![(Event::Echo, 0), (req("a", 10), 10), (OK, 20), (Event::Echo, 300), (req("b", 10), 900), (OK, 950)], Some(0)), Some(t(300 + 3600 - 60))); }