Expect five reviewers without CLAUDE.md in the reviewer-context test

This commit is contained in:
2026-11-12 14:36:40 +01:00
parent d81da4d413
commit bad2f0c555
+3 -3
View File
@@ -86,10 +86,10 @@ class PrinciplesLine(unittest.TestCase):
class Reviewers(unittest.TestCase):
def test_only_the_reviewer_whose_pass_met_the_replay_gate_starts_without_claude_md(self):
# docs/decisions.md → `agents/: a reviewer starts without CLAUDE.md only where a replay of its pass missed none…` holds each pass's result.
def test_only_the_reviewers_whose_pass_met_the_replay_gate_start_without_claude_md(self):
# docs/decisions.md → `agents/: a reviewer starts without CLAUDE.md only where a replay of its pass missed no more findings than the most an unchanged replay missed` holds each pass's result; override-reviewer has no archived round to replay.
bare = [path.stem for path in sorted((REPO / "agents").glob("*.md")) if "omitClaudeMd: true" in path.read_text().split("---\n")[1].splitlines()]
self.assertEqual(bare, ["principles-auditor"])
self.assertEqual(bare, ["principles-auditor", "product-owner-reviewer", "prose-reviewer", "stability-reviewer", "systems-architect"])
def test_settings_run_the_hook_as_each_subagent_starts(self):
hooks = json.loads((REPO / "settings.json").read_text())["hooks"]["SubagentStart"]