Answer prose round 1: 0 🔴, 10 🟡 (0 misread); the claims about permissions, signing in and what the command runs are reworded, and the comments cut
CI / tests (pull_request) Successful in 4m50s

This commit is contained in:
2026-12-04 06:01:58 +01:00
parent 7cc2b23447
commit 177a0b23b8
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -68,9 +68,9 @@ build-release and build-epic run every claude in the loop's Claude home, `~/.loc
- every plugin the clone's `settings.json` enables, which build-release or build-epic installs;
- what Claude Code keeps in its home: your sign-in there, the sessions and the memory files.
Sign in to the loop's home once. Until you have, build-release and build-epic stop and print the line to run, `CLAUDE_CONFIG_DIR=~/.local/share/build-release/claude-home claude`: type `/login` in the claude it opens. A model you pick there with `/model` stays in the generated `settings.json`. The loop's home has no theme or status line of yours: those stay in your own `~/.claude`, for the claude you start yourself. build-release or build-epic builds the home again once the clone holds another commit, as after `self-update`, and keeps the sign-in, the model and the sessions. It builds the home again when you change `XDG_STATE_HOME`, too. The home follows the clone whose build-release, build-epic or `task-bench gather` ran last, so run only the release clone's, never the development clone's: that one would point every running loop at unreleased rules.
Sign in to the loop's home once. Until you have, build-release and build-epic stop and print the line to run, `CLAUDE_CONFIG_DIR=~/.local/share/build-release/claude-home claude`: type `/login` in the claude it opens. A model you pick there with `/model` stays in the generated `settings.json`. The loop's home has no theme or status line of yours: those stay in your own `~/.claude`, for the claude you start yourself. build-release or build-epic builds the home again once the clone holds another commit, as after `self-update`, and keeps the sign-in, the model and the sessions. It builds the home again when you change `XDG_STATE_HOME`, too. The home follows the clone whose build-release, build-epic, `task-bench gather` or `claude-release` ran last, so run only the release clone's, never the development clone's: that one would point every running loop at unreleased rules.
To open claude in the loop's home yourself, for a manual `/larv-review` or a planning talk, run `~/build-release/bin/claude-release` in the project's checkout. It builds the home as above where that is due, then passes every argument on to claude, so `--resume`, `-p` and `--model` work as with plain claude. It signs in as the home does, so type `/login` in it where you haven't yet. Permissions come from the setup's `settings.json`, which skips every prompt, as for the loop's claudes. Only the loop's sessions and `claude-release` get rule-hook's guards: the claude you start from your own `~/.claude` doesn't load the setup or its hooks.
To work in the loop's home yourself, for a manual `/larv-review` or a planning talk, run `~/build-release/bin/claude-release` in the project's checkout. It builds or refreshes the home first, as above, then runs claude there and passes every argument on, so `--resume`, `-p` and `--model` work as with plain claude. Where nobody has signed in to the home yet, type `/login` in the claude it opens. The home's `settings.json` bypasses permissions, and Claude Code may still ask you to trust the folder. Only the loop's sessions and `claude-release` load the setup's hooks, such as `rule-hook`'s guards: the claude you start from your own `~/.claude` loads neither the setup nor its hooks.
The setup keeps each project's config, and what you choose for a project, in the config folder, `~/.config/build-release/`. Its tools keep their own state, such as transcripts, review reports and locks, in the state folder, `~/.local/state/build-release/`. The loop's Claude home is in the data folder, `~/.local/share/build-release/`, which holds what build-release builds again and what Claude Code writes. 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` and the data folder under `XDG_DATA_HOME`; this README spells the defaults. Set such a variable in the environment Claude Code starts in, since rule-hook reads it there. Back up these four folders:
@@ -218,14 +218,14 @@ It applies only those commits on the newest tag, tests them with `ci.sh`, tags a
## Tools
build-release, build-epic, `task-bench gather` and `claude-release` put the release's tools first on the `PATH` of every claude they start, so this README and the rules name each tool bare, as in `metric-bench`. Install puts no tool on your shell's `PATH`: there, and in a claude you start without them, call each by its path, `~/build-release/bin/<tool>`, from the project's checkout. Run `cut-release` from the development clone instead, as Release says. The tools under `~/build-release` are the release's; test a change to one from `~/code/claude-config/bin`. The tools are listed in alphabetical order, and the packages under `bin/` follow under their own heading.
build-release, build-epic, `task-bench gather` and `claude-release` put the release's tools first on the `PATH` of every claude they start, so this README and the rules name each tool bare, as in `metric-bench`. Install puts no tool on your shell's `PATH`: there, and in a claude you start by any other means, call each by its path, `~/build-release/bin/<tool>`, from the project's checkout. Run `cut-release` from the development clone instead, as Release says. The tools under `~/build-release` are the release's; test a change to one from `~/code/claude-config/bin`. The tools are listed in alphabetical order, and the packages under `bin/` follow under their own heading.
- `build-epic <EPIC-KEY>` runs the chunks of one Jira epic whose items span repos, or have none, each in its own window of the tmux session `epic-<EPIC-KEY>`, on the same cycle, judge and interrupt as build-release. The epic's description is its record: goals, audience, scoring and decisions. Before it starts chunks, build-epic plans each open issue that no label places yet, as "Set up a project" says. It files a sub-task per repo where the issue changes several repos. Otherwise it labels the issue with where it is worked, and asks you where that is unclear. It plans no issue your team filed a sub-task under: those sub-tasks run instead, each under a label of its own, and your team closes the issue. Then, where two or more issues may start, it scores each of them that holds no scores, and moves the issues that build-epic itself filed into order of score on the board. An open issue runs once a label names its repo or marks it as Claude's, in order of score, as many at once as a line such as `**Max parallel chunks:** 2` in the epic's description allows, 1 without it, and as each repo's `parallel-chunks` allows. A chunk whose pull request waits on a gate parks. An open task of yours that blocks another issue gets a window that DMs you once and reads the epic every minute; once you close the task, the issues it blocked may start. `build-epic <EPIC-KEY> --dry-run` prints what `build-epic <EPIC-KEY>` would write to Jira and which chunks it would start, and does neither; run it before the first real run on a team's epic. `--help` lists what it prints and leaves out. build-epic closes the epic only once you confirm every goal. Install → "Set up a project" says how to set it up; `build-epic --help` states the flags and the contract.
- `build-epic-e2e` runs `build-epic` against a sandbox epic on a real Jira site, as Test says.
- `build-release <task>` runs a project's next chunks, each in its own tmux window, cycle after cycle; `build-release --help` states its contract.
- `chunk-pr open|sync|ready|push|merge|clean|open-epic` opens a chunk's pull request as a draft, brings its branch level with origin's default branch, marks it ready and merges it once its checks pass, with `gh` on a GitHub origin and `tea` elsewhere. Where the project's config sets `epic-branch`, the pull request goes into the epic's working branch instead, `push` pushes later commits and asks the auto-reviewer for a review, and `open-epic` opens the pull request from that branch into the default branch. The chunks of one project merge one at a time: in its turn, `merge` brings the branch level again, finishes the plan items its `--finish` flags name, and waits for the checks. Under `merge = "human"` it then marks the pull request ready and leaves the merge to a person. Once the pull request is merged, `clean` removes the chunk's worktree and branch and fast-forwards the main checkout. `chunk-pr --help` states the steps.
- `chunk-preflight` finds the mechanical facts a chunk starts from, and with `--worktree` makes its worktree; `build-release` runs it with `--worktree` before it routes each chunk, and `chunk-preflight --help` lists the facts.
- `claude-release [<claude argument>…]` opens an interactive claude in the loop's Claude home, with the setup loaded, in the folder you run it in, and passes every argument on to claude; Install says why you'd want that.
- `claude-release [<claude argument>…]` runs claude in the loop's Claude home with the setup loaded, in the folder you run it in, and passes every argument on to claude; Install says why you'd want that.
- `command-patterns [<version>] [--calls <file>]` prints a table of the shell command patterns a release's archived chunks ran, such as `tea pr create`, for an audit of the release, and with `--calls <file>` saves each call as a JSON line; `command-patterns --help` states the columns and the line's keys.
- `compress-archives` gzips each transcript in build-release's archive and each file in the review folders 30 days after it last changed, keeping all of them; Install's crontab line runs it daily.
- `cut-release [--patch <commits>]` cuts the next release of the development clone it ships in, and with `--patch` a patch release of only the commits named, as Release says.
+1 -1
View File
@@ -31,7 +31,7 @@ build-release runs every claude in the loop's Claude home, ~/.local/share/build-
which it builds from the clone it ships in before it starts anything. Until someone has signed in
there, it stops and prints the command to sign in with. README.md → Install says what the
home holds.
`claude-release [<claude argument>…]` opens an interactive claude in that home.
`claude-release [<claude argument>…]` runs claude in that home, for you to talk to.
build-release needs tmux 3.2 or later, and checks that too before it starts anything. Each chunk
runs in its own window of one tmux session per project, named loop-<key>, such as