withheld-arms s1: a refused lowering step discards the attempt's packets (killed by deleting discard_packets)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Weksa 2026-11-13 01:23:03 +00:00
commit 92cf30bec0

View file

@ -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]