Answer architecture round 1: 2 🔴, 8 🟡 (0 misread); split task-bench's benched into phases and its table into one column list, parse each stream once, move do-epic's parking out with pure move and news decisions, share the round summaries, rename scoring_due, and file the version question as item 517
CI / tests (pull_request) Successful in 5m2s

This commit is contained in:
2026-11-23 01:20:55 +01:00
parent 21200cb698
commit 0bf87b736e
29 changed files with 678 additions and 368 deletions
+4 -10
View File
@@ -1,23 +1,17 @@
"""round-title: print the opening of a round commit's title, counted from the round's report."""
import pathlib
from git_cli.git_repo import branch_titles, top
from larv_review.reviewer_header import branch_summaries, unanswered_round
from failure import Failure
from review_rules.review_folder import findings_in, review_folder, standing_report
from review_rules.round_titles import round_prefix
from project_config.main import title_templates
from larv_review.reviewer_header import unanswered_round
from git_cli.git_repo import top
def round_title(default: str, pass_: str, home: pathlib.Path) -> str | Failure:
"""The title prefix of pass_'s unanswered round, counted from that round's report in the chunk's review folder."""
titles = branch_titles(default)
if isinstance(titles, Failure):
return titles
templates = title_templates(None, home)
if isinstance(templates, Failure):
return templates
round_ = unanswered_round([templates.summary(title) for title in titles], pass_)
summaries = branch_summaries(default, home)
round_ = summaries if isinstance(summaries, Failure) else unanswered_round(summaries, pass_)
if isinstance(round_, Failure):
return round_
worktree = top()