mind-persona tests: pin the doctrine bound at 96 KiB (kills the only surviving mutant)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-31 01:40:38 +01:00
commit 1421b5fe0a

View file

@ -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") };