From 7be2261d0c41f21d543f50cd5fba18408afbb903 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sat, 10 Oct 2026 19:20:11 +0200 Subject: [PATCH] mind-body launch tests: a Persona request of every claim kind at once is refused Co-Authored-By: Claude Opus 5.5 --- crates/mind-body/src/launch.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/mind-body/src/launch.rs b/crates/mind-body/src/launch.rs index 44c48dd..c1543e1 100644 --- a/crates/mind-body/src/launch.rs +++ b/crates/mind-body/src/launch.rs @@ -902,7 +902,8 @@ mod tests { // And more than one claim, of any mix: the refusal is "any claim", not "exactly one". let two = [spec_ref("x"), spec_ref("blocked")]; let three = [spec_ref("x"), spec_ref("blocked"), reference(PipelineKind::Question, "no-such-document")]; - for claims in [&two[..], &three[..], &[spec_ref("x"), spec_ref("x")][..]] { + let every_kind: Vec = PipelineKind::ALL.iter().map(|kind| reference(*kind, "no-such-document")).collect(); + for claims in [&two[..], &three[..], &[spec_ref("x"), spec_ref("x")][..], &every_kind[..]] { let outcome = rig.launch(RunTurn::PersonaTurn, claims, five()); assert_eq!(outcome, LaunchOutcome::Refused(Declined::PersonaRunTakesNoClaims), "{} claims", claims.len()); }