docs(spec): 모든 OQ 선택지의 필수 계약 보존 규칙 추가
This commit is contained in:
@@ -16,6 +16,17 @@ class PriorityReviewContracts(unittest.TestCase):
|
||||
'명시적으로 채택되지 않은 선택적 확장은', 'blocking OQ로 승격하지 않는다'):
|
||||
self.assertIn(value, text)
|
||||
|
||||
def test_all_oq_options_preserve_mandatory_contracts(self):
|
||||
text = README.read_text()
|
||||
oq_rules = text.split('## OQ(${open_questions}) 작성 방법', 1)[1].split('```markdown', 1)[0]
|
||||
for value in ('추천안을 포함한 모든 선택지',
|
||||
'원본 요청의 필수 범위, 확정된 결정과 기존 호환성 불변조건을 보존',
|
||||
'미검증 전제를 확정된 사실로 취급하지 않는다',
|
||||
'요구 철회나 기존 계약 변경',
|
||||
'일반 구현 대안과 구분하고 변경 대상과 영향을 명시'):
|
||||
with self.subTest(rule=value):
|
||||
self.assertIn(value, oq_rules)
|
||||
|
||||
def test_compatibility_user_decisions_and_existing_oq_preserved(self):
|
||||
text = DISCOVERY.read_text()
|
||||
for value in ('기존 보안·호환성 제약은 선택적으로 낮추지',
|
||||
|
||||
Reference in New Issue
Block a user