From 797bba69d37ff5867e06830212ec97cfe8781a2a Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Thu, 3 Dec 2026 20:09:47 +0100 Subject: [PATCH] =?UTF-8?q?Answer=20prose=20round=202:=200=20=F0=9F=94=B4,?= =?UTF-8?q?=201=20=F0=9F=9F=A1=20(0=20misread);=20the=20README=20names=20w?= =?UTF-8?q?hat=20the=20state=20folder=20holds,=20and=20the=20comment=20dro?= =?UTF-8?q?ps=20its=20Only?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- bin/loop_state/paths.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 558d5942..07daf10a 100644 --- a/README.md +++ b/README.md @@ -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 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: +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/`. 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. diff --git a/bin/loop_state/paths.py b/bin/loop_state/paths.py index 383d6f7b..290fca03 100644 --- a/bin/loop_state/paths.py +++ b/bin/loop_state/paths.py @@ -40,7 +40,7 @@ def config_folder(env: Mapping[str, str], home: pathlib.Path) -> pathlib.Path: def state_folder(env: Mapping[str, str], home: pathlib.Path) -> pathlib.Path: """The state folder, which the tools write: one folder per tool.""" - # Every tool keeps its state here, none beside it in the state home. Only an archive that BUILD_RELEASE_TRANSCRIPTS names is elsewhere. + # Every tool keeps its state here, none beside it in the state home. An archive that BUILD_RELEASE_TRANSCRIPTS names is elsewhere. return xdg_folder(env.get(XDG_STATE_HOME), home / STATE_HOME) / SETUP