[verified] Add bounded writer-family closure checklist

This commit is contained in:
2026-10-12 13:48:46 +00:00
parent b24632d65d
commit cc4fbd0008
2 changed files with 26 additions and 0 deletions
@@ -79,6 +79,20 @@ class PriorityReviewContracts(unittest.TestCase):
with self.subTest(rule=rule):
self.assertIn(rule, section)
def test_writer_family_documentation_contract_requires_bounded_path_evidence(self):
text = IMPLEMENTATION.read_text()
heading = '### Writer-family criterion closure checklist'
self.assertIn(heading, text)
section = text.split(heading, 1)[1].split('\n## ', 1)[0]
for rule in ('기존 승인 계약', 'monetary/current-cache', 'create/update/import',
'실제 존재', '정규화', 'unknown과 zero', 'mutation/no-write',
'downstream', 'exact reviewed head', '`evidence`·`reason`',
'family 전체', '비적용', '잔여 finding', '새 금액 정책',
'모든 입력 조합', '전체 suite 재실행', '자동 runtime checker',
'제품 실행 금지', 'legacy financial-authority'):
with self.subTest(rule=rule):
self.assertIn(rule, section)
def test_local_links_resolve_and_procedures_reference_new_rules(self):
for path in (DISCOVERY, IMPLEMENTATION, README):
text = path.read_text()