Repository navigation
Commit 623146c
test(semantics): derive the output-evidence guard from the registry (#7640)
tests/architecture/test_semantic_vocabulary_drift.py::test_explicit_output_evidence_cannot_be_removed_or_redirected
listed the vocabularies whose explicit output evidence must not be removed
or redirected. PR #7523 retired the Python output builder behind
loop_disposition and dropped that vocabulary's call_producers entry from
both the registry and the drift smoke's anchor, but the case here kept
naming loop_disposition.
With the anchor and the registry both empty for that vocabulary, the
mutation the case performs was a no-op, so the coverage floor raised no
drift and the case failed on its own precondition:
```
Failed: DID NOT RAISE Drift
```
The case now reads the anchored vocabularies from the registry instead of
writing them out, and proves the invariant for every vocabulary that
currently carries that metadata. Two things follow. The retired
vocabulary can no longer leave the case vacuous, and effective_action -
which carries return_paths and was not in the written-out list - is now
covered as well.
No production code, schema, wire or default change.
Validation: tests/architecture/test_semantic_vocabulary_drift.py 124
passed on origin/main 0a9a3a3; ruff clean.
Signed-off-by: xiaoan17 <anbc1224@gmail.com>
Co-authored-by: xiaoan17 <anbc1224@gmail.com>1 parent f45acd4 commit 623146c
1 file changed
Lines changed: 19 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
431 | 431 | | |
432 | 432 | | |
433 | 433 | | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
442 | 443 | | |
443 | 444 | | |
444 | | - | |
445 | | - | |
446 | | - | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
447 | 455 | | |
448 | 456 | | |
449 | 457 | | |
| |||
0 commit comments