Plan scoring and planning on the project's rung or above, and escalation to a stronger rung #267
@@ -6,7 +6,7 @@
|
||||
|
||||
`Bar = 9`
|
||||
|
||||
`Next ID = 141`
|
||||
`Next ID = 145`
|
||||
|
||||
| Goal | W |
|
||||
|---|---|
|
||||
@@ -22,11 +22,17 @@
|
||||
|
||||
## Items
|
||||
|
||||
Release 0.1.0 takes item 141 first, whatever its score: item 142's first trigger needs its rule.
|
||||
|
||||
Release 0.2.0 takes items 125, 114 and 124 first, whatever their scores: Shape is the lowest dimension, per `docs/decisions.md` → `larv-review: a project lifting itself to the comprehension floor starts at the lowest dimension`.
|
||||
|
||||
| ID | Release | Exempt | Item | R | S | C | A | G | Goals | Score |
|
||||
|---|---|---|---|---|---|---|---|---|---|---|
|
||||
| 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 |
|
||||
| 112 | 0.2.0 | | **Count an item as shipped only where its chunk built it, so an item a chunk dropped from the plan gets no outcome.** | 2 | 3 | 5 | 5 | 6 | 1.1 | 19.1 |
|
||||
@@ -85,11 +91,50 @@ Release 0.2.0 takes items 125, 114 and 124 first, whatever their scores: Shape i
|
||||
|
||||
## Details
|
||||
|
||||
### 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.
|
||||
### 142. 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.
|
||||
|
||||
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.
|
||||
The human asked for this on 2026-10-15. Four triggers mean a task is too hard for the worker's rung:
|
||||
|
||||
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.
|
||||
1. A re-score of the item, made on the project's rung per item 141, picks a higher rung than the worker's.
|
||||
2. The same failing test or finding survives two fix attempts.
|
||||
3. A pass reports a 🔴 in round 2 or later, as the `Answer <pass> round <n>:` commit titles show.
|
||||
4. A reviewer or comprehension seat rules the work below standard, per item 144.
|
||||
|
||||
When one fires, the worker hands the hard part to a subagent one rung above its own and cites the trigger in the subagent's prompt. Each later subagent on that task runs on the raised rung or higher. None runs more than two rungs above the rung the worker started the chunk on unless the human agrees. loop-claude archives each step with its trigger, and `routing-figures.md` counts them.
|
||||
|
||||
This revises `docs/decisions.md` → `routing: one ladder`, where the worker routes each subagent by its task's R + C alone, and the delegation rule in `CLAUDE.md`. The comprehension seats found it hard to follow which model a subagent gets: `CLAUDE.md`'s delegation rule, `bin/loop_claude/cycle/prompts.py`'s `off_the_projects_rung` and `bin/model_routing/ladder.py`'s `Rung.agent_args` each hold part of it. Make it easier to read.
|
||||
|
||||
### 141. 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.
|
||||
|
||||
The human set this rule on 2026-10-15. The project's rung is the cheapest rung of the model `loop-claude-models.json` pins, or of the session's own model outside loop-claude. Below that rung, a worker or subagent may not:
|
||||
|
||||
- score or re-score an item;
|
||||
- move an item between releases;
|
||||
- split a milestone into items;
|
||||
- delete an item under the bar;
|
||||
- rewrite an item's tagline or detail once it is filed.
|
||||
|
||||
Removing a finished item's row is not planning, so any rung may do it.
|
||||
|
||||
A worker below the project's rung drafts each new item's tagline and detail. Before its next commit, one subagent on the project's rung files and scores the drafts together and sets their release. A security finding gets that subagent at once, since it is filed the moment it is found.
|
||||
|
||||
Write the rule in `rules/todo-items.md`, which loads with `todo.md`. Add to `CLAUDE.md`'s delegation rule: a scoring or planning subagent runs on the rung `subagent-rung` prints, or on the project's rung where that is higher. In `bin/loop_claude/cycle/prompts.py`'s `off_the_projects_rung`, add the scoring and planning subagent to those a worker below the project's rung launches on the project's rung. Three places carry the rule, so record it in `docs/decisions.md`.
|
||||
|
||||
The comprehension seats found it hard to follow which model a subagent gets: `CLAUDE.md`'s delegation rule, `off_the_projects_rung` and `bin/model_routing/ladder.py`'s `Rung.agent_args` each hold part of it. Make it easier to read.
|
||||
|
||||
### 144. 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.
|
||||
|
||||
The human asked for this on 2026-10-15, and for the worker to escalate too. A reviewer rules the work below standard when it reports an architect BLOCK or a finding against `skills/larv-review/standards/quality.md`. It may then ask for its pass to rerun one rung up, and that rerun counts toward no round cap. A comprehension seat rules it below standard when it votes "worse" in a paired ruling. It may then ask for the ruling to rerun with its seat one rung up. Either ruling is trigger 4 of item 142. No ruling raises the judge's own rung.
|
||||
|
||||
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.
|
||||
|
||||
### 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.
|
||||
|
||||
This revises `docs/decisions.md` → `routing: one ladder`, where the worker steps up only after every second unfinished verdict or when the judge reports a taken-in item that picks a higher rung. This item adds a third way. It needs item 142, which defines the triggers.
|
||||
|
||||
The comprehension seats found two places it touches hard to read. Word the new check so that `bin/loop_claude/cycle/judge.py`'s `JUDGE_RULES` gets easier to read. `bin/loop_claude/routing.py`'s `kept` and `stepped` use different floors, and `stepped` does two jobs; make them easier to read where the new step joins them.
|
||||
|
||||
### 136. Route a chunk on the item its worker says it takes, in place of the next release's first row.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user