From 0cce17734116b06d2e1a0cc6bb0830155f7a39c2 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Wed, 26 Aug 2026 06:42:58 +0200 Subject: [PATCH] Keep semantic corrections in verifier authority --- crates/ghostlight-dungeon/src/persona.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/ghostlight-dungeon/src/persona.rs b/crates/ghostlight-dungeon/src/persona.rs index dca32ae..e90ac34 100644 --- a/crates/ghostlight-dungeon/src/persona.rs +++ b/crates/ghostlight-dungeon/src/persona.rs @@ -3073,14 +3073,15 @@ mod tests { "inactions":[] }); assert!( - !jsonschema::validator_for( + jsonschema::validator_for( request .output_schema .as_ref() .expect("correction retains its schema") ) .unwrap() - .is_valid(&repeated) + .is_valid(&repeated), + "the correction schema must keep describing the same semantic action space; the verifier owns semantic rejection" ); self.saw_rejected_appraisal.store( request.lived_stream.contains("PREVIOUS_REJECTED_APPRAISAL")