Plan scoring and planning on the project's rung or above, and escalation to a stronger rung
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
`Bar = 9`
|
||||
|
||||
`Next ID = 141`
|
||||
`Next ID = 145`
|
||||
|
||||
| Goal | W |
|
||||
|---|---|
|
||||
@@ -26,9 +26,13 @@ Release 0.2.0 takes items 125, 114 and 124 first, whatever their scores: Shape i
|
||||
|
||||
| ID | Release | Exempt | Item | R | S | C | A | G | Goals | Score |
|
||||
|---|---|---|---|---|---|---|---|---|---|---|
|
||||
| 141 | 0.1.0 | | **Score and reshape the plan only on the project's rung or above, and let a session below it only draft new items.** | 3 | 4 | 4 | 6 | 8 | 1.1 | 23.8 |
|
||||
| 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 |
|
||||
| 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 |
|
||||
| 142 | 0.2.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 chunk's starting rung.** | 4 | 5 | 6 | 7 | 8 | 1.1, 1.4 | 24.6 |
|
||||
| 144 | 0.2.0 | | **Let a reviewer or comprehension seat that rules the work below standard rerun its pass one rung up, outside the round cap, and escalate the worker too.** | 4 | 5 | 6 | 6 | 7 | 1.1 | 20.6 |
|
||||
| 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 |
|
||||
| 143 | 0.2.0 | | **Resume a worker one rung up in the next cycle when its run ends asking for it, citing an escalation trigger the judge finds in the transcript.** | 5 | 5 | 7 | 6 | 7 | 1.1, 1.4 | 19.6 |
|
||||
| 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 |
|
||||
| 110 | 0.2.0 | | **Count, for each finished chunk, the later changes that fixed code it wrote, and show them beside its guessed R.** | 2 | 4 | 6 | 5 | 6 | 1.1, 1.4 | 18.9 |
|
||||
| 120 | 0.2.0 | | **Rewrite larv-review §3's "Round cap" and "Re-entry" as one table that says, for each kind of fix, which passes rerun and what a round reviews.** | 2 | 4 | 5 | 5 | 6 | 1.1, 1.2 | 18.9 |
|
||||
@@ -85,6 +89,22 @@ Release 0.2.0 takes items 125, 114 and 124 first, whatever their scores: Shape i
|
||||
|
||||
## Details
|
||||
|
||||
### 141. Score and reshape the plan only on the project's rung or above, and let a session below it only draft new items.
|
||||
|
||||
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 session 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. That costs one subagent per batch, not one per finding. 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`. In `CLAUDE.md`'s delegation rule, a scoring or planning subagent runs on the rung `subagent-rung` prints, raised to the project's rung where it prints a lower one. For a worker below the project's rung, loop-claude's prompt (`bin/loop_claude/cycle/prompts.py`) adds scoring and planning to the subagents it launches on that rung. Three places carry the rule, so record it in `docs/decisions.md`.
|
||||
|
||||
### 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.
|
||||
@@ -97,10 +117,35 @@ loop-claude routes on the first row of the next release, while the worker takes
|
||||
|
||||
Once this lands, the judge follows the item the worker takes too, since `judge_rung` routes on the chunk's item.
|
||||
|
||||
### 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 chunk's starting rung.
|
||||
|
||||
The human asked for this on 2026-10-15. Four triggers mean a task is too hard for the worker's rung:
|
||||
|
||||
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 its prompt cites the trigger. The worker never steps down within a chunk. It goes at most two rungs above the chunk's starting rung without asking the human. 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`.
|
||||
|
||||
### 144. Let a reviewer or comprehension seat that rules the work below standard rerun its pass one rung up, outside the round cap, and escalate the worker too.
|
||||
|
||||
The human set this on 2026-10-15. A reviewer or comprehension seat rules the work below standard with an architect BLOCK or a breach of `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. The same ruling is trigger 4 of item 142, so the worker escalates too. The judge never escalates on request.
|
||||
|
||||
This revises `docs/decisions.md` → `routing: one ladder`, which holds reviewers on the project's rung, and `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 it reads easier, or land it in item 120's table.
|
||||
|
||||
### 105. 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.
|
||||
|
||||
The `worker:` decision is valid while review rounds per pass do not rise. Count the rounds from each PR's `Answer <pass> round <n>:` commits, and take reading cost from `docs/reading-cost.md`. Run it once five chunks have merged after the one that recorded the decision.
|
||||
|
||||
### 143. Resume a worker one rung up in the next cycle when its run ends asking for it, citing an escalation trigger the judge finds in the transcript.
|
||||
|
||||
The human asked for this on 2026-10-15. A worker may end its run asking for a stronger 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. Item 142's limits apply: no step down within a chunk, and at most two rungs above the chunk's starting rung without asking the human.
|
||||
|
||||
This adds a step to the one after two unfinished verdicts that `docs/decisions.md` → `routing: one ladder` records. It needs item 142, which defines the triggers. The comprehension seats found the judge's prompt, `bin/loop_claude/cycle/judge.py`'s `JUDGE_RULES`, hard to read; add the check so that it reads easier.
|
||||
|
||||
### 112. Count an item as shipped only where its chunk built it, so an item a chunk dropped from the plan gets no outcome.
|
||||
|
||||
`score-outcomes` counts every item a merge removed from `todo.md` as shipped. A merge that changed only the plan ships nothing, but one that built an item and also dropped another gives the dropped item the built one's outcome, as PR #253 did with item 69. Mark a dropped item in the change that drops it, such as by the commit or merge title, and leave it out.
|
||||
|
||||
Reference in New Issue
Block a user