Answer product-owner round 1: 0 🔴, 3 🟡 (0 misread); each help says how an XDG variable moves its paths, the goals rule loads under any config home, and the cron line makes its folder
CI / tests (pull_request) Successful in 5m56s
CI / tests (pull_request) Successful in 5m56s
This commit is contained in:
@@ -89,7 +89,7 @@ The rules only reviewers apply, for quality, comments, READMEs and prose, are th
|
||||
4. A review rules the work below standard: systems-architect's BLOCK, a finding against the review standards' `quality.md`, or a vote `record-ruling` counts as worse, in the report that stands after any relaunch one rung up (`larv-review` §3 → "Rung up"). It doesn't fire where the fix changes only prose (`larv-review` §3 says what is prose): fix that on your own rung.
|
||||
|
||||
When one fires, hand the hard part, edits included, to a subagent on the rung build-release's prompt names, one above yours. Open the subagent's prompt with the marker build-release's prompt gives, then the trigger's evidence. Each later subagent on that task runs on that rung or higher, and each further escalation trigger moves the task one rung higher, up to the highest rung build-release's prompt names. Ask the human before going higher. Where build-release's prompt names no escalation, as on the ladder's top rung or off it, keep the task in your own thread.
|
||||
- Give a subagent only the access its job needs, and state the limits in its prompt. One that only reads, such as a prose review, gets no shell and no edits. A reviewer under `~/.claude/agents/` writes only its report, under `~/.local/state/build-release/larv-review/`, and rule-hook refuses it every other Write, every Edit and every MultiEdit. One that probes a build tags the image as throwaway and removes it afterwards, writes only to a folder it makes under the chunk's review folder (`larv-review review-folder` prints it), and removes no image or file it did not create.
|
||||
- Give a subagent only the access its job needs, and state the limits in its prompt. One that only reads, such as a prose review, gets no shell and no edits. A reviewer under `~/.claude/agents/` writes only its report, under `~/.local/state/build-release/larv-review/` (under `$XDG_STATE_HOME` instead of `~/.local/state`, where that holds an absolute path), and rule-hook refuses it every other Write, every Edit and every MultiEdit. One that probes a build tags the image as throwaway and removes it afterwards, writes only to a folder it makes under the chunk's review folder (`larv-review review-folder` prints it), and removes no image or file it did not create.
|
||||
- Check `README.md` first for build, test, install, and codegen commands, and fix one that misbehaves in the same change. Refresh `README.md` whenever you change what it describes, keeping it true, not longer.
|
||||
- Where `rule-hook` does not check it, such as an image named in test code, a Kubernetes manifest or a `docker run` line, pin a container image to its full patch version and a GitHub Action to a semver tag.
|
||||
|
||||
@@ -105,7 +105,7 @@ The rules only reviewers apply, for quality, comments, READMEs and prose, are th
|
||||
- PR summary: short and concise. No test plan (it lives in the ticket), no link to the ticket (it's in the title).
|
||||
- Branch for a ticket: exactly the ticket ID, nothing more. `ABC-123`, never `ABC-123-some-description`.
|
||||
- Branch for a plan item without a ticket: `item-<ID>`, in the worktree `<checkout>-item-<ID>` beside the checkout, as `chunk-preflight` makes them. Under a `branch` template, `chunk-preflight` names both by the template.
|
||||
- Where the project's config keeps a file in the config's folder, `~/.config/build-release/<key>/`, such as the plan or a record, commit each change you make to that file in the folder's own git repo, on its only branch. Two chunks may commit there at once, so commit only that file: `git commit -m <title> -- <file>`, after `git add <file>` where it is new. Where git finds `index.lock` held, the other chunk is committing: try again. Title that commit as you would title the change in the checkout: where a commit in the checkout goes with it, give it the same title.
|
||||
- Where the project's config keeps a file in the config's folder, `~/.config/build-release/<key>/` (under `$XDG_CONFIG_HOME` instead of `~/.config`, where that holds an absolute path), such as the plan or a record, commit each change you make to that file in the folder's own git repo, on its only branch. Two chunks may commit there at once, so commit only that file: `git commit -m <title> -- <file>`, after `git add <file>` where it is new. Where git finds `index.lock` held, the other chunk is committing: try again. Title that commit as you would title the change in the checkout: where a commit in the checkout goes with it, give it the same title.
|
||||
- Use `gh` on GitHub remotes and `tea` on Gitea remotes (e.g. `gitea.larvit.se`) — same command shape: `tea pr list|create`, `tea issue`, `tea release`, `tea api`. Everything in this section applies to both.
|
||||
- On GitHub and Gitea, open a chunk's pull request as a draft, mark it ready and merge it with `chunk-pr`, which picks `gh` or `tea` from the remote; `chunk-pr --help` says how. Once it has merged, run `chunk-pr clean` in the chunk's worktree: it removes the worktree and the branch and fast-forwards the main checkout.
|
||||
|
||||
|
||||
@@ -83,7 +83,7 @@ Then pick a model with `/model`.
|
||||
|
||||
Link `build-release` onto `PATH`: `ln -s ~/.claude/bin/build-release ~/.local/bin/build-release`. Every claude it starts, the interactive ones included, skips every permission prompt. build-release runs each chunk in its own window of a tmux session per project, so it needs tmux 3.2 or later.
|
||||
|
||||
The setup keeps what you write in the config folder, `~/.config/build-release/`, and what its tools write in the state folder, `~/.local/state/build-release/`. Where `XDG_CONFIG_HOME` or `XDG_STATE_HOME` is set, the folder is `build-release/` under the folder that variable names instead. Back up these four folders:
|
||||
The setup keeps each project's config, and what you choose for a project, in the config folder, `~/.config/build-release/`. Everything else its tools write is in the state folder, `~/.local/state/build-release/`. Where `XDG_CONFIG_HOME` holds an absolute path, the config folder is `build-release/` under that path instead, and likewise the state folder under `XDG_STATE_HOME`; this README spells the defaults. Set such a variable in the environment Claude Code starts in, since rule-hook reads it there. `settings.json` names only the default review folder, `~/.local/state/build-release/larv-review`, in `additionalDirectories`: where `XDG_STATE_HOME` moves that folder, add it there yourself, or an interactive session asks before a reviewer writes its report. Back up these four folders:
|
||||
|
||||
- `~/.config/build-release/`: each project's config, a client project's plan and records, and `models.json`, the model of each project, which build-release and do-epic write. A project's `env-file`, if you keep it here as below, puts credentials in the backup, so keep the backup private.
|
||||
- `~/.local/state/build-release/transcripts`: every transcript build-release keeps. Where you set `BUILD_RELEASE_TRANSCRIPTS`, back up the folder it names instead.
|
||||
@@ -95,10 +95,10 @@ Leave out Claude Code's memory files in `~/.claude/projects/<folder>/memory/`: C
|
||||
To keep build-release's transcripts and the reports small, add a crontab line that gzips each transcript and review file 30 days after it last changed, and logs each run with its date:
|
||||
|
||||
```sh
|
||||
17 4 * * * { date; $HOME/.claude/bin/compress-archives; } >> $HOME/.local/state/build-release/compress-archives.log 2>&1
|
||||
17 4 * * * mkdir -p $HOME/.local/state/build-release && { date; $HOME/.claude/bin/compress-archives; } >> $HOME/.local/state/build-release/compress-archives.log 2>&1
|
||||
```
|
||||
|
||||
Cron runs it with its own `PATH` and environment. Where the `python3` on cron's `PATH` is older than 3.14, or you set `BUILD_RELEASE_TRANSCRIPTS`, set `PATH` or that variable in the crontab too.
|
||||
Cron runs it with its own `PATH` and environment. Where the `python3` on cron's `PATH` is older than 3.14, or you set `BUILD_RELEASE_TRANSCRIPTS` or `XDG_STATE_HOME`, set `PATH` or that variable in the crontab too. With `XDG_STATE_HOME`, write its folder in place of `$HOME/.local/state` in the line as well.
|
||||
|
||||
To get build-release's questions and stops as DMs from a bot, write the bot's token, your username or member ID and, for Mattermost, the server into `~/.config/build-release/<key>.env`, in the keys `~/.claude/bin/notify --help` names, run `chmod 600` on it, and add `env-file = "~/.config/build-release/<key>.env"` and `notifier = "mattermost"` (or `"slack"`) to the project's config, as Install → "Set up a project" describes.
|
||||
|
||||
|
||||
@@ -4,9 +4,9 @@ usage: build-release <task>
|
||||
|
||||
Run it anywhere inside a project checkout whose goals file has ## Goals and ## Audience, the
|
||||
premises. The goals file is the one the project's config, ~/.config/build-release/<key>/config.toml,
|
||||
sets as goals-and-audience: a file, or a Jira epic's description. `project-config
|
||||
goals-and-audience`
|
||||
prints where it is. The task runs at the checkout root. Each cycle a worker runs the task. A chunk's
|
||||
sets as goals-and-audience: a file, or a Jira epic's description.
|
||||
`project-config goals-and-audience` prints where it is. The task runs at the checkout root. Each
|
||||
cycle a worker runs the task. A chunk's
|
||||
first worker prompt also quotes the premises. They, with code health (the setup's CLAUDE.md →
|
||||
"Shared goal") ranked first unless the goals file voids it, choose between ways to deliver the
|
||||
chunk's plan items, or else the task, and never widen them. A judge then reads the transcript's end,
|
||||
@@ -207,4 +207,7 @@ Exit 2, when the human is needed to go on:
|
||||
anything typed
|
||||
- the judge rules a chunk unfinished 6 cycles running; rerun to give it 6 more
|
||||
Rerunning build-release <task> starts the chunks that may start, a stopped one first, and each
|
||||
resumes its claude session where it is open."""
|
||||
resumes its claude session where it is open.
|
||||
|
||||
Where XDG_CONFIG_HOME holds an absolute path, read ~/.config in this help as that path.
|
||||
Where XDG_STATE_HOME holds an absolute path, read ~/.local/state in this help as that path."""
|
||||
|
||||
@@ -13,6 +13,8 @@ its plain name. README.md → Install has the crontab line that runs it daily.
|
||||
|
||||
It prints how many files it compressed. It exits 1, saying why, on any argument but --help or -h,
|
||||
and at the first file it cannot compress, leaving that file and every one after it plain.
|
||||
|
||||
Where XDG_STATE_HOME holds an absolute path, read ~/.local/state in this help as that path.
|
||||
"""
|
||||
import pathlib
|
||||
import stat
|
||||
|
||||
@@ -17,7 +17,7 @@ from do_epic.backend.jira_start import Start, started
|
||||
FIELDS = ["summary", "description", "labels", "assignee", "status", "parent", "issuelinks"]
|
||||
# How many child issues one search for sub-tasks names, which keeps its JQL well inside the length Jira takes.
|
||||
PARENTS_PER_SEARCH = 50
|
||||
NO_FINISH = "do-epic's settings name no transition to {to} by: set `{transition}` and `{status}` in ~/.config/build-release/do-epic/config.toml, to the names Jira shows, such as \"Mark as done\" and \"Done\""
|
||||
NO_FINISH = "do-epic's settings name no transition to {to} by: set `{transition}` and `{status}` in do-epic's config.toml (`do-epic --help` says where), to the names Jira shows, such as \"Mark as done\" and \"Done\""
|
||||
|
||||
|
||||
@dataclasses.dataclass(frozen=True)
|
||||
|
||||
@@ -228,7 +228,7 @@ class Jira(Case):
|
||||
no_such = JiraEpic(EPIC, self.env_file, self.jira, to_markdown, to_adf, Finish("Close", "Done"))
|
||||
unconverted = JiraEpic(EPIC, self.env_file, self.jira, to_markdown, lambda markdown: Failure("adf-codec refused it"), Finish("Mark as done", "Done"))
|
||||
for store, reason in (
|
||||
(unnamed, "do-epic's settings name no transition to close an epic by: set `jira-finish-transition` and `jira-finish-status` in ~/.config/build-release/do-epic/config.toml, to the names Jira shows, such as \"Mark as done\" and \"Done\""),
|
||||
(unnamed, "do-epic's settings name no transition to close an epic by: set `jira-finish-transition` and `jira-finish-status` in do-epic's config.toml (`do-epic --help` says where), to the names Jira shows, such as \"Mark as done\" and \"Done\""),
|
||||
(wrong_status, "ABC-12's transition 'Start' leads to the status 'In Progress', not to 'Done', which `jira-finish-status` names"),
|
||||
(unconverted, "cannot convert the summary to a Jira comment: adf-codec refused it"),
|
||||
):
|
||||
@@ -523,7 +523,7 @@ class Jira(Case):
|
||||
unnamed = JiraEpic(EPIC, self.env_file, self.jira, to_markdown, to_adf)
|
||||
wrong_status = JiraEpic(EPIC, self.env_file, self.jira, to_markdown, to_adf, Finish("Mark as done", "Closed"))
|
||||
no_such = JiraEpic(EPIC, self.env_file, self.jira, to_markdown, to_adf, Finish("Close", "Done"))
|
||||
self.assertEqual(unnamed.finish_issue(key), Failure("do-epic's settings name no transition to finish an issue by: set `jira-finish-transition` and `jira-finish-status` in ~/.config/build-release/do-epic/config.toml, to the names Jira shows, such as \"Mark as done\" and \"Done\""))
|
||||
self.assertEqual(unnamed.finish_issue(key), Failure("do-epic's settings name no transition to finish an issue by: set `jira-finish-transition` and `jira-finish-status` in do-epic's config.toml (`do-epic --help` says where), to the names Jira shows, such as \"Mark as done\" and \"Done\""))
|
||||
self.assertEqual(wrong_status.finish_issue(key), Failure(f"{key}'s transition 'Mark as done' leads to the status 'Done', not to 'Closed', which `jira-finish-status` names"))
|
||||
refused = no_such.finish_issue(key)
|
||||
assert isinstance(refused, Failure)
|
||||
|
||||
+4
-2
@@ -73,8 +73,10 @@ request is ready, with nothing else to wait on, the window's name says `awaits y
|
||||
A repo that is missing isn't cloned. Planning then stops there, so its writes are only those made before it, and the issues of that repo wait, and a chunk of another repo may start in the place a real run gives them; a real run would clone it and go on.
|
||||
{findings.HELP}
|
||||
{finish.HELP}
|
||||
The Jira site and its credentials are set in ~/.config/build-release/do-epic/config.toml."""
|
||||
# In the state folder, where a chunk's cycles are archived, a folder per epic. It is not build-release's archive, since that archive's readers, such as judge-replay and the routing figures, read build-release's prompts.
|
||||
The Jira site and its credentials are set in ~/.config/build-release/do-epic/config.toml.
|
||||
|
||||
Where XDG_CONFIG_HOME holds an absolute path, read ~/.config in this help as that path."""
|
||||
# The folder in the state folder where a chunk's cycles are archived, in a folder per epic. It is not build-release's archive, since that archive's readers, such as judge-replay and the routing figures, read build-release's prompts.
|
||||
ARCHIVE = "do-epic-transcripts"
|
||||
# The flag that prints what each open issue does.
|
||||
STATUS_FLAG = "--status"
|
||||
|
||||
@@ -48,6 +48,9 @@ fifths. The classifier trains 330 regressions in Python, about 12 minutes on 1,1
|
||||
kept in replays/judge-replay-<model>-offline-<UTC stamp>/result.md. A verdict whose transcript cannot be read is skipped, and the report counts the skipped. Exit 1, saying why, on bad
|
||||
arguments, an unreadable archive or models file, no archived verdict of the model's projects, or none with a
|
||||
transcript that can be read.
|
||||
|
||||
Where XDG_CONFIG_HOME holds an absolute path, read ~/.config in this help as that path.
|
||||
Where XDG_STATE_HOME holds an absolute path, read ~/.local/state in this help as that path.
|
||||
"""
|
||||
import pathlib
|
||||
import sys
|
||||
|
||||
@@ -164,6 +164,8 @@ breaks the shape above, a todo.md that fails rank_todo.py after record-scoring r
|
||||
when git cannot start, finds no checkout or no default branch, cannot fetch origin for ruling-base,
|
||||
needs-scoring-run, scoring-run-owed or record-scoring, or cannot read or write the history, todo.md, the review
|
||||
folder or a file prepare-scoring reads.
|
||||
|
||||
Where XDG_STATE_HOME holds an absolute path, read ~/.local/state in this help as that path.
|
||||
"""
|
||||
import os
|
||||
import pathlib
|
||||
|
||||
@@ -25,6 +25,8 @@ Exit 2, saying why, on misuse: bad arguments, an empty message, a directory with
|
||||
a config that sets no `notifier` or no `env-file`, or an env file that is missing or unreadable, lacks
|
||||
a key, names a Mattermost server off https, or that others may read. None of these messages holds the
|
||||
token.
|
||||
|
||||
Where XDG_CONFIG_HOME holds an absolute path, read ~/.config in this help as that path.
|
||||
"""
|
||||
import typing
|
||||
|
||||
|
||||
@@ -5,7 +5,6 @@ usage: project-config [<setting>]
|
||||
Run inside a checkout, or a worktree of one. It finds the config that names the checkout,
|
||||
~/.config/build-release/<key>/config.toml, and prints each setting and its absolute path, as in
|
||||
`plan: /home/me/code/acme/todo.md`. Given a setting, it prints only that setting's path.
|
||||
Where XDG_CONFIG_HOME is set, the configs are in $XDG_CONFIG_HOME/build-release/ instead.
|
||||
|
||||
`~/.config/build-release/do-epic/` holds do-epic's machine-wide settings, not a project's. It needs no `checkout`,
|
||||
and project-config doesn't read anything from it, so no project may use `do-epic` as its key.
|
||||
@@ -179,6 +178,8 @@ without a `plan` in Jira, names a Jira `plan` and leaves out `jira-score-formula
|
||||
one of those two without a `plan` in Jira, sets the formula to one that doesn't parse or the bar to anything
|
||||
but a number, sets `readability-floor` to anything but a number
|
||||
from 1 to 10, sets `parallel-chunks` to anything but a whole number of 1 or more, or sets `jira-finding-type` to anything but a name or without a `plan` in Jira, and where `bench-tasks`, `coding-conventions`, `env-file`, `epic-branch`, `jira-finish-transition`, `jira-finish-status`, `notifier`, `review-request-comment` or `touch-predictions` is asked for and not set. No path setting has a default.
|
||||
|
||||
Where XDG_CONFIG_HOME holds an absolute path, read ~/.config in this help as that path.
|
||||
"""
|
||||
from collections.abc import Mapping
|
||||
import os
|
||||
|
||||
@@ -21,6 +21,8 @@ lists the files the last 5 chunks read most. With fewer than 10 figures, it says
|
||||
|
||||
Exit 1, saying why, on unknown arguments, or when git cannot start or finds no checkout, the
|
||||
archive or the record cannot be read or written, or a figure in the record cannot be read back.
|
||||
|
||||
Where XDG_STATE_HOME holds an absolute path, read ~/.local/state in this help as that path.
|
||||
"""
|
||||
import dataclasses
|
||||
import os
|
||||
|
||||
@@ -65,6 +65,9 @@ Like the loop, it tries claude three times running before it counts a reply as f
|
||||
review or match leaves its round out, except on a rung below the project's, where it finds
|
||||
none. Exit 1, saying why, on bad arguments, an unreadable archive or models file, no archived
|
||||
round to replay, or a usage limit.
|
||||
|
||||
Where XDG_CONFIG_HOME holds an absolute path, read ~/.config in this help as that path.
|
||||
Where XDG_STATE_HOME holds an absolute path, read ~/.local/state in this help as that path.
|
||||
"""
|
||||
import pathlib
|
||||
import typing
|
||||
|
||||
@@ -47,7 +47,7 @@ RULES: dict[RuleName, Rule] = {
|
||||
# A marker would let the credentials into the transcript all the same, so no marker waives it.
|
||||
"env-file-read": Rule(
|
||||
"an agent never reads ~/.claude/.env or a project's env-file, the file of credentials the project's config names, since a value the agent reads lands in its transcript, which build-release archives and the backups copy; it leaves a tool that needs a credential to read the file itself, gets the file's path from `project-config env-file`, and spells the path another way, such as \"the .env in ~/.claude\", in a command that must mention it without reading it, such as a commit's title, and searches only a folder without it",
|
||||
"against ~/.claude/.env and the env-file of every config under ~/.config/build-release: a Read of one; a Grep of one, or of a folder holding one, unless a checkout ignores the file and the Grep's glob cannot match it; and a Bash command that spells one's path, or names it in a word or a redirect's target from the directory `cd` left the command in, whether or not the command reads it; and a Bash command that runs `ag`, `grep -r` or `rg` over a folder holding one, or over the directory `cd` left the command in where it names no folder, unless the tool skips the file: `ag` and `rg` skip a hidden file, one below a hidden folder of the search and one a checkout ignores, and `rg` one that none of its globs matches",
|
||||
"against ~/.claude/.env and the env-file of every config under the config folder, ~/.config/build-release unless `XDG_CONFIG_HOME` holds an absolute path: a Read of one; a Grep of one, or of a folder holding one, unless a checkout ignores the file and the Grep's glob cannot match it; and a Bash command that spells one's path, or names it in a word or a redirect's target from the directory `cd` left the command in, whether or not the command reads it; and a Bash command that runs `ag`, `grep -r` or `rg` over a folder holding one, or over the directory `cd` left the command in where it names no folder, unless the tool skips the file: `ag` and `rg` skip a hidden file, one below a hidden folder of the search and one a checkout ignores, and `rg` one that none of its globs matches",
|
||||
overridable=False,
|
||||
),
|
||||
"ignorefile-sorted": Rule(
|
||||
@@ -70,7 +70,7 @@ RULES: dict[RuleName, Rule] = {
|
||||
),
|
||||
# A reviewer only reports, so no marker waives it.
|
||||
"reviewer-report": Rule(
|
||||
"a reviewer writes only its report, with Write, into a file under the review reports folder, ~/.local/state/build-release/larv-review/ unless `XDG_STATE_HOME` is set",
|
||||
"a reviewer writes only its report, with Write, into a file under the review reports folder, ~/.local/state/build-release/larv-review/ unless `XDG_STATE_HOME` holds an absolute path",
|
||||
"a Write, Edit or MultiEdit call from inside an agent under agents/",
|
||||
overridable=False,
|
||||
),
|
||||
@@ -96,7 +96,7 @@ RULES: dict[RuleName, Rule] = {
|
||||
),
|
||||
"todo-rank-check": Rule(
|
||||
"while todo.md has changes, staged or not, a git commit waits until rank_todo.py --check passes on it: the checkout's own bin/rank_todo.py where the checkout is of this setup's repo, else the release's",
|
||||
"a git commit in a checkout whose todo.md has changes, and every git commit where the project's config puts todo.md outside the checkout, where the checkout's commits don't say whether it changed; and a git commit in the config's folder, `~/.config/build-release/<key>/`, whose todo.md has changes",
|
||||
"a git commit in a checkout whose todo.md has changes, and every git commit where the project's config puts todo.md outside the checkout, where the checkout's commits don't say whether it changed; and a git commit in the config's folder, `<key>/` in the config folder, whose todo.md has changes",
|
||||
),
|
||||
# A Read carries no text for a marker, so no marker waives it.
|
||||
"transcript-read": Rule(
|
||||
|
||||
@@ -16,6 +16,8 @@ a checkout no config names. build-release --help shows the file's shape.
|
||||
|
||||
Exit 1, saying why, on bad arguments, or where the project's config or its routing ladder is faulty
|
||||
or cannot be read.
|
||||
|
||||
Where XDG_CONFIG_HOME holds an absolute path, read ~/.config in this help as that path.
|
||||
"""
|
||||
from collections.abc import Mapping
|
||||
import pathlib
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
paths:
|
||||
- "**/README.md"
|
||||
- "**/.config/build-release/*/goals.md"
|
||||
- "**/build-release/*/goals.md"
|
||||
---
|
||||
|
||||
# Goals and Audience
|
||||
|
||||
@@ -72,7 +72,7 @@ Give a reviewer without Bash `git ls-files`'s output in its prompt, since some h
|
||||
|
||||
`larv-review` holds this section's mechanical rules: the chunk's review folder, the round count and each round commit's counts, the paired ruling's base and vote count, the scoring run's trigger; the history's format, its latest places and its count of how often seats agree; and the header of each reviewer's prompt. Run it in the chunk's worktree; `larv-review --help` states each rule. On exit 1, repair what its message names and run it again; when you cannot, ask the user.
|
||||
|
||||
**Reports.** Run `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/build-release/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.
|
||||
**Reports.** Run `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/build-release/larv-review/`, which is under `$XDG_STATE_HOME` instead of `~/.local/state` where that holds an absolute path. 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 a round, find the lines the diff adds or changes that say what a command, flag or error prints, such as "the error names the fix", or what a command writes, such as "the diff of the regenerated file holds only X". In round 2, take only the lines the round's fixes changed. Those reviewers have no shell, and reading code can't show that an output holds the words a line claims.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user