3302298de3
- Issue 1: Removed redundant dict-based dispatch in _execute_check that duplicated behavior for PRESENT and incorrectly bypassed FIELD_PRESENT to _match_present. Replaced with clean explicit if/elif chain. - Issue 2: Fixed double-lowercase bug in _match_present wildcard fallback where value.lower() was checked against lowered text even when case_sensitive=True, causing false PARTIAL results for case-sensitive checks. Now properly separates case-insensitive and case-sensitive branches using if/elif instead of OR short-circuit. - Added comprehensive test suite (76 tests) covering: Invariant domain models, enforcer functions, structural validator with weighted scoring, fix-then-revalidate orchestration loop, and validation pipeline features.