Answer principles round 1: 1 🔴, 2 🟡; name the worker's rung on an interrupt and archive its step-up at once, step from the taken-in item, drop every escalation after the first step of a cycle, and state stepped's rules once

This commit is contained in:
2026-10-17 22:10:33 +02:00
parent 1c503e8818
commit 602a5fac16
12 changed files with 86 additions and 54 deletions
+2 -2
View File
@@ -290,11 +290,11 @@ Valid while the ladder orders its rungs by competence.
loop-claude's prompt offers the step beside the escalated subagent of `routing: a worker hands a task one rung up`, as long as the limit leaves a rung that subagent may take without the human's yes. The worker then ends its run asking loop-claude for a higher rung and naming the trigger. The judge quotes an earlier passage that shows the trigger fired, such as a review round's commit title or the worker's report of the failing test, never the request itself. The trigger must have fired since any earlier such request, so one trigger buys one step. The judge sees the worker's text and tool calls but no tool results, so the quote shows that the run recorded the trigger, not that a tool's output bears it out. loop-claude checks the quote word for word, as it checks a quoted answer, since stitched fragments can make up a trigger. Without such a quote, the rung holds. A misquote is no failure, since holding the rung is safe and three failures stop an unattended loop. The next prompt names the worker's rung, so the worker learns whether the step went through.
A run may also ask the human something only they can answer, so the judge's interrupt carries the quote too, checked the same way. loop-claude steps the rung as the interrupt comes in, before the human is asked, since the human's answer is followed by work the stepped rung should do: in the session the interrupt opens, and in whatever run resumes with the answer. An interrupt is no unfinished verdict, so it adds to no count, and a quote that stepped the rung steps it no more: the verdict the judge gives after the interrupt, quoting the same passage, holds the rung. The limits are the same.
A run may also ask the human something only they can answer, so the judge's interrupt carries the quote too, checked the same way. loop-claude steps the rung as the interrupt comes in, before the human is asked, since the human's answer is followed by work the stepped rung should do: in the session the interrupt opens, and in whatever run resumes with the answer. The step starts from the rung an item the judge saw the worker take in picks, as below. An interrupt is no unfinished verdict, so it adds to no count. One trigger buys one step, but loop-claude cannot tell two passages that show one trigger fired apart, so once an interrupt has taken an escalation, no later ruling of that cycle carries one: the verdict the judge gives after the interrupt holds the rung. A trigger that fires after the human's answer waits for the next cycle. The limits are the same.
The step is one rung up from the rung the worker would otherwise hold: its own, or the rung an item the judge saw it take in picks, whichever is higher. It resets the count of unfinished verdicts, so the step every second one takes counts afresh; when both steps fall on one verdict, the worker steps once. It stops at the limit escalated subagents stop at, two rungs above the rung the chunk started on. Past that limit the rung holds: loop-claude takes no yes from the human between cycles, so a worker there asks the human for an escalated subagent instead. The judge keeps its rung, as `routing: on a model judge-replay covered` says.
The archive quotes the judge's passage under `Escalation:` in the unfinished verdict or the interrupt, beside any step-up it causes. `bin/routing_figures/` counts that verdict as unfinished, not as an escalation by trigger, which it counts only from subagent prompts.
The archive quotes the judge's passage under `Escalation:` in the unfinished verdict or the interrupt. The step an unfinished verdict causes is archived after it. The step an interrupt causes is archived with it, at once: the interrupt names the rung the worker ran on until then and a step-up the rung it runs on from then, so the routing figures charge each stretch to its own rung, and a loop that dies while the human answers resumes on the stepped rung. `bin/routing_figures/` counts that verdict as unfinished, not as an escalation by trigger, which it counts only from subagent prompts.
Valid while the worker reports in its transcript the triggers that fired.