Commit 669aba6
hx-2c3c331f Migrate remaining consumers to read from ExpectationSuite
Migrate validator.py, excel_converter.py, and umf_diff.py to prefer
umf.expectations (ExpectationSuite) over legacy umf.validation_rules,
with backward-compatible fallback for UMF instances not loaded via
UMFLoader.
This completes ADR-005 Phase C: all runtime consumers now read from
ExpectationSuite. Legacy quality_checks and validation_rules fields
are retained for backward-compatible loading only.
Governing: docs/helix/02-design/adr/ADR-005-unified-expectation-model.md
Verification: 222 tests pass (validator, excel, diff, loader, migration, suite), pyright clean
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent d2f6e92 commit 669aba6
3 files changed
Lines changed: 31 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
416 | 416 | | |
417 | 417 | | |
418 | 418 | | |
419 | | - | |
| 419 | + | |
420 | 420 | | |
421 | 421 | | |
422 | 422 | | |
| |||
899 | 899 | | |
900 | 900 | | |
901 | 901 | | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
902 | 911 | | |
903 | 912 | | |
904 | 913 | | |
| |||
1026 | 1035 | | |
1027 | 1036 | | |
1028 | 1037 | | |
1029 | | - | |
| 1038 | + | |
| 1039 | + | |
1030 | 1040 | | |
1031 | | - | |
| 1041 | + | |
1032 | 1042 | | |
1033 | 1043 | | |
1034 | 1044 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
337 | 341 | | |
338 | 342 | | |
339 | | - | |
340 | 343 | | |
341 | 344 | | |
342 | | - | |
343 | 345 | | |
344 | 346 | | |
345 | 347 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
41 | 50 | | |
42 | 51 | | |
43 | 52 | | |
| |||
183 | 192 | | |
184 | 193 | | |
185 | 194 | | |
186 | | - | |
| 195 | + | |
| 196 | + | |
187 | 197 | | |
188 | 198 | | |
189 | 199 | | |
| |||
194 | 204 | | |
195 | 205 | | |
196 | 206 | | |
197 | | - | |
| 207 | + | |
198 | 208 | | |
199 | 209 | | |
200 | 210 | | |
| |||
398 | 408 | | |
399 | 409 | | |
400 | 410 | | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
| 411 | + | |
| 412 | + | |
405 | 413 | | |
406 | 414 | | |
407 | 415 | | |
| |||
0 commit comments