From 88dffcc982a35cfd68c816cffbbdcede99b984d5 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Thu, 3 Dec 2026 11:54:34 +0100 Subject: [PATCH] =?UTF-8?q?Answer=20prose=20round=201:=200=20=F0=9F=94=B4,?= =?UTF-8?q?=202=20=F0=9F=9F=A1=20(0=20misread);=20name=20the=20doc=20line?= =?UTF-8?q?=20and=20the=20no-run=20case,=20keep=20the=20product-owner=20ru?= =?UTF-8?q?ns=20out=20of=20the=20prose=20check?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- agents/product-owner-reviewer.md | 2 +- agents/prose-reviewer.md | 2 +- skills/larv-review/SKILL.md | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/agents/product-owner-reviewer.md b/agents/product-owner-reviewer.md index 1d7e6ac2..cc18f50a 100644 --- a/agents/product-owner-reviewer.md +++ b/agents/product-owner-reviewer.md @@ -45,7 +45,7 @@ Before anything else, **read the technical principles** in the folder your promp 6. **Assess reasonableness of usage paths**: Are there paths that exist but no real persona would use? -7. **Check each claim about output against its run.** A changed doc line that says what a command, flag or error prints, or what a command writes, is true only if the real output or the written file says so. Where your prompt has a `Claimed output:` line, that file holds each such claim's command and real output, or the lines it wrote. Report a claim the output or the written lines don't bear out, such as an error said to name the fix that doesn't, and name the missing words. Never settle one by reading code. A claim marked `not run`, or one you find that the prompt doesn't hand you a run of, is a ❓ naming the command that would run it. The file also holds runs with a value just outside a documented input range: where such a run printed nothing, an error or a clamped value, and the doc line that states the range doesn't name that result, report it as a 🟡 with the value and the output. +7. **Check each claim about output against its run.** A changed doc line that says what a command, flag or error prints, or what a command writes, is true only if the real output or the written file says so. Where your prompt has a `Claimed output:` line, that file holds each such claim's command and real output, or the lines it wrote. Report a claim the output or the written lines don't bear out, such as an error said to name the fix that doesn't, and name the missing words. Never settle one by reading code. A claim or run marked `not run`, or one you find that the prompt doesn't hand you a run of, is a ❓ naming the command that would run it. The file also holds runs with a value just outside a documented input range: where such a run printed nothing, an error or a clamped value, and the doc line that states the range doesn't name that result, report that doc line as a 🟡, with the value and the output. 8. **Check each behaviour the change's own text promises against the code it ships.** Where text the change adds or edits, in docs, error text or help, states a behaviour other than what step 7 checks against a run, check that the shipped code makes it true everywhere the text says it holds, such as for each flag, input or output. Report each sentence the code doesn't make true as a 🟡, even where a plan item will make it true later. Its fix qualifies the sentence to what holds today, or ships the item first. Name the sentence and the output or case where it doesn't hold. Text the change didn't touch that is false for the same reason stays unreported. diff --git a/agents/prose-reviewer.md b/agents/prose-reviewer.md index bd030967..228bdd6f 100644 --- a/agents/prose-reviewer.md +++ b/agents/prose-reviewer.md @@ -36,7 +36,7 @@ Where the diff records a decision in the decision log, or adds or edits a plan i - For each term it names, such as a column, a type, a flag or a setting, grep the decision log for every decision that names the same term. Report a contradiction, such as a column typed differently from the earlier rule that a column that reads one reference takes the type of what it reads. - For each file or path it adds to a published package, grep the CI config and the release tooling for a check that lists the package's files, such as a step that compares the packed tarball with an exact file list. Report each such check that the text doesn't say must change too. -Where your prompt has a `Claimed output:` line, that file holds the command and real output of each changed line that says what a command prints or writes. Report a claim its output doesn't bear out, and name the missing words. A claim marked `not run` is a ❓ naming the command that would run it. +Where your prompt has a `Claimed output:` line, that file holds the command and real output of each changed line that says what a command prints or writes. Report a claim its output doesn't bear out, and name the missing words. A claim marked `not run` is a ❓ naming the command that would run it. Leave a run with a value just outside a documented input range to the product-owner reviewer. ## Growth diff --git a/skills/larv-review/SKILL.md b/skills/larv-review/SKILL.md index cf1184e4..e0961812 100644 --- a/skills/larv-review/SKILL.md +++ b/skills/larv-review/SKILL.md @@ -33,7 +33,7 @@ No remote → review locally and say so in the summary. **Reading cost.** Run `~/.claude/bin/reading-cost` in the chunk's worktree, unless loop-claude's prompt shows that `chunk-preflight` already ran it there, and commit what it appends to `docs/reading-cost.md`; the commit re-enters no pass. Resolve a merge conflict in that file by putting the default branch's figures first and dropping a figure for a chunk the default branch already holds. On `Rising:`, file a plan item titled `**Lower the reading cost of the files a chunk reads most before its first commit.**`, scored per `~/.claude/rules/todo-items.md` with the tool's medians and files as its detail; where the plan already holds it, leave it as it is: `docs/reading-cost.md` holds the figures. The item names the next release, or the one after when this chunk ships the next release's last item. On exit 1, repair what its message names and run it again; when the message names no repair, file it as a `question` item, or refresh the question item an earlier run filed, and go on. Leave the plan as it is on any other output. The chunk that ships that item runs the tool with `--reset` instead, so the next rise is measured on chunks that finished after it. -**Tests and static analysis.** Where the branch changes code, config or tests, before each stability round: search the project's Markdown, the help and error text in code, and the comments beside the code for each flag, name, path and number the change renames, removes or changes, and fix each line it made false. Search too for each builtin, flag or option the change adds: take each range or set of inputs its docs state and run the command once with a value just outside it, such as a date past the years it supports, in a fresh clone, under the Run and Limits bullets of §3 → "Claimed output". Where the output is empty, an error or a clamp, the docs must name that result: fix each line that leaves it unsaid, and keep the run for §3's hand-over. Commit, then run the project's test suite and static analysis in the chunk's worktree as its README documents them, and fix a failure before going on. Hand stability-reviewer the commit they last passed on; a fix from the mutation tests below moves the head, so run them again after it, and the reviewer doesn't run them again on that commit. +**Tests and static analysis.** Where the branch changes code, config or tests, before each stability round: search the project's Markdown, the help and error text in code, and the comments beside the code for each flag, name, path and number the change renames, removes or changes, and fix each line it made false. For each builtin, flag or option the change adds, take each range or set of inputs its docs state. Run the command once with a value just outside it, such as a date past the years it supports, as the Run and Limits bullets of §3 → "Claimed output" say. Where it printed nothing, an error or a clamped value, fix each doc line that states the range so that it names that result, and keep the run for §3's hand-over. Commit, then run the project's test suite and static analysis in the chunk's worktree as its README documents them, and fix a failure before going on. Hand stability-reviewer the commit they last passed on; a fix from the mutation tests below moves the head, so run them again after it, and the reviewer doesn't run them again on that commit. **Mutation tests.** Where the branch changes code, run the project's mutation command in the chunk's worktree, with every change committed, before each stability round: the one the project's README documents, else `~/.claude/bin/run-heavy ~/.claude/bin/mutate-changes --prefix ''`. `mutate-changes --help` says how to set `--prefix` and `--jobs`. Where a mutant of a changed line survives and changes behaviour, kill it: add or strengthen a test that fails on it, commit, and run the command again. Hand stability-reviewer what the last run printed, with the commit it ran on. On exit 1, repair what its message names and run it again; when you cannot, hand the reviewer the message. @@ -79,7 +79,7 @@ Give a reviewer without Bash `git ls-files`'s output in its prompt, since some h - **Run.** Run each claim's command in a fresh clone of the chunk's worktree at its head, with every change committed: `git clone `, the folder in the chunk's review folder. The clone lacks the ignored build and cache files that earlier runs wrote, so a command that needs one fails there, as it does in a fresh checkout. Run the command the way the project runs its tools (its container setup, unless its config sets `tooling-on-host`), with the input that triggers the output the line describes, such as the input that raises the error. - **Limits.** A command may change files in the clone only. Run none that changes a file elsewhere, or sends data out; list such a claim as `not run: `. - **Writes.** Run a claim about what a command writes like one about what it prints, and compare the file it writes with the claim, such as `git diff` in the clone against the claim about the diff. Hand over the file's relevant lines or the diff. -- **Hand over.** Write each claim into `claimed-output-round-.md` in the chunk's review folder, `` the round's number: its file and line, the command, the exit code and the real output (for a claim about what a command writes, the written lines or the diff), or `not run: `. Add §2's out-of-range runs, each with the doc line that states the range; in round 2 take only those whose lines the round's fixes changed. Add `Claimed output: ` to the prompts of the Product-owner and Prose reviewers. With no claim, write no file and add no line. Then remove the clone. +- **Hand over.** Write each claim into `claimed-output-round-.md` in the chunk's review folder, `` the round's number: its file and line, the command, the exit code and the real output (for a claim about what a command writes, the written lines or the diff), or `not run: `. Add §2's out-of-range runs, each with the doc line that states the range; in round 2 take only those whose lines the round's fixes changed. Add `Claimed output: ` to the prompts of the Product-owner and Prose reviewers. With no claim and no out-of-range run, write no file and add no line. Then remove the clone. **Precedent, then ask** — for the full scan: