diff --git a/CHANGELOG.md b/CHANGELOG.md index f9ffa87e..d70c46c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## Unreleased +- Worded goal 1 for any agent harness and model, and goal 3 for the setup's files with this repo as their copy. - Added a goal that the setup doesn't depend on any one model vendor or agent harness, and worded goals 1, 1.2 and 3 for whoever runs the setup. - prose-reviewer checks a decision or plan item a change records against the decision log and the CI checks that list a published package's files, and reports a contradiction or a check the text leaves out. - The project and its repo are to be named `dev-factory`, and `loop-claude` and `do-epic` `build-release` and `build-epic`; the commands keep today's names until the install plan's items rename them. diff --git a/README.md b/README.md index 8c26cfba..7e2d2cfb 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ My personal `~/.claude`, version controlled: `CLAUDE.md` and `rules/` for instru ## Goals -1. **Achieve:** Get the highest quality out of Claude Code while interrupting the person who runs the setup the least, so development scales. +1. **Achieve:** Get the highest quality out of the agent harness and model while interrupting the person who runs the setup the least, so development scales. - Signal: interrupts of the person who runs the setup per finished chunk fall. - Counter-signal: findings that a later change fixes, per finished chunk, rise. - Why: fewer asks don't buy anything if the output gets worse. @@ -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 their claude setup 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 b24a0272..64d8416e 100644 --- a/todo.md +++ b/todo.md @@ -6,13 +6,13 @@ `Bar = 0.1` -`Next ID = 562` +`Next ID = 563` ## Items | ID | Release | Blocked by | Exempt | Item | L | E | I | R | S | Moves | Score | |---|---|---|---|---|---|---|---|---|---|---|---| -| 560 | 0.17.0 | | question | **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 | +| 562 | 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 | | 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 | | 561 | 0.18.0 | | | **Clean up a do-epic chunk whose pull request has merged without waiting for a running slot, and close its window.** | 2 | 2 | 2 | 4 | 3 | 1.5 by 2 | 0.5 | @@ -105,18 +105,22 @@ ## Details -### 560. Decide whether goal 1 still says "out of Claude Code", and what goal 3 backs up now that others install the setup. +### 562. Decide which of the files the setup keeps outside this repo goal 3 and the Install section's backup step cover. -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. +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: -(a) Goal 1 reads "Get the highest quality out of Claude Code while interrupting the person who runs the setup the least". Goal 5 says the setup doesn't depend on any one harness, so goal 1's "out of Claude Code" now contradicts it. Should goal 1 say "out of the agent harness" or "out of the model" instead? Recommendation: "out of the agent it runs". Reason: goal 1's signal and counter-signal measure chunks, not Claude Code, so naming Claude Code doesn't add anything to them. And while goal 1 names one harness, an item that brings in a second one scores on goal 5 but reads as off goal 1, which makes such items hard to score. "Agent" covers both the harness and the model behind it; "the model" would leave the harness 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. -(b) Goal 3 reads "Keep their claude setup and the transcripts of unattended runs backed up". An installer can read "their claude setup" as a promise that the release backs up their own `~/.claude`, although the Install section leaves that backup to them. Should goal 3 say whose backup it means? Recommendation: word it "Keep the setup's files and the transcripts of unattended runs backed up, where this repo is the copy". +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? -The chunk that takes this item writes the answer once, in README.md's `## Goals`. +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) +- `README.md`: `## Goals` (small), `## Install` (small) ### 480. 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`.