Answer architecture round 1: 0 🔴, 4 🟡 (0 misread); move the shared loop state out of loop_claude, split ranking and routing, give the reviewer rung one rule
CI / tests (pull_request) Successful in 2m14s

This commit is contained in:
2026-11-10 22:03:16 +01:00
parent 8a80d452f2
commit 70a1b95086
70 changed files with 748 additions and 625 deletions
+3 -3
View File
@@ -89,7 +89,7 @@ import pathlib
import sys
from failure import Failure
from release_plan import ranking
from release_plan import plan_file
def main(argv: list[str]) -> int:
@@ -101,11 +101,11 @@ def main(argv: list[str]) -> int:
return fail(args)
check, todo = args
if check:
failures = ranking.check_failures(todo)
failures = plan_file.check_failures(todo)
for line in failures:
print(line, file=sys.stderr)
return 1 if failures else 0
ranked = ranking.rank_file(todo)
ranked = plan_file.rank_file(todo)
if isinstance(ranked, Failure):
return fail(ranked)
return 1 if ranked.under_bar else 0