From fbb6af32cca21fadaa0e48a3994457b513b42e43 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Fri, 27 Nov 2026 22:16:20 +0100 Subject: [PATCH] persona drain tests: the two failure reasons Co-Authored-By: Claude Opus 5.5 --- crates/mind-body/src/persona/drain_tests.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/crates/mind-body/src/persona/drain_tests.rs b/crates/mind-body/src/persona/drain_tests.rs index 86a8fae..ff84b93 100644 --- a/crates/mind-body/src/persona/drain_tests.rs +++ b/crates/mind-body/src/persona/drain_tests.rs @@ -155,6 +155,11 @@ const REFUSED: &str = "the model's turn ended early: Refusal"; /// A failure that is the body's: no answer came. const OUTAGE: &str = "the connector did not answer: unavailable"; +/// A failure that is the line's: the model answered, and refused it. +const REFUSED: &str = "the model's turn ended early: Refusal"; +/// A failure that is the body's: no answer came. +const OUTAGE: &str = "the connector did not answer: unavailable"; + /// The recorded model, failing any call whose prompt carries `marker`: a turn that holds the marked line fails. struct Flaky { inner: Scripted,