Answer product-owner round 1: 1 🔴, 3 🟡 (1 misread); say which tools build the home and that it follows the clone that ran last, tell a 0.17.0 user to clone and to finish open chunks first, and say what reaches the clone through the home's links
This commit is contained in:
@@ -61,23 +61,23 @@ Have the latest stable Python, today 3.14, as `python3` on `PATH`, and tmux 3.2
|
||||
|
||||
Run `build-release` by its path, `~/build-release/bin/build-release`: no step installs it. Every claude it starts, the interactive ones included, skips every permission prompt.
|
||||
|
||||
build-release and build-epic run every claude in the loop's Claude home, `~/.local/share/build-release/claude-home`, which they build when they start. The setup doesn't read or write your own `~/.claude`, and nothing in it loads in the loop's home. The loop's home holds:
|
||||
build-release and build-epic run every claude in the loop's Claude home, `~/.local/share/build-release/claude-home`, which each of the two builds when it starts. Neither reads or writes your own `~/.claude`, and nothing in it loads in the loop's home. `task-bench gather` alone still starts its claude in your own home. The loop's home holds:
|
||||
|
||||
- links to the clone's `CLAUDE.md`, `rules/`, `agents/` and `skills/`;
|
||||
- a `settings.json` generated from the clone's, whose hooks run the clone's tools;
|
||||
- every plugin the clone's `settings.json` enables, which the command installs;
|
||||
- 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, a command stops and prints 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`. Your theme and status line are your own `~/.claude`'s. A command builds the home again once the clone holds another commit, as after `self-update`, and keeps the sign-in, the model and the sessions.
|
||||
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. The home follows the clone whose build-release or build-epic ran last, so run only the release clone's, never the development clone's: that one would point every running loop at unreleased rules.
|
||||
|
||||
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 only what a command builds again or 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. `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 to the loop's home's `settings.json` yourself, and again each time a command builds the home, or an interactive session asks before a reviewer writes its report. 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/`. 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. `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 to the loop's home's `settings.json` yourself, and again each time build-release or build-epic builds the home, 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 build-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.
|
||||
- `~/.local/state/build-release/build-epic-transcripts`: the transcripts of build-epic's chunks.
|
||||
- `~/.local/state/build-release/larv-review`: each chunk's review reports.
|
||||
|
||||
Leave out the data folder. A command builds the loop's Claude home again, and Claude Code writes the memory files in its `projects/<folder>/memory/`, so they aren't part of this setup.
|
||||
Leave out the data folder. build-release builds the loop's Claude home again, and you sign in there again with `/login`. The sessions in the home are Claude Code's own copies: the transcripts above are the setup's. Claude Code writes the memory files in the home's `projects/<folder>/memory/`, so those aren't part of this setup.
|
||||
|
||||
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:
|
||||
|
||||
@@ -192,9 +192,9 @@ Move `~/build-release` to the newest release:
|
||||
|
||||
It prints `CHANGELOG.md`'s section for each version it moved past: do what each asks, such as a new step under Install. `self-update` moves the clone it ships in, whatever the directory it is run from, and names that clone in each line that says what it did or why it refused. So run `~/build-release`'s copy, never the development clone's. The next build-release or build-epic builds the loop's Claude home again from the new release. `self-update --help` says what else it checks.
|
||||
|
||||
It refuses while a file the clone tracks has an uncommitted change. Claude Code writes into the loop's home, never into the clone, so such a change is one you made. Carry it into `~/code/claude-config` on a branch of its own, merge it through a PR, and cut a release.
|
||||
It refuses while a file the clone tracks has an uncommitted change. Claude Code keeps its own files in the loop's home, not in the clone. The home's four links lead into the clone, though, so a rule, an agent or a skill changed at user level in that home changes the clone's file. Carry such a change into `~/code/claude-config` on a branch of its own, merge it through a PR, and cut a release.
|
||||
|
||||
A release up to 0.17.0 was a checkout in `~/.claude`, and `self-update` doesn't move one out of there. Clone the newest release as Install says, and sign in to the loop's home. In each project's config, write the new clone in place of `~/.claude` in `principles` and `standards`, and likewise in the crontab line. Nothing of the setup reads `~/.claude` after that, so the checkout there is yours to keep or remove. Keep it on 0.17.0 if you keep it: a later `settings.json` names its hooks by a placeholder that only the loop's home fills in, so in `~/.claude` the hooks would not run.
|
||||
A release up to 0.17.0 was a checkout in `~/.claude`, and `self-update` doesn't move one out of there. Finish each open chunk first: its session stays in `~/.claude`, where the new release doesn't look for it. Then clone the newest release as Install says, and sign in to the loop's home. In each project's config, write the new clone in place of `~/.claude` in `principles` and `standards`, and likewise in the crontab line. build-release and build-epic don't read `~/.claude` after that, so the checkout there is yours to keep or remove. Keep it on 0.17.0 if you keep it: a later `settings.json` names its hooks by a placeholder that only the loop's home fills in, so in `~/.claude` the hooks would not run.
|
||||
|
||||
## Release
|
||||
|
||||
|
||||
Reference in New Issue
Block a user