generated from coulomb/repo-seed
Document characteristic acceptance boundary
This commit is contained in:
17
tests/test_acceptance_policy_docs.py
Normal file
17
tests/test_acceptance_policy_docs.py
Normal file
@@ -0,0 +1,17 @@
|
||||
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
|
||||
Reference in New Issue
Block a user