Name each file of the setup as the setup's, and a config's as setup:<path>
CI / tests (pull_request) Successful in 4m42s

This commit is contained in:
2026-12-04 04:23:17 +01:00
parent eff57c1dfd
commit 6dd2787e7b
41 changed files with 220 additions and 156 deletions
+11
View File
@@ -846,6 +846,17 @@ Valid while Claude Code loads `~/.claude/rules/*.md` in every project, a path-sc
2026-12-04, lilleman's plan for 0.18.0, replacing the clean filter of 2026-10-21. Serves goal 2. Claude Code rewrites `"model"` in its home's `settings.json` on every `/model` and plugin install. While that home was the clone, a clean filter, `bin/settings_filter.py`, kept the model and Claude Code's key order out of every commit, and each machine ran one `git config` step to set it. The loop's home is now generated outside the clone, so Claude Code never writes the tracked file, and the filter and its step are gone. A build of the home keeps the `model` its `settings.json` holds and takes every other key from the clone. lilleman chose a model per machine over one synced in `env.ANTHROPIC_MODEL`, which would override a `/model` pick from the next session on; build-release picks each project's model in `~/.config/build-release/models.json` anyway. The effort keys, `effortLevel` and `modelSettings`, stay synced: the routing decision on a chunk's worker rung relies on the effort `settings.json` gives every interactive session. The tracked file holds no theme or status line: those are the person's, in their own `~/.claude`. `bin/repo_checks/test_settings.py` holds the tracked file to no model and sorted keys. Valid while Claude Code writes the model it picks into its home's `settings.json`.
## setup files: prose names a file of the setup as the setup's `<path>`, a project's config names one as `setup:<path>`, and the loop's Claude home links each folder so named
2026-12-04, the chunk of the plan item that asked for one spelling. Serves goals 2 and 3, and applies project principle 7. Since 0.18.0 a release is cloned anywhere but `~/.claude`, so a path into `~/.claude` sends its reader to a file that doesn't exist, or to an old checkout's stale copy.
- **Prose:** the rules, agents, skills, principles and each tool's text write the setup's `rules/todo-items.md`. `CLAUDE.md` → "Vocabulary" defines the setup once, and says to open its files in the loop's Claude home. So `bin/claude_home` links `principles/` and `bin/` there beside the files Claude Code loads, and the hook that starts a reviewer names the home's path, since a reviewer without a shell cannot learn where `XDG_DATA_HOME` puts it. A tool is still named bare.
- **Config:** `setup:<path>` is a path inside the clone whose tool reads the config, so `standards = "setup:skills/larv-review/standards"` holds on every machine.
- **The bench:** five fresh-context readers, seated as a first-time installer, a worker, a reviewer without a shell, the setup's maintainer and a consultant with three clones. Each resolved every candidate with the clone in `/opt/br`, and again with `XDG_DATA_HOME` set, then ranked them. All five ranked this prose spelling first, over the home's full path at each mention, `$CLAUDE_CONFIG_DIR/<path>` and the clone written as `~/build-release/<path>`. All five ranked `setup:` first for a config, over the home's path and the clone's path. The full path misled readers who skipped the note on `XDG_DATA_HOME`, the variable cost a shell step at each mention, and the clone's path was wrong wherever the clone lies elsewhere.
- **Left as written:** `CHANGELOG.md`, `docs/`, `todo.md` and the dated trials under `workflow-bench/` and `reviewer-merge-trials/`. `~/.claude` still names the person's own Claude home, as in goal 3 and rule-hook's `.env` rule.
`bin/repo_checks/test_setup_files_named.py` fails on a path into `~/.claude` that names a file of the setup. Valid while every claude the setup starts runs in the loop's Claude home.
## task-bench: a bench takes 5 bugs and 5 runs per side, after a 2 × 2 pilot on a new setup, and at no affordable count does a chunk-sized change rise above the noise
2026-11-22, lilleman, through todo item 503. Serves goal 1.4, since a bench of 50 runs costs hours and tens of millions of tokens, and goal 1.1, since a bench that can't tell a change from noise doesn't prove anything.
+17
View File
@@ -4078,3 +4078,20 @@ Read most (opens and searches):
- `bin/cut_release/patch.py` 3
- `CLAUDE.md` 2
- `bin/cut_release/trace.py` 2
## Reading cost, chunk 81ec393bb45c, finished 2026-12-04T03:05:01Z
305346 new input tokens before the first commit.
Read most (opens and searches):
- `README.md` 35
- `docs/decisions.md` 13
- `bin/build_release/test_black_box.py` 12
- `bin/self_update/test_self_update.py` 9
- `CLAUDE.md` 6
- `bin/build_epic/main.py` 6
- `bin/larv_review/reviewer_header.py` 6
- `bin/review_replay/replay.py` 6
- `todo.md` 6
- `bin/build-release` 5