From 1421b5fe0a4779ea97c7195d50dd09713ad4672d Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sat, 31 Oct 2026 01:40:38 +0100 Subject: [PATCH] mind-persona tests: pin the doctrine bound at 96 KiB (kills the only surviving mutant) Co-Authored-By: Claude Opus 5.5 --- crates/mind-body/src/persona/tests.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/mind-body/src/persona/tests.rs b/crates/mind-body/src/persona/tests.rs index 21be1ee..cc45e26 100644 --- a/crates/mind-body/src/persona/tests.rs +++ b/crates/mind-body/src/persona/tests.rs @@ -1040,6 +1040,7 @@ fn a_missing_doctrine_file_fails_the_turn_before_the_connector_is_called() { #[test] fn doctrine_over_the_bound_is_refused_and_exactly_the_bound_is_not() { + assert_eq!(DOCTRINE_MAX_BYTES, 98_304, "96 KiB"); let rig = Rig::new(vec![operator_says(1, "a")], &[says(&[])]); let big = write_doctrine(&rig, "big.md", &"x".repeat(DOCTRINE_MAX_BYTES + 1)); let Outcome::Served { failure, .. } = rig.go_with(&Config { doctrine: vec![big], ..config() }) else { panic!("served") };