Plan: make the prose reviewer verify changed claims against the code #816
@@ -6,7 +6,7 @@
|
||||
|
||||
`Bar = 0.1`
|
||||
|
||||
`Next ID = 594`
|
||||
`Next ID = 595`
|
||||
|
||||
## Items
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
| 586 | 0.19.0 | | | **Keep the person's own skills, agents and commands out of the loop's Claude home where `HOME` names the home folder through a symlink.** | 2 | 3 | 2 | 5 | 3 | 3 by 4 | 5.0 |
|
||||
| 585 | 0.19.0 | | | **Give this repo an `AGENTS.md` like any project, and drop the decision and the rule that say it keeps none.** | 3 | 1 | 3 | 5 | 4 | code health by 3 | 3.1 |
|
||||
| 580 | 0.19.0 | | | **Call no scoring run for a release already cut whose last item the chunk moved to a later release.** | 2 | 2 | 3 | 5 | 3 | 1.4 by 3, 1.5 by 3 | 1.6 |
|
||||
| 594 | 0.19.0 | | | **Make the prose reviewer check each behavioural claim on a line the diff adds or rewrites against the code, script or sibling sentence it describes, and report a mismatch as a 🟡 at the changed line.** | 2 | 2 | 3 | 5 | 2 | 1.1 by 4 | 1.3 |
|
||||
| 589 | 0.19.0 | | | **Count every turn of a bench run in its figures: sum the tokens and turns of each `result` event in the stream, and time the run from its first event to its last.** | 2 | 2 | 1 | 3 | 2 | 1.1 by 3 | 1.0 |
|
||||
| 590 | 0.19.0 | 589 | | **Report beside each bench run how far its change reached: the files and lines it changed, the files it changed outside the bug's file, and, for a bug, whether it restored the line the mutant changed.** | 2 | 2 | 1 | 3 | 4 | 1.1 by 4 | 1.0 |
|
||||
| 487 | 0.20.0 | | owner | **Run larv-review's passes from a program that picks them from the diff and the item, counts rounds against the cap and decides each rerun, with each reviewer returning its findings as JSON against a schema.** | 4 | 2 | 3 | 7 | 8 | 1.1 by 5, 1.4 by 5 | 0.4 |
|
||||
@@ -149,6 +150,22 @@ Touches:
|
||||
- `bin/larv_review/test_larv_review.py`: `ScoringRunDue`, `LarvReviewTool`
|
||||
- `bin/larv_review/main.py`: `(module)` (small)
|
||||
|
||||
### 594. Make the prose reviewer check each behavioural claim on a line the diff adds or rewrites against the code, script or sibling sentence it describes, and report a mismatch as a 🟡 at the changed line.
|
||||
|
||||
Gap: in a client repo, a Markdown-only chunk ran the prose pass alone, as `skills/larv-review/SKILL.md` → "Markdown only" says. A rewritten README bullet kept an older sentence stating how an unset or empty setting resolves. The same bullet, and the shell script it describes, showed that sentence false. The prose reviewer didn't report it; an outside reviewer did. `agents/prose-reviewer.md` names "a claim the code shows false" and "a sentence contradicting another" only in the "Also report" line after the four priority checks, so a reviewer working through the checks treats them as an afterthought and doesn't open the code. The review standards' `quality.md` → "A false claim is a bug" already holds the rule.
|
||||
|
||||
Change:
|
||||
- In `agents/prose-reviewer.md` → "Checks, in priority order", add a numbered check of its own: for each behavioural claim on a line the diff adds or rewrites, such as a command, a default, a path, a limit or a resolution rule, open the code, script or config it describes, and the sentences around it in the same item or section, and report a claim they show false as a 🟡 at the changed line, naming the code's `path:line` or the sentence that contradicts it. A line kept verbatim inside a rewritten bullet or paragraph counts as rewritten. Take "a sentence contradicting another" and "a claim the code shows false" out of the "Also report" line, so the rule is said once. Keep the check's place in the priority order consistent with the header's rule that a later check's fix never breaks an earlier one.
|
||||
- Check `## Scopes`: its "read only what a finding needs checking against" must allow opening the code a changed claim describes; adjust its wording only if it doesn't.
|
||||
- `skills/larv-review/SKILL.md`: change "Markdown only" or "### Prose" only if the launch doesn't already let prose-reviewer read the repo; its Read and Grep tools do, so the expected edit there is none or one clause.
|
||||
|
||||
Test: no tool checks an agent's prompt; the chunk's own prose pass reads the new check.
|
||||
|
||||
Touches:
|
||||
|
||||
- `agents/prose-reviewer.md`: `## Checks, in priority order`, `## Scopes` (small)
|
||||
- `skills/larv-review/SKILL.md`: `### Prose` (small)
|
||||
|
||||
### 589. Count every turn of a bench run in its figures: sum the tokens and turns of each `result` event in the stream, and time the run from its first event to its last.
|
||||
|
||||
Today `figures` in `bin/task_bench/figures/run_figures.py` reads only the last `result` event of a run's stream. Where Haiku starts a background task, such as a long `go test`, Claude Code ends the first turn with a result, then starts another turn when the task finishes and ends that with a second result. The bench then records only that second turn.
|
||||
|
||||
Reference in New Issue
Block a user