Verse run test: the stray call is made once, so the tick holds one note

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-11 17:47:49 +02:00
commit 9747957649

View file

@ -2598,8 +2598,11 @@ async fn a_grouped_cell_whose_lists_do_not_match_its_members_ends_the_run() {
#[tokio::test]
async fn a_call_naming_no_handle_is_printed_and_its_quiet_member_is_refused_not_declined() {
let (_dir, verse) = Harness::fresh().await;
let port = ScriptedPort::new(|request| {
if request.contains("unattributed tool recorded as a need") {
let rounds = AtomicUsize::new(0);
let port = ScriptedPort::new(move |request| {
// The first inference proposes for one member and strays once; the
// round after it says nothing more.
if rounds.fetch_add(1, Ordering::SeqCst) > 0 {
return Vec::new();
}
let mut events = grouped_reply(request);