Skip to content

Commit f3445ff

Browse files
committed
fix(orchestration): align doctor review anchors
1 parent 80fd43d commit f3445ff

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

scripts/orchestration/doctor.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,8 @@ def cmd_doctor(args: argparse.Namespace) -> None:
218218
[
219219
"Disposable task briefs, review packages, and lightweight development plans",
220220
"build-task-brief",
221-
"independent dev-code-review",
221+
"optional task review",
222+
"acceptance_review.required: true",
222223
"A task becomes `Completed` only when",
223224
"Final workflow audit",
224225
],

tests/test_orchestration_skill_rule_boundary.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,14 @@ def test_workflow_makes_task_review_optional_on_the_chain() -> None:
170170
assert "-> independent dev-code-review" not in text
171171

172172

173+
def test_orchestration_doctor_uses_optional_review_anchors() -> None:
174+
text = (REPO_ROOT / "scripts/orchestration/doctor.py").read_text(encoding="utf-8")
175+
176+
assert '"optional task review"' in text
177+
assert '"acceptance_review.required: true"' in text
178+
assert '"independent dev-code-review"' not in text
179+
180+
173181
def test_doctor_execute_path_requires_validate_not_universal_review() -> None:
174182
text = read("scripts/orchestration/doctor.py")
175183
start = text.index('skill_root / "orch-execute-plan" / "SKILL.md"')

0 commit comments

Comments
 (0)