Answer architecture round 1: 0 🔴, 8 🟡; read old routes' rungs, write R in rank_todo, route reviews through review_rungs, file item 168

This commit is contained in:
2026-10-16 12:11:25 +02:00
parent 149108e8d8
commit 12909f233d
20 changed files with 141 additions and 94 deletions
+3 -3
View File
@@ -3,7 +3,7 @@ import pathlib
import sys
from failure import Failure
from model_routing.ladder import LADDER, position, project_rung, Rung, worker_rung
from model_routing.ladder import LADDER, position, project_rung, Rung
from claude_code.reply import Limited
from loop_claude.project.model_choice import read_models_file
from loop_claude.stop import Stop
@@ -28,8 +28,8 @@ def projects_on(model: str, home: pathlib.Path) -> list[str] | Failure:
def down_from(top: Rung) -> list[Rung]:
"""top and each rung below it, down to the rung the lowest L picks for a worker from top, highest first."""
return list(LADDER[position(worker_rung(top, 1)):position(top) + 1])[::-1]
"""top and each rung below it, down to the ladder's bottom, highest first. A replay stops at the first rung that misses, so a low rung is replayed only where every rung above it passed."""
return list(LADDER[:position(top) + 1])[::-1]
def limited_exit(tool: str, limited: Limited) -> int: