From eaf2264a758fb80c71cf3eca65ea334924675c70 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Sat, 17 Oct 2026 21:38:29 +0200 Subject: [PATCH] Plan stepping the worker up after an interrupt that also asked for a higher rung --- todo.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/todo.md b/todo.md index 0aa065f5..f37ff6fb 100644 --- a/todo.md +++ b/todo.md @@ -6,12 +6,13 @@ `Bar = 0.1` -`Next ID = 178` +`Next ID = 179` ## Items | ID | Release | Blocked by | Exempt | Item | L | E | I | R | S | Moves | Score | |---|---|---|---|---|---|---|---|---|---|---|---| +| 178 | 0.2.0 | | defect | **Step the worker one rung up after an interrupt when the run that raised it also asked for a higher rung and the judge finds the escalation trigger it cites.** | 2 | 2 | 2 | 4 | 4 | 1.3 by 3, 1.1 by 3 | 8.2 | | 84 | 0.2.0 | | | **Check, at each release's scoring run, that seats in a paired ruling agree more often than two scoring runs on near-identical code do, as the paired-ruling decision assumes.** | 2 | 2 | 2 | 4 | 4 | 1.4 by 5 | 2.3 | | 168 | 0.2.0 | | | **Have the human answer an interrupt on loop-claude's terminal and resume the worker headless with the answer, opening the interactive session only when they ask for it.** | 4 | 2 | 3 | 7 | 5 | 1.5 by 8 | 1.8 | | 73 | 0.2.0 | | | **Have each reviewer write its full report to a file and return the worker only its findings' one-line summaries.** | 3 | 2 | 3 | 6 | 5 | 1.4 by 4 | 1.1 | @@ -84,6 +85,14 @@ ## Details +### 178. Step the worker one rung up after an interrupt when the run that raised it also asked for a higher rung and the judge finds the escalation trigger it cites. + +A defect against goal 1.3: the escalation rule (`docs/decisions.md` → `routing: a worker whose run ends asking for a higher rung…`) does not hold when the same run also raises a question only the human can answer. Only an `Unfinished` verdict carries an escalation (`bin/loop_claude/cycle/judge.py`), and only an unfinished verdict calls `stepped` (`bin/loop_claude/routing.py`). An interrupt carries none, so `bin/loop_claude/cycle/run.py` opens the interrupt on the worker's old rung, and the step-up is lost. The worker cannot ask again: a step-up needs a trigger that fired since its last request. + +It happened in item 84's chunk on 2026-10-17. The worker, on Sonnet 5.5 at high, ended its run citing trigger 4, the architect's BLOCK after its rerun one rung up, and asked the human about a cost. The judge ruled interrupt. After the human's answer, the worker did the redesign on Sonnet 5.5 at high in the interactive session, not on Opus 5.5 at medium. + +Have the judge's interrupt carry an escalation, checked word for word as on `Unfinished`, and step the route before the human's answer is acted on. Then the worker resumes one rung up after the answer, whether that resume is today's interactive session or item 168's headless resume and its `/talk` session. The change touches two places the comprehension seats found hard, `routing.py`'s `stepped` and `judge.py`'s `run_judge`. Leave each easier to read. + ### 84. Check, at each release's scoring run, that seats in a paired ruling agree more often than two scoring runs on near-identical code do, as the paired-ruling decision assumes. Raised by the principles audit of PR #228: the `review: the comprehension check records …` entry in `docs/decisions.md` is valid only while that holds, and `docs/comprehension-history.md` keeps every vote, yet nothing reads the agreement rate. Scoring runs on near-identical code are rare now, so compare with those already in the history, such as PR #224's and PR #225's, or make a second run for the check.