Read the records at their configured paths in the review header, replay, chunk-pr, score-outcomes, reading-cost and metric-bench

This commit is contained in:
2026-11-13 00:58:02 +01:00
parent 220bd39d49
commit d648e4a989
33 changed files with 202 additions and 79 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ def same_origin(clone: str, checkout: str) -> Failure | None:
def ready_release(clone: str, ref: str) -> Release | Failure:
"""The next release, as chunk-preflight works it out, where it is ready to cut: it holds no item in todo.md, its release review has landed and changes are unreleased."""
plan = default_plan(clone, ref)
plan = default_plan(clone, ref, "todo.md", "CHANGELOG.md")
found = items(plan.todo) if isinstance(plan.todo, str) else plan.todo
if isinstance(found, Failure):
return Failure(f"todo.md on {ref} cannot be read: {found.reason}")