Answer prose round 2: 0 🔴, 1 🟡 (0 misread); the README names what the state folder holds, and the comment drops its Only
This commit is contained in:
@@ -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.
|
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.
|
- `~/.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.
|
- `~/.local/state/build-release/transcripts`: every transcript build-release keeps. Where you set `BUILD_RELEASE_TRANSCRIPTS`, back up the folder it names instead.
|
||||||
|
|||||||
@@ -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:
|
def state_folder(env: Mapping[str, str], home: pathlib.Path) -> pathlib.Path:
|
||||||
"""The state folder, which the tools write: one folder per tool."""
|
"""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
|
return xdg_folder(env.get(XDG_STATE_HOME), home / STATE_HOME) / SETUP
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user