[verified] Document tracked bounded evidence execution
This commit is contained in:
@@ -54,6 +54,22 @@ class VerificationContractDocumentationTests(unittest.TestCase):
|
||||
self.assertIn("-B", plan["commands"][0]["argv"])
|
||||
self.assertIn("PYTHONDONTWRITEBYTECODE", plan["command_env_allowlist"])
|
||||
|
||||
def test_full_suite_tracked_background_reconciles_before_retry(self):
|
||||
text = SKILLS['rework'].read_text()
|
||||
heading = '### Tracked bounded background evidence execution'
|
||||
self.assertIn(heading, text)
|
||||
section = text.split(heading, 1)[1].split('\n### ', 1)[0]
|
||||
for rule in ['foreground tool 시간창', 'tracked background',
|
||||
'process/session handle', 'run-id', 'source SHA', 'plan digest',
|
||||
'output path', 'timeout_seconds', '유한한 outer deadline',
|
||||
'manifest', 'validate', 'cleanup', 'pending/partial',
|
||||
'중복 실행하지 않는다', '새 run-id', '별도 승인',
|
||||
'TDD RED', '세션 종료 이후의 지속성을 보장하지 않는다']:
|
||||
with self.subTest(rule=rule):
|
||||
self.assertIn(rule, section)
|
||||
self.assertIn('자동 retry하지 않는다', section)
|
||||
self.assertIn('기존 artifact를 덮어쓰지 않는다', section)
|
||||
|
||||
def test_command_deadline_and_archive_policy_is_explicit(self):
|
||||
import json
|
||||
template = ROOT / "harness/agents/impl/skills/gitea-issue-rework/templates/evidence-plan.json"
|
||||
|
||||
Reference in New Issue
Block a user