generated from coulomb/repo-seed
18 lines
570 B
Python
18 lines
570 B
Python
from pathlib import Path
|
|
|
|
|
|
ROOT = Path(__file__).resolve().parents[1]
|
|
POLICY = ROOT / "docs" / "acceptance-policy.md"
|
|
|
|
|
|
def test_acceptance_policy_defines_deterministic_boundary():
|
|
text = POLICY.read_text(encoding="utf-8")
|
|
|
|
assert "Policy version: `acceptance-policy/v1`" in text
|
|
assert "Deterministic quality gates must not approve" in text
|
|
assert "`requires_review`" in text
|
|
assert "`invalidated`" in text
|
|
assert "`approve_with_edits`" in text
|
|
assert "`trusted_auto_approve_candidate_graph`" in text
|
|
assert "legacy terminology" in text
|