[verified] Clarify Issue body provider-derived revision readback contract
This commit is contained in:
@@ -10,6 +10,22 @@ README = HARNESS / 'docs/discovery/README.md'
|
||||
|
||||
|
||||
class PriorityReviewContracts(unittest.TestCase):
|
||||
|
||||
def test_issue_body_provider_revision_documentation_contract(self):
|
||||
access = (HARNESS / 'operations/gitea-access.md').read_text()
|
||||
contract = access.split('### Issue body update의 provider-derived readback', 1)[-1]
|
||||
for required in ('matching provider contract', 'content_version', '정확히 1',
|
||||
'baseline과 readback', '정수', 'boolean', 'pre-write drift',
|
||||
'자동 재write하지 않는다', 'updated_at', '보호 필드',
|
||||
'uncertain/partial', '새 runtime checker'):
|
||||
self.assertIn(required, contract)
|
||||
authoring = (HARNESS / 'agents/spec/skills/gitea-discovery-authoring/SKILL.md').read_text()
|
||||
for text in (DISCOVERY.read_text(), authoring):
|
||||
self.assertIn('Issue body update의 provider-derived readback', text)
|
||||
self.assertIn('content_version', text)
|
||||
self.assertIn('자동 재write하지 않는다', text)
|
||||
self.assertIn('post-comment snapshot을 body update 직전 baseline', authoring)
|
||||
|
||||
def test_scope_classification_and_optional_nonblocking(self):
|
||||
text = README.read_text()
|
||||
for value in ('핵심 요청:', '기존 호환성:', '선택적 확장:',
|
||||
|
||||
Reference in New Issue
Block a user