[verified] Document early native journal parent preflight
This commit is contained in:
@@ -17,6 +17,19 @@ class NativeJournalDocumentationTests(unittest.TestCase):
|
||||
with self.subTest(path=str(path), token=token):
|
||||
self.assertIn(token, text)
|
||||
|
||||
def test_journal_parent_preflight_precedes_expensive_execution(self):
|
||||
text = SKILL.read_text()
|
||||
entry = text.split('## 진입 조건', 1)[1].split('## 리뷰 관점', 1)[0]
|
||||
for requirement in (
|
||||
'고비용 리뷰·테스트 실행 전에',
|
||||
'$HARNESS_ROOT/harness/.runtime', 'lstat', 'symlink',
|
||||
'현재 review role 소유', '정확한 mode `0700`',
|
||||
'읽기 전용', 'blocker', '운영자 승인', 'local-only',
|
||||
'자동 chmod/chown', 'journal 이동', 'guard 완화',
|
||||
'기존 생성 규칙', '게시 승인'):
|
||||
with self.subTest(requirement=requirement):
|
||||
self.assertIn(requirement, entry)
|
||||
|
||||
def test_no_caller_selected_journal_in_live_example(self):
|
||||
text = REFERENCE.read_text()
|
||||
self.assertNotIn('result = native_review.publish(plan, baseline, api, lease, journal_directory)', text)
|
||||
|
||||
Reference in New Issue
Block a user