Start principles-auditor without CLAUDE.md, and gate every other reviewer on a replay #501

Merged
lilleman merged 14 commits from item-315 into main 2026-11-12 08:01:23 +01:00
Showing only changes of commit 35911bde8f - Show all commits
+2 -1
View File
@@ -27,7 +27,8 @@ class ReviewerContext(unittest.TestCase):
(self.home / ".claude" / "CLAUDE.md").write_text("## Prose\n\nWrite short.\n")
self.assertEqual(reviewer_context(self.home), Failure(f"{self.home / '.claude' / 'CLAUDE.md'} holds no section Shared goal, Vocabulary"))
(self.home / ".claude" / "CLAUDE.md").unlink()
self.assertIn(f"could not read {self.home / '.claude' / 'CLAUDE.md'}: ", reviewer_context(self.home).reason)
path = self.home / ".claude" / "CLAUDE.md"
self.assertIn(f"could not read {path}: ", reviewer_context(self.home).reason)
def test_the_repos_claude_md_holds_each_section(self):
headings = [line[3:] for line in (REPO / "CLAUDE.md").read_text().splitlines() if line.startswith("## ")]