From adb99dbb2d573d1ce3646f95a2d07c8f1a9c3e49 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Fri, 4 Dec 2026 07:56:42 +0100 Subject: [PATCH] File items 586 and 587 from item 577's review --- todo.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/todo.md b/todo.md index 20076481..fb479a0b 100644 --- a/todo.md +++ b/todo.md @@ -6,7 +6,7 @@ `Bar = 0.1` -`Next ID = 586` +`Next ID = 588` ## Items @@ -14,6 +14,7 @@ |---|---|---|---|---|---|---|---|---|---|---|---| | 577 | 0.18.0 | | 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.** | 4 | 2 | 3 | 7 | 7 | 3 by 9, 2 by 5 | 3.1 | | 578 | 0.18.0 | 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 | +| 586 | 0.19.0 | | | **Keep the person's own skills, agents and commands out of the loop's Claude home where `HOME` names the home folder through a symlink.** | 2 | 3 | 2 | 5 | 3 | 3 by 4 | 5.0 | | 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 | | 580 | 0.19.0 | | | **Call no scoring run for a release already cut whose last item the chunk moved to a later release.** | 2 | 2 | 3 | 5 | 3 | 1.4 by 3, 1.5 by 3 | 1.6 | | 487 | 0.20.0 | | 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 | @@ -93,6 +94,7 @@ | 551 | 0.23.0 | | | **Run each mutation tool of `mutate-changes` in the folder that holds its module file, so a repo with `go.mod` below the top gets its Go lines mutated.** | 2 | 1 | 2 | 3 | 3 | 1.1 by 2 | 0.6 | | 447 | 0.23.0 | | | **Stop a headless claude call that runs past a time limit, and report it as a failure, so a hung judge or stuck check can't hold the loop.** | 2 | 2 | 2 | 4 | 3 | 1.5 by 2 | 0.5 | | 367 | 0.23.0 | | | **Check that every write to a Jira plan leaves it ranked, as rule-hook's `todo-rank-check` checks `todo.md` today.** | 2 | 2 | 3 | 5 | 3 | 1.6 by 2 | 0.5 | +| 587 | 0.23.0 | | | **Add a mutation tool for sh.** | 3 | 2 | 1 | 4 | 4 | 1.1 by 2 | 0.5 | | 520 | 0.23.0 | | | **Mutate the shell lines a branch changes in `mutate-changes`, so a change to a shell script gets the same check as one in Python, Go or PHP.** | 3 | 2 | 2 | 5 | 5 | 1.1 by 2 | 0.4 | | 423 | 0.23.0 | | | **Skip the judge's model call on a worker's final message that the offline classifier decides is finished.** | 3 | 3 | 3 | 7 | 5 | 1.4 by 2 | 0.3 | | 197 | 0.23.0 | | | **Let the human edit what they type at build-release's terminal questions with the arrow keys, so Left moves the cursor in place of printing `^[[D`.** | 2 | 2 | 3 | 5 | 2 | 1.5 by 1 | 0.3 | @@ -131,6 +133,15 @@ Touches: - `README.md` +### 586. Keep the person's own skills, agents and commands out of the loop's Claude home where `HOME` names the home folder through a symlink. + +Item 577's stability review probed Claude Code 2.1.336 in a throwaway config home: with `HOME` set to a symlink to the home folder, a skill, an agent and a command under the person's `.claude` reached the request; with `HOME` as the real path none did. `claudeMdExcludes` kept `CLAUDE.md` and the rules out both ways. The probe ran outside a checkout, so first repeat it in a project, in `first-chunk-e2e/first_chunk.py`'s container. Where it holds, have `bin/claude_home` or `bin/loop_effects` name the home folder by its real path, and exclude both spellings of the person's Claude home. Record the probe under docs/decisions.md → `Claude Code in a home of its own`. + +Touches: +- `bin/loop_effects/effects.py`: `system_effects` (small) +- `bin/claude_home/home.py`: `settings_written` (small) +- `first-chunk-e2e/first_chunk.py` + ### 585. Give this repo an `AGENTS.md` like any project, and drop the decision and the rule that say it keeps none. Answer to question item 584: the decision "deploy: this repo keeps no `AGENTS.md`, since `~/.claude` is its checkout" lost its reason with item 483. A release is a clone anywhere, and the loop's Claude home links only `CLAUDE.md`, `rules/`, `agents/` and `skills/`, so an `AGENTS.md` here no longer loads into another project's session. Without the reason, the special case only costs: each rule that names a project's `AGENTS.md` needs a second reading for this repo. The loop took the recommended option, as "Ask, don't guess" allows for a choice the goals don't reserve; the human unmarks or drops this item to reverse it. @@ -729,6 +740,10 @@ Touches: One of 0.13.0's history ports, per lilleman's call of 2026-11-12. +### 587. Add a mutation tool for sh. + +`mutate-changes` printed for item 577's chunk: "Not mutated, as no tool covers their language", naming two files of sh code, `ci.sh` and `first-chunk-e2e/run`. Candidate tool: universalmutator, whose regex rules apply to any language; the chunk checks that it handles POSIX sh and pins the version it verified, or picks another published tool and says why. Both files run only in the gate, so a mutant is killed where `ci.sh` or the first-chunk run fails on it. + ### 520. Mutate the shell lines a branch changes in `mutate-changes`, so a change to a shell script gets the same check as one in Python, Go or PHP. Ten client chunks in one day changed only shell scripts. Each found that `mutate-changes` prints "Not mutated, as no tool covers their language" for `.sh` files. Each stability reviewer then mutated lines by hand: 10 to 26 mutants per chunk, judged by eye, with a different operator set each time.