diff --git a/CHANGELOG.md b/CHANGELOG.md index f3665d20..fe0dd5c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## Unreleased +- **The rules, agents, skills and each tool's text name a file of the setup as the setup's, as in the setup's `rules/todo-items.md`, and a project's config names one as `setup:`, as in `standards = "setup:skills/larv-review/standards"`.** Both hold wherever the release is cloned; `CLAUDE.md` → "Vocabulary" defines the setup. The loop's Claude home links `bin/` and `principles/` too, and `task-bench gather` runs its claude in that home, where it exits 1 until someone is signed in. - `.gitignore` ignores only what the repo generates, in place of an allowlist that kept a Claude home's files out of the clone. A checkout in `~/.claude` that moves past 0.17.0 would list its credentials, transcripts and memory files as untracked: run `echo '*' >> .git/info/exclude` in it, or leave it on 0.17.0. - **build-release and build-epic run every claude in a Claude home of their own, `~/.local/share/build-release/claude-home`, and a release is cloned anywhere, no longer into `~/.claude`.** Take this release as `README.md` → Update says for a checkout in `~/.claude`: finish each open chunk first, clone the release, write `setup:` in place of `~/.claude/` in each project config's `principles` and `standards`, and change each path into `~/.claude` that a crontab names to the new clone. The commands build the home from the clone they ship in, with links to its `agents/`, `bin/`, `CLAUDE.md`, `principles/`, `rules/` and `skills/`, a `settings.json` generated from the clone's, and each plugin that file enables; they build it again when the clone moves to another release. Sign in there once: until you have, a command stops and prints the line to run, `CLAUDE_CONFIG_DIR=~/.local/share/build-release/claude-home claude`, where you type `/login`. Your own `~/.claude` is yours again: neither the loop nor `task-bench gather` runs a claude there. The settings filter and its Install step are gone, and `self-update` no longer asks you to pick a model with `/model`. - **`deploy-release` is gone, with no alias: `self-update` moves a clone of a release, and `cut-release` cuts one.** Take this release by cloning it, as `README.md` → Update says for a checkout in `~/.claude`, not with `deploy-release`. From then on, update with the new clone's `bin/self-update`. It takes no argument, moves the clone it ships in and names that clone in what it prints, so never run the development clone's copy. In the development clone, run `bin/cut-release` where you ran `deploy-release --cut`, and `bin/cut-release --patch ` where you ran `--cut-patch `; neither takes a ``. A cut no longer moves `~/.claude`: its stdout is the one `Done:` line, and each machine runs `self-update` afterwards. `cut-release` cuts the clone it ships in, whatever the directory it is run from, and no longer checks an origin. Its traces go to `~/.local/state/build-release/cut-release/`, and older traces stay where they are. Install no longer links `build-release` onto `PATH`: run it as `/bin/build-release`. Remove a link made earlier: it leads into `~/.claude`, to the old release. diff --git a/todo.md b/todo.md index 6cee4c04..7581e39f 100644 --- a/todo.md +++ b/todo.md @@ -13,8 +13,7 @@ | ID | Release | Blocked by | Exempt | Item | L | E | I | R | S | Moves | Score | |---|---|---|---|---|---|---|---|---|---|---|---| | 486 | 0.18.0 | | owner | **Open an interactive claude with the setup loaded through one wrapper command, which sets the generated home and `PATH` and passes every argument on to claude.** | 2 | 1 | 1 | 2 | 3 | 2 by 2 | 0.5 | -| 581 | 0.18.0 | | | **Name each file of the setup, in everything a model or a person reads, by a path that holds wherever the clone lies, never by `~/.claude`.** | 4 | 2 | 3 | 7 | 7 | 2 by 8 | 0.5 | -| 577 | 0.18.0 | 486, 581 | owner | **Test in the gate that a container holding only a stock Claude Code runs a chunk from a clone, against a mock Messages API, and that the run leaves the container's own `~/.claude` as it was.** | 3 | 1 | 2 | 4 | 6 | 3 by 9, 2 by 5 | 5.2 | +| 577 | 0.18.0 | 486 | owner | **Test in the gate that a container holding only a stock Claude Code runs a chunk from a clone, against a mock Messages API, and that the run leaves the container's own `~/.claude` as it was.** | 3 | 1 | 2 | 4 | 6 | 3 by 9, 2 by 5 | 5.2 | | 576 | 0.18.0 | | owner | **Name the project `dev-factory` in the README, the prose and the tools, and say in the changelog that the repo moved.** | 2 | 2 | 2 | 4 | 4 | 2 by 1, 6 by 1 | 0.4 | | 578 | 0.18.0 | 576, 577 | owner | **Ship one chunk of this repo, to a merged pull request, from a clone of `main` that runs in the generated home, beside the untouched `~/.claude`.** | 1 | 2 | 1 | 2 | 1 | 2 by 4 | 1.2 | | 585 | 0.19.0 | | | **Give this repo an `AGENTS.md` like any project, and drop the decision and the rule that say it keeps none.** | 3 | 1 | 3 | 5 | 4 | code health by 3 | 3.1 | @@ -119,44 +118,6 @@ Touches: - `.gitignore` - `README.md`: `## Install` (small), `## Tools` (small) -### 581. Name each file of the setup, in everything a model or a person reads, by a path that holds wherever the clone lies, never by `~/.claude`. - -Found while shipping the loop's generated Claude home. The loop's claudes now run in `~/.local/share/build-release/claude-home`, and the clone lies anywhere but `~/.claude`. What they read still sends them to the person's own home: `CLAUDE.md`, the files under `rules/`, `agents/`, `skills/` and `principles/` name `~/.claude/rules/…`, `~/.claude/skills/…`, `~/.claude/agents/` and `~/.claude/bin/`, about 14 files. So a worker in a clone elsewhere is told to read files that don't exist, and one whose `~/.claude` still holds an old checkout reads a stale release, which breaks goal 3. The same holds for: - -- the config that `project-config --help` shows and `project_config/doubles.py` writes, whose `standards` is `~/.claude/skills/larv-review/standards`; -- the label `chunk_driver/project/records.py`'s `named` gives each rule the judge reads, `~/.claude/`, and the judge's prompt and build-release's help, which name `~/.claude/CLAUDE.md` and `~/.claude/rules/`; -- each tool's help that names `~/.claude/bin/`; -- `task-bench gather`, whose claude runs in the person's own home: start it with `loop_effects`' `claude_environment`, after the `claude_home` effect says the home is ready. - -Choose one spelling for a file of the setup that holds wherever the clone lies, and bench it as "Bench a syntax" asks. Two candidates: the loop's home, which then also links `bin/` and `principles/`; or the clone, which build-release's prompt names. `~/.claude` stays only where it means the person's own home, as in goal 3 and rule-hook's `.env` rule. README.md already writes the clone as `~/build-release`. - -Touches: - -- `CLAUDE.md` -- `rules/todo-items.md` -- `rules/decisions.md` -- `rules/goals-and-audience.md` -- `skills/larv-review/SKILL.md` -- `skills/larv-review/review-findings.md` -- `skills/larv-review/standards/prose.md` -- `skills/comprehension-panel/SKILL.md` -- `principles/technical-principles.md` -- `agents/override-reviewer.md` -- `agents/principles-auditor.md` -- `agents/product-owner-reviewer.md` -- `agents/prose-reviewer.md` -- `agents/stability-reviewer.md` -- `agents/systems-architect.md` -- `bin/project_config/main.py`: `(module)` (small) -- `bin/project_config/doubles.py` -- `bin/chunk_driver/project/records.py`: `named` -- `bin/agent_cycle/judge.py` -- `bin/build_release/loop/usage.py` -- `bin/task_bench/figures/gather.py` -- `bin/claude_home/home.py`: `LINKED` (small) - -Which other tools' help names `~/.claude/bin/` is not predictable, so the list leaves those files out. - ### 577. Test in the gate that a container holding only a stock Claude Code runs a chunk from a clone, against a mock Messages API, and that the run leaves the container's own `~/.claude` as it was. Part of the standalone-install plan lilleman approved on 2026-11-20, as reshaped on 2026-12-03 when 0.18.0 was planned. Split from item 494, which keeps the newcomer's README. The probes behind the decision "Claude Code in a home of its own" already ran a mock Messages API at `ANTHROPIC_BASE_URL`. The test fails where goal 3 breaks: it compares `~/.claude` before and after the run. Give the container a memory and a swap limit, and run it under `run-heavy`.