Answer stability round 1: 1 🔴, 6 🟡 (0 misread); read every title through both templates, hold a title to its template only on an item's branch, and fail on a config fault

This commit is contained in:
2026-11-14 01:47:41 +01:00
parent 1692679985
commit f98e8a84dd
42 changed files with 537 additions and 256 deletions
+2 -3
View File
@@ -2,8 +2,8 @@
import pathlib
import typing
from release_plan.release_standing import default_plan, DefaultPlan, held_at, UNSEEN_RELEASES
from git_cli.git_repo import default_ref
from release_plan.release_standing import DefaultPlan, held_at, project_plan, UNSEEN_RELEASES
from loop_effects.effects import Effects, say
from failure import Failure
from loop_claude.routing import first_route, kept, routed_item
@@ -15,7 +15,6 @@ from loop_claude.cycle import prompts
from model_routing.route import Route, route_from
from model_routing.ladder import Rung
from claude_code.session import session_open, transcript_file
from record_store.stores import store
# Seconds routing waits for origin to name its default branch, asked only where the checkout records none; past them, the chunk runs on the project's rung.
ORIGIN_TIMEOUT = 60
@@ -80,7 +79,7 @@ def fetched_plan(loop: Loop) -> DefaultPlan | Failure:
if config.tracked("plan") is None:
say(UNSEEN_RELEASES, loop.effects)
ref = default_ref(loop.root, ORIGIN_TIMEOUT, run=loop.effects.git)
return ref if isinstance(ref, Failure) else default_plan(loop.root, ref, config.place("plan"), store(config, "changelog"), loop.effects.git, title=config.commit_title)
return ref if isinstance(ref, Failure) else project_plan(config, ref, loop.root, loop.effects.git)
def plan_item(plan: DefaultPlan | Failure, effects: Effects) -> Item | None: