diff --git a/docs/decisions.md b/docs/decisions.md index 582cd1e4..ac7d5306 100644 --- a/docs/decisions.md +++ b/docs/decisions.md @@ -282,6 +282,12 @@ Only the stability pass was replayed, since the archive's long Bash results are Valid while Claude Code saves a Bash result over the ceiling to a file and hands the model its path. +## loop: a step whose result a program can check, or whose trigger is a condition, moves from prose into `do-release`'s code, and the model keeps each step that needs the meaning of what it reads, returning output that code checks + +2026-11-20, lilleman, in the session that planned the standalone install. Serves goals 1.1 and 1.4, and applies project principle 4 to the flow of a chunk. Prose that tells an agent to run a step leaves the agent to remember it, in order, every time, and rule-hook then guards a flow nobody owns. `todo.md` items 487 and 498 move larv-review's passes and the chunk's lifecycle into `do-release`, and item 488 cuts the prose they replace. A model step stays coarse, such as implementing an item, since many small calls each reread the context and raise reading cost. + +Valid while tokens, 🔴 and 🟡 findings and interrupts per chunk don't rise against the chunks before the change; `todo.md` item 497 measures it. + ## machine load: a heavy command waits for one of the machine's heavy slots, one for every 4 CPUs, which every session shares, and loop-claude starts a worker only while at least a quarter of the machine's memory is available 2026-10-23, lilleman. Serves goal 1.5. On 2026-10-22 ai-sandbox, with 8 CPUs and 16 GiB, thrashed for hours: four to six loops ran mutation tests, full gates, `docker build`s and QEMU-booting e2e tests at once, and nothing told one loop how busy the machine was. lilleman chose both limits; no standard sets either, and GNU parallel's `--memfree`, which does the memory wait's job, has no default. A slot is a file lock, so a session that dies frees its slot. The memory wait reads `/proc/meminfo` only, and off Linux a worker starts at once. `bin/machine_load/` holds the slots and the memory share, `bin/run-heavy` takes a slot, `CLAUDE.md` → "Working with the codebase" has every session use it, and loop-claude's worker waits for the share. rule-hook's rule `run-heavy` blocks a `docker build`, and a run of a mutation tool stability-reviewer names, outside run-heavy, in the forms its `checked` text in `bin/rule_hook/rules.py` lists. 2026-11-16, lilleman: rule-hook checks a run through `uv run`, `poetry run`, `sudo` and `doas` too, such as `uv run mutmut run` and `sudo docker build`, since project principle 4 has a program enforce a rule it can check. The 2026-11-04 note had let such forms pass until one became a problem. No program can tell a gate script from a light one, so only `CLAUDE.md` asks a session to run a gate under run-heavy. Valid while one machine runs several loops at once. diff --git a/todo.md b/todo.md index 2578f06f..b8284d62 100644 --- a/todo.md +++ b/todo.md @@ -18,7 +18,7 @@ | 477 | 0.16.0 | | question | **Rewrite `## Goals` and `## Audience` for a setup others install and run apart from their own `~/.claude`.** | 1 | 1 | 2 | 2 | 2 | | 0.0 | | 478 | 0.16.0 | | question | **Name the project, its repo and its two commands, today proposed as `do-release` and `do-epic`.** | 1 | 1 | 2 | 2 | 1 | | 0.0 | | 479 | 0.16.0 | | owner | **Record in a decision which of `CLAUDE.md`, path-scoped rules, agents, skills, hooks and plugins Claude Code loads from a `CLAUDE_CONFIG_DIR` home, whether a long-lived token logs in there, and where its transcripts and model catalogue land.** | 1 | 2 | 1 | 2 | 3 | 1.6 by 4 | 1.3 | -| 480 | 0.17.0 | | owner | **Resolve every path the tools use, the release root, the config folder, the state folder and the Claude home, in one module, so no Python file names `~/.claude` and the loop still runs from there.** | 3 | 2 | 3 | 6 | 6 | 1.6 by 3, code health by 3 | 2.4 | +| 480 | 0.17.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 | 2.4 | | 481 | 0.17.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, code health by 2 | 1.6 | | 482 | 0.18.0 | 478, 479, 481 | owner | **Install the setup with `uv tool install` from a release tag, with `do-release` and `do-epic` on `PATH`, and replace `deploy-release` with `do-release self-update`.** | 3 | 2 | 3 | 6 | 7 | 1.6 by 4, 1.3 by 3 | 1.3 | | 485 | 0.18.0 | 478, 482 | owner | **Rename `loop-claude` to `do-release`, and keep `loop-claude` as an alias that warns, for one release.** | 2 | 2 | 3 | 5 | 4 | 1.3 by 2 | 2.1 | @@ -26,16 +26,16 @@ | 486 | 0.18.0 | 483 | owner | **Open an interactive claude in the loop's home with `do-release claude`, for a manual `/larv-review` or a talk with the setup loaded.** | 2 | 1 | 1 | 2 | 3 | 1.6 by 2 | 0.7 | | 484 | 0.18.0 | 482 | owner | **Keep project configs, this machine's rules, transcripts and review reports in `~/.config/do-release/` and `~/.local/state/do-release/`, move them there with `do-release migrate`, and have rule-hook guard the new places.** | 3 | 2 | 4 | 7 | 6 | 1.6 by 3 | 0.4 | | 487 | 0.19.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.5 | -| 498 | 0.19.0 | 487 | owner | **Drive each chunk as a state machine in `do-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 code checks.** | 4 | 2 | 3 | 7 | 8 | 1.1 by 4, 1.4 by 4 | 0.4 | -| 488 | 0.19.0 | 498 | owner | **Cut the larv-review skill, `CLAUDE.md` and rule-hook down to what the program doesn't own: the judgement the model makes and the safety guards.** | 2 | 2 | 3 | 5 | 5 | 1.4 by 4, code health by 2 | 2.8 | -| 489 | 0.20.0 | 498 | owner | **Run every model step through a harness interface, a headless run, a one-shot reply, an interactive run, resume and a transcript reader, each harness declaring what it supports, with Claude Code as its first adapter.** | 4 | 2 | 3 | 7 | 8 | 1.3 by 4, code health by 3 | 1.3 | +| 498 | 0.19.0 | 487 | owner | **Drive each chunk as a state machine in `do-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.4 | +| 488 | 0.19.0 | 498 | owner | **Cut the larv-review skill, `CLAUDE.md` and rule-hook down to what `do-release` doesn't own: the judgement the model makes and the safety guards.** | 2 | 2 | 3 | 5 | 5 | 1.4 by 4, code health by 2 | 2.8 | +| 489 | 0.20.0 | 498 | owner | **Run every model step through a harness interface whose operations are a headless run, a one-shot reply, an interactive run, resume and reading a transcript, with each harness declaring what it supports and Claude Code as the first adapter.** | 4 | 2 | 3 | 7 | 8 | 1.3 by 4, code health by 3 | 1.3 | | 492 | 0.20.0 | 489 | owner | **Refuse to run a harness without pre-tool hooks in a project that sets an `env-file`, unless it runs in a sandbox that cannot read that file.** | 3 | 2 | 4 | 7 | 5 | 4 by 5 | 3.9 | -| 491 | 0.20.0 | 489 | owner | **Keep the shipped instructions, rules, standards, principles and reviewer briefs free of harness detail, and have each adapter render its own form, such as Claude Code's agent frontmatter, skills and settings.** | 3 | 2 | 3 | 6 | 7 | 1.3 by 3 | 0.9 | -| 493 | 0.20.0 | 491 | owner | **Add a second harness adapter and run one chunk of this repo on it end to end.** | 3 | 2 | 2 | 5 | 7 | 1.4 by 3, 1.3 by 2 | 0.9 | +| 491 | 0.20.0 | 489 | owner | **Move the harness detail out of the shipped instructions, rules, standards, principles and reviewer briefs, and have each adapter render its own form, such as Claude Code's agent frontmatter, skills and settings.** | 3 | 2 | 3 | 6 | 7 | 1.3 by 3 | 0.9 | | 490 | 0.20.0 | 489 | owner | **Name a harness on each rung of the routing ladder, as `{"harness": "claude-code", "model": …, "effort": …}`, so the worker, the judge and each reviewer pick a harness as they pick a model.** | 3 | 2 | 3 | 6 | 5 | 1.4 by 3 | 0.6 | +| 493 | 0.20.0 | 490, 491 | owner | **Add a second harness adapter and run one chunk of this repo on it end to end.** | 3 | 2 | 2 | 5 | 7 | 1.4 by 3, 1.3 by 2 | 0.9 | | 495 | 0.21.0 | | owner | **Fail the gate where shipped content names a person, a client, a private host or a private URL.** | 2 | 1 | 3 | 4 | 3 | 4 by 5 | 6.2 | -| 497 | 0.21.0 | 498 | owner | **Compare the first 10 chunks the program drove with the 10 before them on tokens, 🔴 and 🟡 findings and interrupts per chunk, and revert what got worse.** | 1 | 2 | 1 | 2 | 3 | 1.1 by 3, 1.4 by 3 | 2.1 | -| 496 | 0.21.0 | 478, 491 | owner | **Rename the repo, and the names that still say Claude where they mean any harness, such as `CLAUDE.md`, by the names the project chose.** | 3 | 2 | 3 | 6 | 6 | code health by 2 | 1.3 | +| 497 | 0.21.0 | 498 | decision | **Compare the first 10 chunks `do-release`'s state machine drove with the 10 before them on tokens, 🔴 and 🟡 findings and interrupts per chunk, and move back to prose each step whose figures got worse.** | 1 | 2 | 1 | 2 | 3 | 1.1 by 3, 1.4 by 3 | 2.1 | +| 496 | 0.21.0 | 478, 491 | owner | **Rename the repo to the name item 478 picks, and rename what says Claude where it means any harness, such as `CLAUDE.md`.** | 3 | 2 | 3 | 6 | 6 | code health by 2 | 1.3 | | 494 | 0.21.0 | 477, 483 | owner | **Let a newcomer install, log in and run a first project from the README alone, with an example config, and test a fresh install in a container in the gate.** | 2 | 2 | 2 | 4 | 5 | 1.6 by 4 | 0.8 | | 446 | 0.22.0 | | question | **Kill the process a stuck check names where its verdict is `stuck`, once the human says the recorded verdicts match what they would have done.** | 2 | 2 | 3 | 5 | 3 | 1.5 by 3 | 1.0 | | 462 | 0.22.0 | | | **Run under `mutate-changes` the tests that today fail in mutmut's copy of the tree, so a mutant of a line only they cover is killed.** | 2 | 1 | 2 | 3 | 3 | code health by 3 | 4.7 | @@ -170,91 +170,91 @@ Touches: ### 477. Rewrite `## Goals` and `## Audience` for a setup others install and run apart from their own `~/.claude`. -Part of the plan to install this setup apart from `~/.claude`, as do-release, which lilleman approved on 2026-11-20. Goal 2, "Make my claude setup shareable between computers", and an audience of lilleman alone no longer fit. The goals and the audience are the human's to write; propose a wording and ask. +Part of the standalone-install plan lilleman approved on 2026-11-20. `do-release` and `do-epic` stand for the names item 478 picks. Goal 2, "Make my claude setup shareable between computers", and an audience of lilleman, with client teams as readers of what the loop writes, no longer fit. The goals and the audience are the human's to write; propose a wording and ask. ### 478. Name the project, its repo and its two commands, today proposed as `do-release` and `do-epic`. -Part of the plan to install this setup apart from `~/.claude`, as do-release, which lilleman approved on 2026-11-20. The names set the install folders, such as `~/.config/do-release/`, so every item from 0.18.0 on waits for them. +Part of the standalone-install plan lilleman approved on 2026-11-20. Later items say `do-release` and `do-epic` for the names this item picks. The names set the install folders, such as `~/.config/do-release/`, so items 482, 485 and 496, and every item they block, wait for them. ### 479. Record in a decision which of `CLAUDE.md`, path-scoped rules, agents, skills, hooks and plugins Claude Code loads from a `CLAUDE_CONFIG_DIR` home, whether a long-lived token logs in there, and where its transcripts and model catalogue land. -Part of the plan to install this setup apart from `~/.claude`, as do-release, which lilleman approved on 2026-11-20. The plan runs every claude the loop starts in a home of its own, so the human's `~/.claude` stays theirs. This test decides whether that holds, or whether the loop loads the setup with `--plugin-dir`, `--settings` and `--append-system-prompt-file` instead. Run it on a throwaway home, never the human's. +Part of the standalone-install plan lilleman approved on 2026-11-20. `do-release` and `do-epic` stand for the names item 478 picks. The plan runs every claude the loop starts in a Claude home of its own, so the human's `~/.claude` stays theirs. Find out by testing on a throwaway home, never the human's. The result decides whether the loop gets a home of its own, or loads the setup with `--plugin-dir`, `--settings` and `--append-system-prompt-file` instead. -### 480. Resolve every path the tools use, the release root, the config folder, the state folder and the Claude home, in one module, so no Python file names `~/.claude` and the loop still runs from there. +### 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`. -Part of the plan to install this setup apart from `~/.claude`, as do-release, which lilleman approved on 2026-11-20. Today about 160 references in some 40 modules name `~/.claude`; `bin/loop_state/paths.py` holds a few. Find the release root from the running code's own path. No behaviour changes in this release. +Part of the standalone-install plan lilleman approved on 2026-11-20. `do-release` and `do-epic` stand for the names item 478 picks. Today about 160 references in some 40 modules name `~/.claude`; `bin/loop_state/paths.py` holds a few. This item changes no behaviour. ### 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/`, and refuse the old spelling in new prose. -Part of the plan to install this setup apart from `~/.claude`, as do-release, which lilleman approved on 2026-11-20. About 70 places in `CLAUDE.md`, `rules/`, `skills/` and `agents/` name a tool by its path in `~/.claude/bin/`. On `PATH` only inside the loop's sessions, short names such as `wait-for` don't clutter the human's shell, and the prose stops naming an install folder, which every harness needs. +Part of the standalone-install plan lilleman approved on 2026-11-20. `do-release` and `do-epic` stand for the names item 478 picks. About 70 places in `CLAUDE.md`, `rules/`, `skills/` and `agents/` name a tool by its path in `~/.claude/bin/`. 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. ### 482. Install the setup with `uv tool install` from a release tag, with `do-release` and `do-epic` on `PATH`, and replace `deploy-release` with `do-release self-update`. -Part of the plan to install this setup apart from `~/.claude`, as do-release, which lilleman approved on 2026-11-20. Add a `pyproject.toml` that ships the Markdown as package data. Install into a versioned folder, such as `~/.local/share/do-release/versions/` with a `current` link, so an update swaps one link. +Part of the standalone-install plan lilleman approved on 2026-11-20. `do-release` and `do-epic` stand for the names item 478 picks. Add a `pyproject.toml` that ships the Markdown as package data. `uv tool install` keeps each tool in an environment of its own, so `do-release self-update` reinstalls it from the newest tag, and reinstalling an older tag rolls it back. ### 485. Rename `loop-claude` to `do-release`, and keep `loop-claude` as an alias that warns, for one release. -Part of the plan to install this setup apart from `~/.claude`, as do-release, which lilleman approved on 2026-11-20. The loop will run other harnesses than Claude Code, so its name stops naming one. +Part of the standalone-install plan lilleman approved on 2026-11-20. `do-release` and `do-epic` stand for the names item 478 picks. The loop will run harnesses other than Claude Code, so its name stops naming one. ### 483. Run every claude the loop starts in a Claude home the install generates from the release, with hooks that point into it and `do-release login` to sign in there, so the human's `~/.claude` stays theirs. -Part of the plan to install this setup apart from `~/.claude`, as do-release, which lilleman approved on 2026-11-20. The home holds `CLAUDE.md`, `rules/`, `agents/`, `skills/` and a generated `settings.json`, unless the decision from item 479 picks the plugin route. The human's theme, status line and `/model` stay in their own `~/.claude`. This repo develops itself through the loop, so merge only after one chunk of this repo has run end to end from the new install, and keep the old layout working until then. +Part of the standalone-install plan lilleman approved on 2026-11-20. `do-release` and `do-epic` stand for the names item 478 picks. The home holds `CLAUDE.md`, `rules/`, `agents/`, `skills/` and a generated `settings.json`, unless item 479's decision loads the setup by flags instead. The human's theme, status line and `/model` stay in their own `~/.claude`. This repo develops itself through the loop, so merge only after one chunk of this repo has run end to end from the new install, and keep the old layout working until then. ### 486. Open an interactive claude in the loop's home with `do-release claude`, for a manual `/larv-review` or a talk with the setup loaded. -Part of the plan to install this setup apart from `~/.claude`, as do-release, which lilleman approved on 2026-11-20. Once the loop has its own home, the human's own claude no longer loads this setup or its rule-hook; this command is how they opt in. Say in the README that only the loop's sessions and this command get rule-hook's guards. +Part of the standalone-install plan lilleman approved on 2026-11-20. `do-release` and `do-epic` stand for the names item 478 picks. Once the loop has its own home, the human's own claude no longer loads this setup or its rule-hook; this command is how they opt in. Say in the README that only the loop's sessions and this command get rule-hook's guards. ### 484. Keep project configs, this machine's rules, transcripts and review reports in `~/.config/do-release/` and `~/.local/state/do-release/`, move them there with `do-release migrate`, and have rule-hook guard the new places. -Part of the plan to install this setup apart from `~/.claude`, as do-release, which lilleman approved on 2026-11-20. Today they live in `~/.claude-projects/`, `~/.claude/rules/this-machine/`, `~/.claude/*-transcripts` and `~/.local/state/larv-review`. Read the old places for one release, warning on each read. rule-hook must refuse a read of an `env-file` at its new path from the first release that reads it there. +Part of the standalone-install plan lilleman approved on 2026-11-20. `do-release` and `do-epic` stand for the names item 478 picks. Today they live in `~/.claude-projects/`, `~/.claude/rules/this-machine/`, `~/.claude/*-transcripts` and `~/.local/state/larv-review`. Read the old places for one release, warning on each read. From the first release that reads project configs from `~/.config/do-release/`, rule-hook must read each `env-file` from those configs and refuse a read of it. ### 487. 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. -Part of the plan to install this setup apart from `~/.claude`, as do-release, which lilleman approved on 2026-11-20. lilleman's call on 2026-11-20: code owns the flow, and the model owns judgement. A step whose result a program can check, or whose trigger is a condition, is code's; a step that needs the meaning of what it reads is the model's, and returns output code checks. The reviewer briefs stay prose. Start here, since larv-review holds the most sequencing rules. +Part of the standalone-install plan lilleman approved on 2026-11-20. `do-release` and `do-epic` stand for the names item 478 picks. It applies the decision `loop: a step whose result a program can check …` in `docs/decisions.md`. The reviewer briefs stay prose. Start here, since larv-review holds the most sequencing rules. -### 498. Drive each chunk as a state machine in `do-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 code checks. +### 498. Drive each chunk as a state machine in `do-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. -Part of the plan to install this setup apart from `~/.claude`, as do-release, which lilleman approved on 2026-11-20. Keep the worker's step coarse, such as "implement this item in this worktree": many small model calls each reread the context, which raises reading cost, goal 1.4's counter-signal. +Part of the standalone-install plan lilleman approved on 2026-11-20. `do-release` and `do-epic` stand for the names item 478 picks. Keep the worker's step coarse, such as "implement this item in this worktree": many small model calls each reread the context, which raises reading cost, goal 1.4's counter-signal. -### 488. Cut the larv-review skill, `CLAUDE.md` and rule-hook down to what the program doesn't own: the judgement the model makes and the safety guards. +### 488. Cut the larv-review skill, `CLAUDE.md` and rule-hook down to what `do-release` doesn't own: the judgement the model makes and the safety guards. -Part of the plan to install this setup apart from `~/.claude`, as do-release, which lilleman approved on 2026-11-20. The skill becomes a thin call of the program, so `/larv-review` still works by hand. rule-hook keeps its guards on secrets, destructive commands and writes outside the worktree, and drops the checks of step order the program now owns. +Part of the standalone-install plan lilleman approved on 2026-11-20. `do-release` and `do-epic` stand for the names item 478 picks. The skill becomes a thin call of the program, so `/larv-review` still works by hand. rule-hook keeps its guards on secrets, destructive commands and writes outside the worktree, and drops the checks of step order the program now owns. -### 489. Run every model step through a harness interface, a headless run, a one-shot reply, an interactive run, resume and a transcript reader, each harness declaring what it supports, with Claude Code as its first adapter. +### 489. Run every model step through a harness interface whose operations are a headless run, a one-shot reply, an interactive run, resume and reading a transcript, with each harness declaring what it supports and Claude Code as the first adapter. -Part of the plan to install this setup apart from `~/.claude`, as do-release, which lilleman approved on 2026-11-20. The `claude_code` package and the calls of `claude` in `bin/loop_effects/effects.py` move behind it. Capabilities to declare: subagents on their own model, pre-tool hooks, skills and path-scoped rules. +Part of the standalone-install plan lilleman approved on 2026-11-20. `do-release` and `do-epic` stand for the names item 478 picks. The `claude_code` package and the calls of `claude` in `bin/loop_effects/effects.py` move behind it. Capabilities to declare: subagents on their own model, pre-tool hooks, skills and path-scoped rules. ### 492. Refuse to run a harness without pre-tool hooks in a project that sets an `env-file`, unless it runs in a sandbox that cannot read that file. -Part of the plan to install this setup apart from `~/.claude`, as do-release, which lilleman approved on 2026-11-20. Without hooks rule-hook can't stop a worker reading the project's credentials, which breaks goal 4. +Part of the standalone-install plan lilleman approved on 2026-11-20. `do-release` and `do-epic` stand for the names item 478 picks. Without hooks rule-hook can't stop a worker reading the project's credentials, which breaks goal 4. -### 491. Keep the shipped instructions, rules, standards, principles and reviewer briefs free of harness detail, and have each adapter render its own form, such as Claude Code's agent frontmatter, skills and settings. +### 491. Move the harness detail out of the shipped instructions, rules, standards, principles and reviewer briefs, and have each adapter render its own form, such as Claude Code's agent frontmatter, skills and settings. -Part of the plan to install this setup apart from `~/.claude`, as do-release, which lilleman approved on 2026-11-20. rule-hook's rules stay harness-neutral too, and each adapter translates its harness's hook payload into them. - -### 493. Add a second harness adapter and run one chunk of this repo on it end to end. - -Part of the plan to install this setup apart from `~/.claude`, as do-release, which lilleman approved on 2026-11-20. Compare candidates on what they support and what a chunk costs before choosing; putting the harness on a rung of the ladder is the human's call. +Part of the standalone-install plan lilleman approved on 2026-11-20. `do-release` and `do-epic` stand for the names item 478 picks. rule-hook's rules stay harness-neutral too, and each adapter translates its harness's hook payload into them. ### 490. Name a harness on each rung of the routing ladder, as `{"harness": "claude-code", "model": …, "effort": …}`, so the worker, the judge and each reviewer pick a harness as they pick a model. -Part of the plan to install this setup apart from `~/.claude`, as do-release, which lilleman approved on 2026-11-20. A rung without a harness reads as `claude-code`, so today's ladders keep working. A change to a ladder's rungs is the human's, so this item changes only the file's shape. +Part of the standalone-install plan lilleman approved on 2026-11-20. `do-release` and `do-epic` stand for the names item 478 picks. A rung without a harness reads as `claude-code`, so today's ladders keep working. A change to a ladder's rungs is the human's, so this item changes only the file's shape. + +### 493. Add a second harness adapter and run one chunk of this repo on it end to end. + +Part of the standalone-install plan lilleman approved on 2026-11-20. `do-release` and `do-epic` stand for the names item 478 picks. Compare candidates on what they support and what a chunk costs before choosing; putting the harness on a rung of the ladder is the human's call. ### 495. Fail the gate where shipped content names a person, a client, a private host or a private URL. -Part of the plan to install this setup apart from `~/.claude`, as do-release, which lilleman approved on 2026-11-20. Shipped content is what the install copies: instructions, rules, agents, skills, standards and principles. `CLAUDE.md` names lilleman today. +Part of the standalone-install plan lilleman approved on 2026-11-20. `do-release` and `do-epic` stand for the names item 478 picks. Shipped content is what the install copies: instructions, rules, agents, skills, standards and principles. `CLAUDE.md` names lilleman today. -### 497. Compare the first 10 chunks the program drove with the 10 before them on tokens, 🔴 and 🟡 findings and interrupts per chunk, and revert what got worse. +### 497. Compare the first 10 chunks `do-release`'s state machine drove with the 10 before them on tokens, 🔴 and 🟡 findings and interrupts per chunk, and move back to prose each step whose figures got worse. -Part of the plan to install this setup apart from `~/.claude`, as do-release, which lilleman approved on 2026-11-20. This checks lilleman's call of 2026-11-20 that code owns the flow, against the signals goals 1, 1.1 and 1.4 already name. +Part of the standalone-install plan lilleman approved on 2026-11-20. `do-release` and `do-epic` stand for the names item 478 picks. This checks the decision `loop: a step whose result a program can check …` in `docs/decisions.md` against the signals goals 1, 1.1 and 1.4 already name. -### 496. Rename the repo, and the names that still say Claude where they mean any harness, such as `CLAUDE.md`, by the names the project chose. +### 496. Rename the repo to the name item 478 picks, and rename what says Claude where it means any harness, such as `CLAUDE.md`. -Part of the plan to install this setup apart from `~/.claude`, as do-release, which lilleman approved on 2026-11-20. Moving the repo changes every clone's remote; say so in the release's changelog. +Part of the standalone-install plan lilleman approved on 2026-11-20. `do-release` and `do-epic` stand for the names item 478 picks. Moving the repo changes every clone's remote; say so in the release's changelog. ### 494. Let a newcomer install, log in and run a first project from the README alone, with an example config, and test a fresh install in a container in the gate. -Part of the plan to install this setup apart from `~/.claude`, as do-release, which lilleman approved on 2026-11-20. Check that LICENSE.md fits a public release. +Part of the standalone-install plan lilleman approved on 2026-11-20. `do-release` and `do-epic` stand for the names item 478 picks. Check that LICENSE.md fits a public release. ### 446. Kill the process a stuck check names where its verdict is `stuck`, once the human says the recorded verdicts match what they would have done. @@ -322,7 +322,7 @@ Releases are the human's, and `CLAUDE.md` → "Working loop" already ends the lo ### 499. Stop `todo-item add` and `edit` from waiting on a stdin that stays open without data, so a call without a heredoc ends at once. -On 2026-11-20 `todo-item edit 488 --blocked-by 498`, run from the Bash tool without a heredoc, waited 19 minutes on 0 seconds of CPU: its stdin was the harness's socket, which never closed, and `piped()` in `bin/todo_item/main.py` read it to refuse stray detail text. The same call with `` commit already removed, so a merge resolution cannot bring a finished item back. @@ -698,7 +698,7 @@ The README line covers the bench's transcripts in `workflow-bench/logs/` too (go ### 397. Script each step that the chunks of releases 0.10.0 to 0.22.0 repeated by hand and a program can compute, filing one item per step, and file this audit again for the next release. -lilleman asked, on 2026-10-16, for a standing audit each release, so the loop keeps moving work a program does as well from the model to scripts (goals 1.4 and 1.5). This audit reads the archived transcripts of the chunks that shipped releases 0.10.0 to 0.14.0 for every step that chunks repeated by hand, before, during or after review. It keeps the steps whose answer a program computes the same way each time, such as a lookup, a check, a prompt assembled for a reviewer, a cleanup. File one item per such step, with the time and tokens it cost, into the next release with items left. Leave a step that needs judgement with the model. Run `command-patterns ` first for each of 0.10.0 to 0.14.0; each run's table is the audit's starting point. `read_threads` and `calls` in `bin/command_patterns/tally.py` open the calls of one pattern, or `command-patterns --calls ` dumps them all as JSON lines. The 0.7.0 audit found that most steps its chunks repeated were already scripted by that release's own tools, so a step a shipped item already covers is not filed. +lilleman asked, on 2026-10-16, for a standing audit each release, so the loop keeps moving work a program does as well from the model to scripts (goals 1.4 and 1.5). This audit reads the archived transcripts of the chunks that shipped releases 0.10.0 to 0.22.0 for every step that chunks repeated by hand, before, during or after review. It keeps the steps whose answer a program computes the same way each time, such as a lookup, a check, a prompt assembled for a reviewer, a cleanup. File one item per such step, with the time and tokens it cost, into the next release with items left. Leave a step that needs judgement with the model. Run `command-patterns ` first for each of 0.10.0 to 0.22.0; each run's table is the audit's starting point. `read_threads` and `calls` in `bin/command_patterns/tally.py` open the calls of one pattern, or `command-patterns --calls ` dumps them all as JSON lines. The 0.7.0 audit found that most steps its chunks repeated were already scripted by that release's own tools, so a step a shipped item already covers is not filed. A pattern's call count is a poor guide: most of the 0.9.0 calls were reading and hand edits, which stay with the model. Cluster the calls by their command text with numbers and paths normalised away, then check each cluster against the tools in `~/.claude/bin` before filing.