From 47f154d9b2d391041b3e4d018708b65cccb39ffd Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Thu, 3 Dec 2026 16:52:37 +0100 Subject: [PATCH] Finish item 485 in the plan --- CHANGELOG.md | 1 + todo.md | 160 +-------------------------------------------------- 2 files changed, 4 insertions(+), 157 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d23aeb29..3c07fc0e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## Unreleased +- Renamed `loop-claude` to `build-release`, with no alias: see the first entry above. - Renamed `loop-claude` to `build-release`, with no alias. Before you update, finish your open chunks, since a chunk left open under `loop-claude` starts a fresh session, and stop every running `loop-claude`, since a loop that runs across the update can't reload and hands its workers variables the new rule-hook ignores. Then remove `~/.local/bin/loop-claude`, link the new name with `ln -s ~/.claude/bin/build-release ~/.local/bin/build-release`, and rename each `LOOP_CLAUDE_*` variable you set, in your shell profile and in your crontab, to `BUILD_RELEASE_*`, such as `BUILD_RELEASE_TRANSCRIPTS`. The folders and the file it keeps, `~/.claude/loop-claude-transcripts`, `~/.claude/loop-claude-models.json` and `~/.local/state/loop-claude`, keep their names for now. - A claude that build-release, 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 `build-release` by its path, `~/.claude/bin/`. - 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. diff --git a/todo.md b/todo.md index 2c8d1c6c..22a8d6f5 100644 --- a/todo.md +++ b/todo.md @@ -13,14 +13,13 @@ | ID | Release | Blocked by | Exempt | Item | L | E | I | R | S | Moves | Score | |---|---|---|---|---|---|---|---|---|---|---|---| | 579 | 0.17.0 | | | **Make stability-reviewer trace every path, asynchronous ones included, to a callback that a change guards.** | 1 | 2 | 2 | 3 | 1 | 1.1 by 2 | 0.7 | -| 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 | +| 575 | 0.18.0 | 484 | 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 | | 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 | +| 486 | 0.18.0 | 483 | 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 | -| 576 | 0.18.0 | 485, 575 | 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 | +| 576 | 0.18.0 | 575 | 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 | | 487 | 0.20.0 | 483 | owner | **Run larv-review's passes from a program that picks them from the diff and the item, counts rounds against the cap and decides each rerun, with each reviewer returning its findings as JSON against a schema.** | 4 | 2 | 3 | 7 | 8 | 1.1 by 5, 1.4 by 5 | 0.4 | | 498 | 0.20.0 | 487 | owner | **Drive each chunk as a state machine in `build-release`, from preflight through implementing, review, the pull request and the merge to finishing its items, with the worker as one model step that ends in a result that code checks.** | 4 | 2 | 3 | 7 | 8 | 1.1 by 4, 1.4 by 4 | 0.3 | @@ -116,159 +115,6 @@ Add to the concurrency section: where a change keeps a callback, handler or hook Touches: - `agents/stability-reviewer.md`: `### 6. Concurrency & State Management` (small) -### 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. - -Whether a mention changes here, in item 484 when it names a folder that moves, or not at all, such as the transcript paths the trials under `judge-field-trials/`, `reviewer-merge-trials/` and `stability-skip-count/` recorded, is not predictable, so the list holds every file that names `loop-claude`. The new name of the `loop_claude` package is not predictable either, so the list names its old files whole and leaves out the new ones beside the new launcher. - -Touches: - -- `bin/loop-claude` -- `bin/build-release` -- `bin/loop_claude/__init__.py` -- `bin/loop_claude/chunk/__init__.py` -- `bin/loop_claude/chunk/chunk_items.py` -- `bin/loop_claude/chunk/fresh_prompt.py` -- `bin/loop_claude/chunk/test_chunk_items.py` -- `bin/loop_claude/chunk/test_fresh_prompt.py` -- `bin/loop_claude/doubles.py` -- `bin/loop_claude/loop/__init__.py` -- `bin/loop_claude/loop/checkout.py` -- `bin/loop_claude/loop/chunk_start.py` -- `bin/loop_claude/loop/chunk_windows.py` -- `bin/loop_claude/loop/main.py` -- `bin/loop_claude/loop/reload.py` -- `bin/loop_claude/loop/routing_check.py` -- `bin/loop_claude/loop/test_chunk_start.py` -- `bin/loop_claude/loop/test_chunk_windows.py` -- `bin/loop_claude/loop/test_main.py` -- `bin/loop_claude/loop/test_routing_check.py` -- `bin/loop_claude/loop/test_usage.py` -- `bin/loop_claude/loop/usage.py` -- `bin/loop_claude/routed_item.py` -- `bin/loop_claude/test_black_box.py` -- `bin/loop_claude/test_routed_item.py` -- `.gitignore`: lines 82-85 -- `CLAUDE.md`: `## Working loop`, `## Working with the codebase`, `## Compact instructions`, `## Vocabulary` -- `README.md`: `# Claude Code configuration`, `## Install`, `### Set up a project`, `## Release`, `## Tools`, `#### Driving chunks`, `#### The plan, the records and releases`, `#### Measuring and replaying`, `#### The shell, the machine and text` -- `bin/agent_cycle/__init__.py`: `(module)` -- `bin/agent_cycle/escalation_mark.py`: `(module)` -- `bin/agent_cycle/hand_over.py`: `(module)` -- `bin/agent_cycle/judge.py`: `Reply`, `Rejected` -- `bin/agent_cycle/routing.py`: `(module)`, `Scored` -- `bin/agent_cycle/run.py`: `keep_rejection` -- `bin/agent_cycle/spend.py`: `(module)` -- `bin/agent_cycle/states.py`: `TypedAnswer` -- `bin/agent_cycle/test_interrupt.py`: `Interrupts` -- `bin/agent_cycle/test_judge.py`: `Verdict` -- `bin/agent_cycle/test_run.py`: `Cycles` -- `bin/agent_cycle/test_tmux.py`: `TmuxCommands` -- `bin/agent_cycle/test_worker.py`: `LingeringWorkers` -- `bin/agent_cycle/tmux.py`: `(module)`, `session_name`, `start_window` -- `bin/agent_cycle/worker.py`: `(module)`, `worker_args` -- `bin/agent_cycle/worker_prompts.py`: `(module)` -- `bin/chunk_driver/__init__.py`: `(module)` -- `bin/chunk_driver/chunk_run.py`: `Run` -- `bin/chunk_driver/claims.py`: `(module)`, `CLAIMS`, `HANDED`, `loop_session`, `loop_chunks` -- `bin/chunk_driver/drivers.py`: `LOOP_CLAUDE` -- `bin/chunk_driver/project/model_choice.py`: `JUDGE_MODEL`, `WORKER_MODEL`, `read_models_file` -- `bin/chunk_driver/project/test_model_choice.py`: `(module)`, `Overridden`, `ModelsOfARun`, `SavingAModel`, `ModelPrompt` -- `bin/chunk_driver/prompts.py`: `(module)`, `taken_in_launches`, `escalation`, `worker_prompts` -- `bin/chunk_driver/test_cycle_start.py`: `ProjectRouting` -- `bin/chunk_driver/this_loop.py`: `Loop` -- `bin/chunk_preflight/main.py`: `(module)` -- `bin/chunk_preflight/test_chunk_preflight.py`: `Repo`, `ChunkPreflightTool` -- `bin/claude_code/entries.py`: `LoopPrompt` -- `bin/claude_code/output_limits.py`: `(module)` -- `bin/claude_code/reply.py`: `(module)` -- `bin/claude_code/transcript.py`: `Typed`, `render` -- `bin/command_patterns/main.py`: `(module)` -- `bin/command_patterns/test_command_patterns.py`: `Main` -- `bin/compress_archives/main.py`: `(module)` -- `bin/compress_archives/test_compress_archives.py`: `Main` -- `bin/deploy_release/main.py`: `(module)` -- `bin/do_epic/chunk_prompt.py`: `(module)` -- `bin/do_epic/epic_run.py`: `real` -- `bin/do_epic/main.py`: `(module)`, `HELP`, `main`, `repoless_models` -- `bin/do_epic/scheduler.py`: `(module)`, `RepoRoom`, `refusal` -- `bin/do_epic/test_main.py`: `TheCommand`, `ACycleOfAChunkWithoutARepo`, `MODELS`, `TheHumansRun`, `AChunksRun`, `WhatAWorkerJudgeAndHumanRead` -- `bin/do_epic/test_scheduler.py`: `RoomInARepo`, `StartingAnEpicsChunks` -- `bin/judge_replay/archived_prompt.py`: `(module)`, `grounds_of` -- `bin/judge_replay/main.py`: `(module)`, `main`, `rule` -- `bin/judge_replay/test_judge_replay.py`: `(module)`, `Main`, `JudgeArchivedRuns` -- `bin/loop_effects/effects.py`: `(module)`, `system_effects` -- `bin/loop_state/__init__.py`: `(module)` -- `bin/loop_state/paths.py`: `paths_from` -- `bin/metric_bench/bench.py`: `tracked_places` -- `bin/model_routing/ladder.py`: `Rung` -- `bin/model_routing/prices.py`: `(module)` -- `bin/model_routing/route.py`: `(module)`, `route_of` -- `bin/model_routing/test_worker_rungs.py`: `Environment` -- `bin/model_routing/worker_rungs.py`: `(module)`, `PROJECT_RUNG`, `WORKER_RUNG`, `ESCAPE_AND_IMPACT`, `hands_rungs`, `handed` -- `bin/notifier/mattermost.py`: `(module)` -- `bin/notifier/notify.py`: `notify` -- `bin/notifier/slack.py`: `(module)` -- `bin/notifier/test_notifier.py`: `Notify` -- `bin/plan/goals_file.py`: `(module)` -- `bin/project_config/main.py`: `(module)` -- `bin/project_config/settings.py`: `(module)` -- `bin/rank_todo.py`: `(module)` -- `bin/reading_cost/main.py`: `(module)` -- `bin/reading_cost/test_reading_cost.py`: `ReadingCostTool` -- `bin/release_plan/next_chunk.py`: `(module)`, `merge_stop` -- `bin/release_plan/release_standing.py`: `(module)` -- `bin/release_plan/test_release_standing.py`: `AwaitingMerge` -- `bin/repo_checks/test_gitignore.py`: `PRIVATE` -- `bin/repo_checks/test_import_order.py`: `ImportOrder` -- `bin/repo_checks/test_package_cycles.py`: `DRIVERS` -- `bin/review_replay/main.py`: `(module)` -- `bin/review_replay/test_review_replay.py`: `Main` -- `bin/routing_figures/archive.py`: `(module)` -- `bin/routing_figures/calls.py`: `(module)` -- `bin/routing_figures/render.py`: `render` -- `bin/routing_figures/state.py`: `(module)` -- `bin/routing_figures/test_routing_figures.py`: `Calls` -- `bin/rule_hook/reviewer_rung.py`: `(module)`, `reviewer_breaches`, `unread`, `skill_breaches` -- `bin/rule_hook/rules.py`: `RULES` -- `bin/rule_hook/test_rule_hook.py`: `CommandBreaches`, `ReviewerRung`, `TranscriptRead` -- `bin/rung_replay/archive.py`: `(module)`, `replay_folder` -- `bin/rung_replay/command.py`: `projects_on` -- `bin/rung_replay/search.py`: `first_reply` -- `bin/score_outcomes/main.py`: `(module)`, `report_text`, `read_reversals` -- `bin/score_outcomes/reversals.py`: `(module)`, `reversal_lines` -- `bin/score_outcomes/test_score_outcomes.py`: `ReportText`, `ScoreOutcomesTool`, `Reversals` -- `bin/subagent_rung/main.py`: `(module)` -- `bin/task_bench/figures/gather.py`: `project_rung` -- `bin/task_bench/figures/test_gather.py`: `GatherTest` -- `bin/task_bench/main.py`: `(module)` -- `bin/test_env.py`: `(module)`, `isolated_env` -- `bin/text_files/compressed.py`: `(module)` -- `bin/todo_item/doubles.py`: `UNREADABLE_BULLETS` -- `bin/todo_item/test_todo_item.py`: `UnreadableTouches` -- `bin/transcript_archive/__init__.py`: `(module)` -- `bin/transcript_archive/location.py`: `archive_root` -- `bin/transcript_archive/outcomes.py`: `Annotation`, `rejected` -- `bin/transcript_archive/project_key.py`: `project_key` -- `bin/transcript_archive/test_transcript_archive.py`: `Location` -- `judge-field-trials/README.md`: `# Judge field trials`, `## Terms`, `## Results` -- `judge-field-trials/cases.py`: `ARCHIVE`, `last_run_text` -- `presentation/README.md`: `# presentation`, `## Rebuild the PDF`, `## How the pages are built`, `## Where the figures come from` -- `presentation/build-pdf.py`: `(module)`, `main` -- `presentation/index.html`: lines 1-1, lines 198-198, lines 212-212, lines 472-472, lines 481-483, lines 888-888, lines 1015-1015, lines 1026-1026, lines 1036-1036 -- `reviewer-merge-trials/README.md`: `## How to rerun` -- `reviewer-merge-trials/cases-pair.json`: lines 5-6, lines 16-17, lines 27-28, lines 38-39, lines 49-50, lines 60-61 -- `reviewer-merge-trials/cases-release.json`: lines 5-6, lines 12-13, lines 19-20, lines 26-27, lines 33-34 -- `reviewer-merge-trials/cases-wave3.json`: lines 5-7, lines 18-20, lines 31-33, lines 44-46, lines 57-59, lines 70-72 -- `reviewer-merge-trials/collect.py`: `root`, `models` -- `rules/todo-items.md`: `` # Todo items (`todo.md`) `` -- `skills/comprehension-panel/seat-prompts.md`: `# The comprehension seats' prompts`, `## claude-config's values` -- `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` -- `stability-skip-count/README.md`: `# Stability skip count` -- `stability-skip-count/count.py`: `ARCHIVE`, `main` -- `workflow-bench/advisor_bench.py`: `(module)` -- `workflow-bench/handoff_bench.py`: `(module)` - ### 484. 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. Part of the standalone-install plan lilleman approved on 2026-11-20, as reshaped on 2026-12-03 when 0.18.0 was planned. Today they live in `~/.claude-projects/`, `~/.claude/*-transcripts`, `~/.claude/loop-claude-models.json` and `~/.local/state/larv-review`. `rules/goals-and-audience.md` loads by the glob `**/.claude-projects/*/goals.md`, which moves with the folder. The release ships no migrate command and reads no old place: the only two machines move once, after the cut, by a throwaway script that is never committed. From the first release that reads project configs from `~/.config/build-release/`, rule-hook must read each `env-file` from those configs and refuse a read of it, as it does today from the old folder.