Answer architecture round 2: 0 🔴, 1 🟡; join prose lists with one markdown_text.listed, and floor the replays at lowest_worker_rung
This commit is contained in:
@@ -3,7 +3,7 @@ import pathlib
|
||||
import sys
|
||||
|
||||
from failure import Failure
|
||||
from model_routing.ladder import LADDER, position, project_rung, Rung
|
||||
from model_routing.ladder import LADDER, lowest_worker_rung, 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 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]
|
||||
"""top, the project's rung, and each rung below it, highest first, down to the lowest rung a worker routes to: no route uses a rung below it, so a replay there could change no routing."""
|
||||
return list(LADDER[position(lowest_worker_rung(top)):position(top) + 1])[::-1]
|
||||
|
||||
|
||||
def limited_exit(tool: str, limited: Limited) -> int:
|
||||
|
||||
Reference in New Issue
Block a user