Answer prose round 1: 0 🔴, 6 🟡; state where seats and the security pass run above the project's rung, and clarify the routing decision, help and changelog

This commit is contained in:
2026-10-15 00:03:41 +02:00
parent b2380d982b
commit 9d65377176
7 changed files with 24 additions and 21 deletions
+12 -11
View File
@@ -36,7 +36,8 @@ the transcript, are copied into <chunk>/session/. A file there is replaced only
grew from it. A file Claude Code rewrote lands beside its copy as <name>.<hash of its content>.
Every claude loop-claude starts runs the project's model, saved per <key> in
~/.claude/loop-claude-models.json and read each cycle; a project without an entry, as on its first
~/.claude/loop-claude-models.json and read each cycle, unless routing, below, puts the worker and
the interrupt on another rung; a project without an entry, as on its first
run, is asked for one. LOOP_CLAUDE_JUDGE_MODEL overrides it for the judge, LOOP_CLAUDE_WORKER_MODEL
for the worker and the interrupt; with both set, nothing is asked.
@@ -46,15 +47,15 @@ todo.md's top item in the next release, skipping an item marked question, picks
counts from the model's cheapest rung, and an R + C of 8 or less picks a rung below it; without
such an item, or with a C missing, the chunk runs on the model's cheapest rung. The worker's first
prompt names the rung and the item, and asks the worker to name each item the chunk takes, with its
R + C. Below the model's cheapest rung, it also has the worker run each reviewer, each
comprehension seat and the security passes in subagents on that cheapest rung. The judge reports
the highest R + C the worker states, and the next cycle steps up to the rung that R + C picks,
never down. Every second unfinished verdict on a chunk steps it up one rung. Each finished or
unfinished verdict, stop and step-up in the archive names the worker's rung, with the item and
R + C that routed the chunk; a rerun resumes an open chunk on the latest rung named there, and
counts its unfinished verdicts afresh. A rung no longer on the ladder, or
below the one its item's R + C picks, is dropped, and the chunk is routed afresh from todo.md. A todo.md or
an archive that cannot be read or parsed is said on stderr, and the chunk is routed without it.
R + C. When that rung is below the model's cheapest, the prompt also has the worker launch each
reviewer, each comprehension seat and the security pass in subagents on the cheapest rung. The
judge reports the highest R + C the worker states, and the next cycle steps up to the rung that
R + C picks, never down. Every second unfinished verdict on a chunk steps it up one rung. Each
finished or unfinished verdict, stop and step-up in the archive names the worker's rung, with the
item and R + C that routed the chunk; a rerun resumes an open chunk on the latest rung named there,
and counts its unfinished verdicts afresh. A rung no longer on the ladder, or below the one its
item's R + C picks, is dropped, and the chunk is routed afresh from todo.md. A todo.md or an
archive that cannot be read or parsed is said on stderr, and the chunk is routed without it.
A change to bin/loop-claude or any bin/**/*.py takes effect at the next cycle boundary, once
loop-claude --help succeeds: the loop reloads into the edited script.
@@ -164,7 +165,7 @@ def run_loop(argv: list[str], env: typing.Mapping[str, str], paths: Paths, launc
def routed(loop_run: LoopRun, anchor: Rung | None, archived: typing.Callable[[], Route | None], item: typing.Callable[[], Item | None]) -> LoopRun:
"""The loop run with its chunk's route, none off the ladder. A chunk keeps its route, or on a rerun the one its archive last names,
"""The loop run with its chunk's route, or None when the project's model is off the ladder. A chunk keeps its route, or on a rerun the one its archive last names,
while that is at or above the rung its item's R + C picks from anchor, the project's rung; else the plan item routes it afresh."""
if anchor is None:
return dataclasses.replace(loop_run, route=None)