diff --git a/README.md b/README.md index e7a14b97..7e2d2cfb 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ My personal `~/.claude`, version controlled: `CLAUDE.md` and `rules/` for instru - Signal: the steps a person takes from a release's tag to their first finished chunk fall, and the changes an install or a run makes to their own `~/.claude` fall to none. - Counter-signal: defects that show up only on a machine other than mine rise. - Why: fewer steps and an install that leaves their `~/.claude` alone count only where the setup then works on machines that aren't mine. -3. **Maintain:** Keep the setup's files, with this repo as their copy, and the transcripts of unattended runs backed up. A bench's transcripts are the exception: they stay only until `task-bench gather` has filed plan items from their digest, or the next bench starts. +3. **Maintain:** Keep the setup's files backed up, with this repo as their copy, and the transcripts of unattended runs too. A bench's transcripts are the exception: they stay only until `task-bench gather` has filed plan items from their digest, or the next bench starts. 4. **Maintain:** Don't leak anything: no credentials, transcripts or memory files to this repo's remote, and no client's code, transcripts or credentials to another client or to this repo. 5. **Achieve:** The setup doesn't depend on any one model vendor or agent harness: what lives in the `.claude` folder is split into parts that each run on their own, and Claude Code is one harness among others. - Signal: the harnesses the loop can run a chunk on rise. diff --git a/todo.md b/todo.md index b27e99ae..ab6fb819 100644 --- a/todo.md +++ b/todo.md @@ -6,12 +6,13 @@ `Bar = 0.1` -`Next ID = 561` +`Next ID = 562` ## Items | ID | Release | Blocked by | Exempt | Item | L | E | I | R | S | Moves | Score | |---|---|---|---|---|---|---|---|---|---|---|---| +| 561 | 0.17.0 | | question | **Decide which of the files the setup keeps outside this repo goal 3 and the Install section's backup step cover.** | 1 | 2 | 1 | 2 | 1 | | 0.0 | | 560 | 0.17.0 | | | **Decide whether goal 1 still says "out of Claude Code", and what goal 3 backs up now that others install the setup.** | 1 | 2 | 1 | 2 | 1 | 1 by 1 | 0.4 | | 480 | 0.18.0 | | owner | **Resolve every path the tools use in one module: the release root (the folder the running code ships in), the config folder, the state folder and the Claude home. Then only that module names `~/.claude`, and the loop still runs from `~/.claude`.** | 3 | 2 | 3 | 6 | 6 | 1.6 by 3, code health by 3 | 1.9 | | 481 | 0.18.0 | 480 | owner | **Put the release's tools on `PATH` for every session the loop starts and every hook it runs, name them bare in the prose in place of `~/.claude/bin/`, and refuse the old spelling in new prose.** | 3 | 2 | 3 | 6 | 6 | 1.4 by 2, 2 by 2, code health by 2 | 1.5 | @@ -104,6 +105,23 @@ ## Details +### 561. Decide which of the files the setup keeps outside this repo goal 3 and the Install section's backup step cover. + +README.md's goal 3 reads "Keep the setup's files backed up, with this repo as their copy, and the transcripts of unattended runs too." This repo is the copy of every file it tracks, but three places hold state of the setup that it doesn't track, and goal 3 may leave them out: + +- `~/.claude/loop-claude-models.json`: the models loop-claude routes to on this machine. `.gitignore` is an allowlist that doesn't list it, so it stays out of this repo. Install doesn't mention backing it up. +- `~/.local/state/larv-review`: each chunk's review reports. Install's "Back up three folders" step already names it, beside `~/.claude/loop-claude-transcripts` and `~/.claude/do-epic-transcripts`. +- `~/.claude-projects//`: a client project's config, plan, records and `goals.md`, in a local git repo with no remote. Goal 4 keeps a client's files out of this repo, so this repo can't be their copy. Install's "Set up a project" describes the folder, but the backup step doesn't name it. + +Question: should Install's "Back up three folders" step add `~/.claude/loop-claude-models.json` and `~/.claude-projects/`, and should goal 3 say that the setup's files outside this repo are backed up too? + +Recommendation: yes to both for `~/.claude-projects/`, since it holds a client project's only copy of its plan and records, and losing it loses the loop's memory of that project. Add `~/.claude/loop-claude-models.json` to the step too: it is one small file, and rebuilding it by hand costs an interrupt. Word goal 3 as "the setup's files, with this repo as the copy of those it tracks, and the folders Install names backed up", so the list lives once, in Install. + +The chunk that takes this writes the answer once, in README.md. + +Touches: +- `README.md`: `## Goals` (small), `## Install` (small) + ### 560. Decide whether goal 1 still says "out of Claude Code", and what goal 3 backs up now that others install the setup. Two questions about README.md's `## Goals`. Goal 5 raises both: it makes Claude Code one agent harness among others. The Install section, which lets anyone install the setup, adds to the second.