Answer stability round 1: 1 🔴, 6 🟡; keep the marker in model_routing so routing_figures imports nothing of loop_claude, total escalations across every chunk, fold CLAUDE.md's subagent rung rules into one ordered rule

This commit is contained in:
2026-10-15 16:28:11 +02:00
parent c0be1fdffc
commit d7193f65da
9 changed files with 44 additions and 24 deletions
+1 -1
View File
@@ -200,7 +200,7 @@ Valid while the index ranks these models, and while no newer model joins the cat
Three triggers in `CLAUDE.md` → "Working with the codebase" mark a task too hard: a re-score of the item on the project's rung or above picks a higher rung, the same failing test or finding survives two fix attempts, or a pass reports a 🔴 in round 2 or later. When one fires, the worker hands the hard part to a subagent one rung above its own, edits included, though the delegation rule keeps edits in the worker's thread: the escalation exists because the worker could not get them right. Each further trigger on that task climbs one more rung. Without lilleman's yes the climb stops two rungs above the rung the chunk's item picks, the rung the chunk started on, or the project's rung for a chunk no item routed. A step-up between cycles raises the worker but not that limit: lilleman set the limit from the rung the chunk started on, so a worker that has stepped up may need a yes for its first escalation.
loop-claude's prompt names the rungs a trigger opens, so the worker computes no rung positions, and tells the worker to open each escalated subagent's prompt with `Escalation trigger <n>:`. `bin/loop_claude/routing.py` holds the limit and that marker. The archive keeps the raw transcript, which holds the marked prompt, and `bin/routing_figures/` counts the escalations by trigger for each rung routed chunks started on, in `routing-figures.md`.
loop-claude's prompt names the rungs a trigger opens, so the worker computes no rung positions, and tells the worker to open each escalated subagent's prompt with `Escalation trigger <n>:`. `bin/loop_claude/routing.py` holds the limit, and `bin/model_routing/route.py` the marker, beside the other words the archive records, since both loop-claude and `bin/routing_figures/` read it. The archive keeps the raw transcript, which holds the marked prompt, and `bin/routing_figures/` counts the escalations by trigger for each rung routed chunks started on, in `routing-figures.md`.
Valid while the ladder orders its rungs by competence.