From 7fe053c9ecf33b243e4adc22635c5d31ebb865f8 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Thu, 15 Oct 2026 15:33:57 +0200 Subject: [PATCH 1/2] Restore item 90's detail, which PR #267 deleted --- todo.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/todo.md b/todo.md index 6ea5fe7f..f1341752 100644 --- a/todo.md +++ b/todo.md @@ -131,6 +131,12 @@ The human asked for this on 2026-10-15, and for the worker to escalate too. A re This revises `docs/decisions.md` โ†’ `routing: one ladder`, which launches the reviewers on the project's rung while the worker runs below it, and on the worker's rung otherwise. It also revises `review: a pass gets at most three rounds per chunk`. The comprehension seats found larv-review ยง3's "Round cap" hard to read; word the exception so "Round cap" gets easier to read, or land it in item 120's table. +### 90. Route each reviewer by the chunk's R + C, once a replay of past chunks shows the routed reviewer finds the ๐Ÿ”ด and ๐ŸŸก findings on record. + +larv-review passes the rung through the Agent tool's `model` and `effort`. A reviewer never steps down when the worker has stepped down on the same chunk, so a cheap worker always meets a reviewer on the project model or above. + +Question: drop this item, or say what it should route? Under `docs/decisions.md` โ†’ `routing:`, reviewers already run where this item would put them. Below the project's rung, the worker launches every reviewer on the project's rung. Above it, reviewers inherit the worker's rung, which the same R + C picks. The item would change only a chunk whose worker climbed past that rung, after two unfinished verdicts or on a taken-in item. None of the 3 routed chunks on record on 2026-10-15 did. + ### 143. Resume a worker one rung up in the next cycle when its run ends asking for a higher rung and the judge finds the escalation trigger it cites in the transcript. The human asked for this on 2026-10-15. A worker may end its run asking for a higher rung, citing a trigger of item 142. The judge looks for that trigger in the transcript. Where it finds it, the next cycle resumes the session one rung up; otherwise the rung holds. The worker never steps down within a chunk, and goes at most two rungs above the rung it started the chunk on unless the human agrees. -- 2.52.0 From 7ec800addce6a751d7915dd880476be25a4fbeb3 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Thu, 15 Oct 2026 15:37:38 +0200 Subject: [PATCH 2/2] =?UTF-8?q?Answer=20prose=20round=201:=200=20?= =?UTF-8?q?=F0=9F=94=B4,=203=20=F0=9F=9F=A1;=20drop=20item=2090,=20whose?= =?UTF-8?q?=20detail=20the=20findings=20named,=20and=20its=20citations=20i?= =?UTF-8?q?n=20the=20routing=20decision?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/decisions.md | 4 ++-- todo.md | 7 ------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/docs/decisions.md b/docs/decisions.md index f30c605f..4793dbd3 100644 --- a/docs/decisions.md +++ b/docs/decisions.md @@ -172,7 +172,7 @@ Valid while a mutation run on a chunk's changed lines stays cheap beside the rev ## routing: one ladder of (model, effort) rungs, ordered by the Artificial Analysis Intelligence Index with Fable 5.1 at max on top; a task's R + C picks a rung by fixed bands, counted from the cheapest rung of the project's model, and a chunk's worker may run below that rung, launching its reviewers on that rung; the worker routes each subagent it delegates to by the R + C of the subagent's task -2026-10-14, lilleman. Serves goal 1.4, and goal 1.3: one ladder, the same in every project, read by loop-claude, by the worker through `bin/subagent-rung`, and by larv-review once item 90 lands. The judge's rung is the next entry's. `bin/model_routing/ladder.py` holds the rungs and the bands. +2026-10-14, lilleman. Serves goal 1.4, and goal 1.3: one ladder, the same in every project, read by loop-claude and by the worker through `bin/subagent-rung`. The judge's rung is the next entry's. `bin/model_routing/ladder.py` holds the rungs and the bands. The rungs, least competent first: Haiku 5.5 at low, medium, high, xhigh and max; Sonnet 5.5 at high; Opus 5.5 at medium, high, xhigh and max; Fable 5.1 at max. The order and the cut come from the Artificial Analysis Intelligence Index (https://artificialanalysis.ai/leaderboards/models, read 2026-10-14), which scores each model at each effort and gives a cost per task. A rung stays only where no cheaper rung scores as high, so a step up always buys more score (goal 1.4). That cut drops Sonnet 5.5 at low, medium, xhigh and max, Opus 5.5 at low, and every Fable 5.1 rung, and every tie in the index falls among the dropped rungs. lilleman put Fable 5.1 at max back on top: the index scores it under Opus 5.5 at high, but Anthropic's model catalog names Fable the most capable model, and for the hardest tasks lilleman wants the highest quality at any price. @@ -180,7 +180,7 @@ A chunk's worker runs on the rung its item picks, below the project's rung too. The cost of a cheaper worker shows as extra review rounds and unfinished verdicts. Every 20 cycles across the archive, loop-claude measures them in code, with no model run (goal 1.4), and interrupts lilleman with the calls not raised before, when chunks routed onto a rung took more of either than chunks routed onto the next rung up, each rung with 5 chunks or more. Five keeps one odd chunk from calling for a change (goal 1.2). It also calls when the reports of 5 or more subagents of one type were longer than the tool results they read, so a delegated search cost the worker more context than it saved. `bin/routing_figures/` measures and words the calls. A loop on another project cannot commit here, so it writes the figures and the calls raised at the archive's root, and this repo's next chunk files the plan item, as `AGENTS.md` says. Off a terminal, a call is said on stderr and the loop goes on: it is about this setup, not the running project's chunk. A reset line in the calls file restarts the figures after a routing change, so they show whether the change worked. -A model off the ladder routes nothing: claude runs it at the effort its settings give. R + C steps a task from the project's rung: 2โ€“4 three rungs down, 5โ€“6 two down, 7โ€“8 one down, 9โ€“10 none, 11โ€“12 one up, 13โ€“14 two up, 15โ€“16 three up, 17 and above four up. A step past either end stops there. The bands spread the R + C that `todo.md`'s items held on 2026-10-14, 2 to 12, across the rungs, so most tasks step down. S never moves a rung, so a huge task with low R and C runs cheap. While the worker runs above the project's rung, loop-claude's prompt has it launch the comprehension seats and the security pass's subagent on the project's rung too. So the seats score every chunk on one rung, and the security pass spends no more than the project chose. The prompt after each unfinished verdict repeats this, since a step-up may have taken the worker above the project's rung. The other reviewers inherit the worker's higher rung until item 90 routes them. `score-outcomes` had too few finished chunks to ground the bands, and a change to the ladder or the bands is lilleman's. +A model off the ladder routes nothing: claude runs it at the effort its settings give. R + C steps a task from the project's rung: 2โ€“4 three rungs down, 5โ€“6 two down, 7โ€“8 one down, 9โ€“10 none, 11โ€“12 one up, 13โ€“14 two up, 15โ€“16 three up, 17 and above four up. A step past either end stops there. The bands spread the R + C that `todo.md`'s items held on 2026-10-14, 2 to 12, across the rungs, so most tasks step down. S never moves a rung, so a huge task with low R and C runs cheap. While the worker runs above the project's rung, loop-claude's prompt has it launch the comprehension seats and the security pass's subagent on the project's rung too. So the seats score every chunk on one rung, and the security pass spends no more than the project chose. The prompt after each unfinished verdict repeats this, since a step-up may have taken the worker above the project's rung. The other reviewers inherit the worker's higher rung. On 2026-10-15 lilleman dropped routing them by R + C instead: a worker climbs because its chunk proved harder than its score said, which is when a cheaper reviewer is the bigger risk. `score-outcomes` had too few finished chunks to ground the bands, and a change to the ladder or the bands is lilleman's. The worker delegates a task only when it needs just the task's conclusion: a search or read across many files, or work independent enough to run in parallel. Edits, and whatever it must check line by line, stay in its own thread, since it would read a delegated diff again to check it. Measured over archived worker transcripts, subagent reports cost a median 8% of the worker's peak context, and `sed -n` and `grep` output made up 41% of its Bash results, so delegated searches save the most context. It scores each delegated task's R and C as for an item, and `bin/subagent-rung` turns them into the Agent tool's model and effort, counted from the project's rung. The rule names both, because the Agent tool sets a subagent's effort only when instructions ask. `CLAUDE.md` states the rule, since it holds in every session. diff --git a/todo.md b/todo.md index f1341752..ae8b63fa 100644 --- a/todo.md +++ b/todo.md @@ -31,7 +31,6 @@ Release 0.2.0 takes items 125, 114 and 124 first, whatever their scores: Shape i | 142 | 0.1.0 | | **Let a chunk's worker hand a task to a subagent one rung up when an escalation trigger fires, at most two rungs above the rung it started the chunk on without the human's yes.** | 4 | 5 | 6 | 7 | 8 | 1.1, 1.4 | 24.6 | | 141 | 0.1.0 | | **Score and reshape the plan only on the project's rung or above, and let a worker or subagent below it only draft new items and remove finished ones.** | 3 | 4 | 4 | 6 | 8 | 1.1 | 23.8 | | 144 | 0.1.0 | | **Let a reviewer or comprehension seat that rules the work below standard rerun its review one rung up, outside the round cap, and let the worker escalate under item 142.** | 4 | 5 | 6 | 6 | 7 | 1.1 | 20.6 | -| 90 | 0.1.0 | question | **Route each reviewer by the chunk's R + C, once a replay of past chunks shows the routed reviewer finds the ๐Ÿ”ด and ๐ŸŸก findings on record.** | 4 | 5 | 8 | 6 | 7 | 1.4 | 20.2 | | 143 | 0.1.0 | | **Resume a worker one rung up in the next cycle when its run ends asking for a higher rung and the judge finds the escalation trigger it cites in the transcript.** | 5 | 5 | 7 | 6 | 7 | 1.1, 1.4 | 19.6 | | 136 | 0.1.0 | decision | **Route a chunk on the item its worker says it takes, in place of the next release's first row.** | 2 | 3 | 4 | 4 | 5 | 1.4 | 14.8 | | 105 | 0.2.0 | decision | **Compare review rounds per pass and reading cost for the five chunks before and after the `worker:` decision moved the principles out of the worker's context, and file an item if either rose.** | 1 | 2 | 3 | 5 | 6 | 1.4 | 20.0 | @@ -131,12 +130,6 @@ The human asked for this on 2026-10-15, and for the worker to escalate too. A re This revises `docs/decisions.md` โ†’ `routing: one ladder`, which launches the reviewers on the project's rung while the worker runs below it, and on the worker's rung otherwise. It also revises `review: a pass gets at most three rounds per chunk`. The comprehension seats found larv-review ยง3's "Round cap" hard to read; word the exception so "Round cap" gets easier to read, or land it in item 120's table. -### 90. Route each reviewer by the chunk's R + C, once a replay of past chunks shows the routed reviewer finds the ๐Ÿ”ด and ๐ŸŸก findings on record. - -larv-review passes the rung through the Agent tool's `model` and `effort`. A reviewer never steps down when the worker has stepped down on the same chunk, so a cheap worker always meets a reviewer on the project model or above. - -Question: drop this item, or say what it should route? Under `docs/decisions.md` โ†’ `routing:`, reviewers already run where this item would put them. Below the project's rung, the worker launches every reviewer on the project's rung. Above it, reviewers inherit the worker's rung, which the same R + C picks. The item would change only a chunk whose worker climbed past that rung, after two unfinished verdicts or on a taken-in item. None of the 3 routed chunks on record on 2026-10-15 did. - ### 143. Resume a worker one rung up in the next cycle when its run ends asking for a higher rung and the judge finds the escalation trigger it cites in the transcript. The human asked for this on 2026-10-15. A worker may end its run asking for a higher rung, citing a trigger of item 142. The judge looks for that trigger in the transcript. Where it finds it, the next cycle resumes the session one rung up; otherwise the rung holds. The worker never steps down within a chunk, and goes at most two rungs above the rung it started the chunk on unless the human agrees. -- 2.52.0