Finish item 481 in the plan
CI / tests (pull_request) Successful in 8m33s

This commit was merged in pull request #794.
This commit is contained in:
2026-12-03 15:08:52 +01:00
parent 6c729ca629
commit 38102d5aa5
2 changed files with 3 additions and 77 deletions
+1
View File
@@ -2,6 +2,7 @@
## Unreleased
- A claude that loop-claude, do-epic or `task-bench gather` starts has the release's tools first on its `PATH`, and the rules, the skills and each tool's help and errors name a tool bare, as in `todo-item`. In your own shell, and in a claude you start from it yourself, call a tool other than `loop-claude` by its path, `~/.claude/bin/<tool>`.
- do-epic runs `chunk-pr clean` itself for a chunk whose pull request merged, finishes the chunk and closes its window, without a running slot or a worker, where it used to wait for a free slot and a worker for that.
- Make `task-bench` commit the copy it runs each side's tests in, so a project's tests that call git, such as `git ls-files`, pass the baseline instead of failing with "not a git repository".
- The review sweep before each round now also runs each builtin, flag or option a change adds with a value just outside each input range its docs state, and the product-owner reviewer flags a doc line that leaves out what that run printed.
+2 -77
View File
@@ -12,11 +12,10 @@
| ID | Release | Blocked by | Exempt | Item | L | E | I | R | S | Moves | Score |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 481 | 0.18.0 | | 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/<tool>`, name no install folder where the prose in `bin/` names another file of the release, 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 |
| 485 | 0.18.0 | 481 | owner | **Rename `loop-claude` to `build-release`, with no alias.** | 2 | 2 | 3 | 5 | 4 | 2 by 2, 6 by 2 | 0.8 |
| 485 | 0.18.0 | | owner | **Rename `loop-claude` to `build-release`, with no alias.** | 2 | 2 | 3 | 5 | 4 | 2 by 2, 6 by 2 | 0.8 |
| 484 | 0.18.0 | | owner | **Keep project configs and this machine's rules in `~/.config/build-release/`, and transcripts and review reports in `~/.local/state/build-release/`, each under its `XDG_*` variable where set, read no old place, and have rule-hook guard the new ones.** | 3 | 2 | 4 | 7 | 6 | 2 by 4 | 0.4 |
| 575 | 0.18.0 | 484, 485 | owner | **Rename `do-epic` to `build-epic`, with no alias, and its config folder with it.** | 2 | 2 | 2 | 4 | 4 | 2 by 2, 6 by 1 | 0.6 |
| 482 | 0.18.0 | 481 | owner | **Run the setup from a clone of a release by the path of its `bin/`, with no install step, and replace `deploy-release` with a command that moves that clone to the newest tag.** | 3 | 2 | 3 | 6 | 7 | 2 by 6 | 0.4 |
| 482 | 0.18.0 | | owner | **Run the setup from a clone of a release by the path of its `bin/`, with no install step, and replace `deploy-release` with a command that moves that clone to the newest tag.** | 3 | 2 | 3 | 6 | 7 | 2 by 6 | 0.4 |
| 483 | 0.18.0 | 482, 484 | owner | **Run every claude the loop starts in a Claude home that the commands generate under `~/.local/share/build-release/` and refresh when the clone's tag changes, with the enabled plugins installed there and the person signed in by `/login` in that home.** | 4 | 2 | 3 | 7 | 7 | 2 by 8 | 0.5 |
| 486 | 0.18.0 | 483, 485 | 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 |
| 577 | 0.18.0 | 483, 486, 575 | 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 |
@@ -107,80 +106,6 @@
## Details
### 481. 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/<tool>`, name no install folder where the prose in `bin/` names another file of the release, and refuse the old spelling in new prose.
Part of the standalone-install plan lilleman approved on 2026-11-20. About 50 places in `CLAUDE.md`, `rules/`, `skills/` and `agents/` name a tool by its path in `~/.claude/bin/`, and about 50 more in `bin/`, `README.md`, `settings.json`, `presentation/` and `reviewer-merge-trials/`. Keeping the tools on `PATH` only inside the loop's sessions keeps short names such as `wait-for` out of the human's shell. And prose that names no install folder works under every harness.
Where the loop puts the tools on `PATH` is not predictable: the list names each place that starts a claude. Where the refusal of the old spelling lives, a rule-hook rule or a check under `bin/repo_checks/`, is not predictable either, so the list leaves its new file out. The code holds about 50 more such paths outside those four folders, in `bin/`, `README.md`, `settings.json`, `presentation/` and `reviewer-merge-trials/`.
Item 480 moved every folder the code resolves into `bin/loop_state/paths.py` and left the prose alone. So about 40 lines of help text, prompts and docstrings in `bin/` still name a file of the release that is no tool by its place under `~/.claude`, such as `~/.claude/CLAUDE.md` and `~/.claude/rules/todo-items.md`. They go wrong once the loop runs from a clone. On 2026-12-03 lilleman put them in this item: it rewrites each so that it names no install folder. Which part of each such file changes is not predictable, so the list names the whole file.
Touches:
- `CLAUDE.md`: `## Working loop`, `## Prose` (small), `## Topic rules` (small), `## Working with the codebase`, `## Git, commits, and PRs` (small), `## Vocabulary` (small)
- `README.md`: `## Install` (small), `### Set up a project` (small), `## Tools` (small), `## Test` (small)
- `rules/todo-items.md`: `` # Todo items (`todo.md`) ``
- `skills/larv-review/SKILL.md`: `# larv-review — ship the chunk, review until clean, gate green, merge`, `## 2. Ship the branch (idempotent — skip whatever already exists)`, `## 3. Passes`, `### Release review`, `### Principles`, `### Comprehension check`, `## 4. Gate`, `## 5. Goal alignment, then merge`
- `skills/larv-review/standards/prose.md`: `# Prose` (small)
- `skills/comprehension-panel/SKILL.md`: `## The scoring run` (small), `## The paired ruling` (small)
- `agents/override-reviewer.md`: `(top)` (small)
- `agents/stability-reviewer.md`: `## First Steps` (small)
- `settings.json`: lines 30-30, lines 42-42, lines 67-67
- `bin/loop_effects/effects.py`: `StreamingClaude.__init__`, `system_effects`, `claude_on_terminal`
- `bin/loop_effects/test_effects.py`: `ClaudeOnTerminal`, `StreamingClaudeLines`
- `bin/agent_cycle/hand_over.py`: `hand_over` (small)
- `bin/agent_cycle/run.py`: `worker_environment` (small)
- `bin/agent_cycle/test_run.py`: `Cycles`
- `bin/model_routing/worker_rungs.py`: `environment` (small)
- `bin/chunk_driver/prompts.py`: `planning_launch` (small)
- `bin/chunk_driver/test_prompts.py`: `ReviewLaunches`
- `bin/chunk_preflight/facts.py`: `merge_lines` (small), `carried_lines` (small), `joining_details` (small)
- `bin/chunk_preflight/test_chunk_preflight.py`: `ChunkPreflightTool`, `Render`, `Plans`
- `bin/loop_claude/chunk/fresh_prompt.py`: `preflight_facts` (small), `preflight_failed` (small)
- `bin/rule_hook/rules.py`: `RULES`, `command_breaches` (small)
- `bin/rule_hook/endless_wait.py`: `HOW` (small)
- `bin/rule_hook/test_rule_hook.py`: `CommandBreaches`, `EnvFileRead`
- `bin/command_patterns/test_command_patterns.py`: `Pattern`
- `bin/repo_checks/test_reviewer_launches.py`: `ReviewerLaunches`
- `bin/review_rules/test_reviewer_context.py`: `Reviewers`
- `bin/metric_bench/main.py`: `main` (small)
- `bin/mutate_changes/main.py`: `(module)` (small)
- `bin/task_bench/main.py`: `(module)` (small)
- `bin/task_bench/figures/gather-prompt.md`: `(top)` (small)
- `bin/task_bench/figures/test_gather.py`: `GatherTest`
- `presentation/README.md`: `## Rebuild the PDF` (small)
- `presentation/build-pdf.py`: `main` (small)
- `reviewer-merge-trials/pair-reviewer.md`: `## First Steps` (small)
- `reviewer-merge-trials/wave3-reviewer.md`: `## First Steps` (small)
- `workflow-bench/advisor_bench.py`: `RUN_HEAVY` (small)
- `bin/agent_cycle/interrupt.py`
- `bin/agent_cycle/judge.py`
- `bin/branch_chunks/fixes.py`
- `bin/chunk_driver/project/records.py`
- `bin/chunk_pr/main.py`
- `bin/chunk_preflight/main.py`
- `bin/deploy_release/cut.py`
- `bin/deploy_release/main.py`
- `bin/deploy_release/patch.py`
- `bin/do_epic/chunk_prompt.py`
- `bin/do_epic/finish.py`
- `bin/do_epic/ranking.py`
- `bin/larv_review/main.py`
- `bin/loop_claude/loop/routing_check.py`
- `bin/loop_claude/loop/usage.py`
- `bin/plan/goals_file.py`
- `bin/plan/ranking.py`
- `bin/plan/todo_table.py`
- `bin/project_config/doubles.py`
- `bin/project_config/main.py`
- `bin/rank_todo.py`
- `bin/release_plan/next_chunk.py`
- `bin/release_plan/release_standing.py`
- `bin/review_rules/reviewer_context.py`
- `bin/score_outcomes/anchors.py`
- `bin/score_outcomes/main.py`
- `bin/subagent_rung/main.py`
### 485. Rename `loop-claude` to `build-release`, with no alias.
Part of the standalone-install plan lilleman approved on 2026-11-20, as reshaped on 2026-12-03 when 0.18.0 was planned. The loop will run harnesses other than Claude Code, so its name stops naming one. lilleman chose a hard break: the changelog names the successor, and nothing forwards from the old name.