Hand reviewers the real output of each claimed command
This commit is contained in:
@@ -74,6 +74,12 @@ Give a reviewer without Bash `git ls-files`'s output in its prompt, since some h
|
||||
|
||||
**Reports.** Run `~/.claude/bin/larv-review reviewer-header <pass>` in the chunk's worktree, and open each prompt to an agent under `~/.claude/agents/` with what it prints; then say in a few lines what the change does and which files it touches. The command makes the chunk's review folder and writes the branch diff and the plan's listing into it. The header names that diff, the reviewer's full report, `<pass>-round-<n>.md`, in the folder, the folders of technical principles and review standards the project's config sets, the files of coding conventions where it lists any, the listing, and for architecture and stability the places too. For a reviewer whose definition starts it without `CLAUDE.md`, the header's last line names the file that holds the project principles and decision titles, which the reviewer reads first. For a relaunch one rung up, add `--rerun`: the report becomes `<pass>-round-<n>-rerun.md`, and the header names the report that asked. Before you answer a 🔴 or 🟡, read its entry: Grep the report for the finding's place, with the lines after it, rather than Read the whole report. rule-hook refuses a reviewer's Edit and MultiEdit, and any Write outside `~/.local/state/larv-review/`. Keep the folder after the merge: `review-replay` replays a round from the reports its prompt names, and `compress-archives` gzips each file 30 days after it last changed.
|
||||
|
||||
**Claimed output.** Before the Product-owner or Prose pass launches, in each round, find the lines the diff adds or changes that say what a command, flag or error prints: "the error names the fix", "prints one row per task". A reviewer can't run anything, and reading code can't show that the output holds the words the line claims.
|
||||
|
||||
- **Run.** For each claim, run its command in the chunk's worktree, through the project's container setup, with the input that triggers the output the line describes, such as the input that raises the error. Run only what changes nothing outside the worktree and sends nothing out; list any other claim as `not run: <why>`.
|
||||
- **Hand over.** Write each claim with its file and line, the command, its exit code and its real output into `claimed-output.md` in the chunk's review folder. Add `Claimed output: <that path>` to each reviewer's prompt, the Product-owner and Prose reviewers'; with no claim, leave the line out.
|
||||
- **Round 2.** Run again only the claims the round's fixes changed.
|
||||
|
||||
**Precedent, then ask** — for the full scan:
|
||||
|
||||
- **Skip.** A precedent is a `docs/decisions.md` entry, or a plan item crediting the pass, that the repo held before the chunk began. Where one holds the decision this change executes, skip the pass and cite that entry or item.
|
||||
|
||||
Reference in New Issue
Block a user