From 92cf30bec0f5f813ae4c01a59d6e56403c9e4450 Mon Sep 17 00:00:00 2001 From: Weksa Date: Fri, 13 Nov 2026 01:23:03 +0000 Subject: [PATCH] withheld-arms s1: a refused lowering step discards the attempt's packets (killed by deleting discard_packets) Co-Authored-By: Claude Sonnet 5.5 --- crates/weksa/tests/golf_loop.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/weksa/tests/golf_loop.rs b/crates/weksa/tests/golf_loop.rs index 984ab8e..9272af3 100644 --- a/crates/weksa/tests/golf_loop.rs +++ b/crates/weksa/tests/golf_loop.rs @@ -5256,6 +5256,10 @@ fn the_lowering_step_of_a_round_stops_on_a_withheld_prompt() { model.raw_lowering = Some(Err(PortError::Withheld)); let r = round(&mut dao.run, &mut model, &Scorer::new(Bag)); assert!(matches!(r, Err(RunError::Withheld)), "{:?}", r.map(|_| ())); + assert!( + !dao.root.join("round-1/packets.cc").exists(), + "the refused attempt's packets are discarded" + ); } #[test]