fix(INV-02): allowlist test_issue_300_versor_margin.py (#316)

The issue #300 regression test calls normalize_to_versor() directly
to verify its closure contract — identical justification to
test_versor_closure.py.  Without the allowlist entry, INV-02 fails
in CI on every PR rebased on top of the #312 fix.

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Shay 2026-05-26 18:15:16 -07:00 committed by GitHub
parent 72fac59029
commit 573fed073b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -222,6 +222,11 @@ class TestINV02GateOnlyNormalization:
os.path.join("ingest", "gate.py"),
os.path.join("tests", "test_architectural_invariants.py"),
os.path.join("tests", "test_versor_closure.py"),
# test_issue_300_versor_margin.py: regression test for the
# gate-boundary margin bug; calls normalize_to_versor()
# explicitly to verify the function's own closure contract.
# Same justification as test_versor_closure.py.
os.path.join("tests", "test_issue_300_versor_margin.py"),
# evals/lab/ is research-only, never imported by runtime.
# Lab probes need construction-time normalization to build
# experimental rotors / embeddings; this does not weaken