From acfed42cb2a1f227d7152dd7199529e0168a6863 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Thu, 1 Oct 2026 21:35:45 +0200 Subject: [PATCH 1/5] Order the plan by the goals, group it into chunks and reword it --- todo.md | 68 ++++++++++++++++++++++++++++++++------------------------- 1 file changed, 38 insertions(+), 30 deletions(-) diff --git a/todo.md b/todo.md index a07e8c5a..a979c786 100644 --- a/todo.md +++ b/todo.md @@ -6,36 +6,44 @@ The sketches, the judges' verdicts and what to take from each: `~/code/claude-handoffs/claude-config_2026-09-28.md`. -- **Carry main's #155 into `grounded()`: match the judge's quote with markdown emphasis and whitespace ignored.** The judge drops a bold line's closing `**` when quoting it; `rebuild` still rejects that, so merging it into main would bring back loops stopping on a correct verdict. -- **Score `rebuild` with the four-seat panel at 7.0 or above on every dimension and the overall, none below the last run, and open its PR into main for the human.** ⚠️ Leave that PR ready and unmerged: only the human merges it, after approving the whole rebuild. A dimension under the floor gets its places filed above this item. The PR deletes main's `AGENTS.md` paragraph on a rebuild chunk's larv-review, which only main holds. +- **Match the judge's quote in `grounded()` with markdown emphasis and whitespace ignored, as main's #155 does.** The judge drops a bold line's closing `**` when it quotes the line. `rebuild` rejects such a quote, so merging `rebuild` into main would bring back loops that stop on a correct verdict. +- **Score `rebuild` with the four-seat panel, and open its PR into main for the human.** Every dimension and the overall must reach 7.0, and none may fall below the last run. A dimension under the floor gets its places filed above this item. ⚠️ Leave the PR ready and unmerged: only the human merges it, after approving the whole rebuild. The PR deletes main's `AGENTS.md` paragraph on a rebuild chunk's larv-review, which only main holds. ## 0.2.0 -- **Sort `bin/`'s imports on their first binding, and say in `principles/technical-principles.md` → "Deterministic order" how case sorts and which groups Python has.** Today they sort by path, so a module move reorders unchanged lines; "host packages" names no Python group. -- **Name CLI flags and exit codes among larv-review's external contracts, or record that they do not fire the architecture pass.** A prose pass found the product-owner row names the CLI and the architecture row does not. -- **Show the judge's reply when `loop-claude` rejects its verdict.** Its stdout is discarded, so a judge that failed three times running leaves nothing to diagnose. -- **Back up `loop-claude`'s transcript archive to a destination other than this repo's remote.** -- **Make the contributor a standing member of every project's audience, dropped only where `## Audience` says maintainability does not matter.** `CLAUDE.md`'s premises rule states it; larv-review's comprehension floor names the contributor as the reader it serves, so the floor gates every chunk while the contributor stands and a project that drops them skips it. -- **Give `docs/decisions.md`'s comprehension-floor and vocabulary entries a premise that has not already expired, with the floor's rule first and its runs' scores as a table, and give the rebuild entry's warning placement its own heading and index line.** A prose pass found both "Valid until the next scoring run" outlived by three runs. -- **Move larv-review's reasons for `/security-review` and for the premises chunk's review into `docs/decisions.md`.** A prose pass found rejected alternatives at the rule. -- **Cut `comprehension-panel`'s run history and the restated description, `systems-architect.md`'s "one home" line, and split its Reasonability Review steps 4 and 5.** A prose pass found them carrying nothing the instructions need. -- **Keep `outcome.Failure`'s docstring to what a failure is, without naming `retried`.** A value type naming its consumer. -- **Give a 🟡 shown factually wrong the 🔴's way out in `review-findings.md`.** Today it can only be fixed, declined on a goal, or filed. -- **Say in `AGENTS.md` that only the rebuild's last chunk opens `rebuild`'s PR into main.** Today it reads as every chunk doing so. -- **Have larv-review's prose pass fix only what the chunk touched, and file the rest per `CLAUDE.md` → "Working loop".** Its fixes land "in this chunk", cited sections and the sweep run when the architecture pass ran included. The 2026-09-30 bench's costliest rebuild runs sprawled outside the chunk: deleted README facts, 13 mypy rounds where main took 6–7 for the same fixes. On 35b, rebuild's one clear win took 6–11 agents to main's 8–16. `~/code/claude-handoffs/claude-config/2026-09-30/bench/comparison.md` -- **Give principles-auditor and prose-reviewer a way to list the project's files.** Their `tools: Read, Grep, Glob` left only Read in the 2026-09-30 audit run, so each read what imports and `.gitignore` named and said which files it could not reach. -- **Judge a cycle on more than the transcript's last 40,000 characters.** `judge.py:80` cuts the session, which spans every cycle of the chunk, so a decision made early in a long run is never judged and the human is not interrupted for it (goal 4). -- **Name `jq` and GNU `date` under README → Install, or drop them from `statusline.sh`.** Without `jq` the status line aborts; under BSD `date` the reset times vanish, so CHANGELOG's "runs on any machine unedited" is false. -- **Inject `loop-claude`'s side effects: `time.sleep`, `subprocess`, `input()`, `isatty` and `os.execv`, and split `project_model` and `interrupt` into decisions and effects.** Functional core, imperative shell; the loop's flow has no tests because nothing reaches it without the effects. -- **Test `run_cycle`, `judge_through_interrupts`, `retried`, `archive`, `trust`, `interrupt`, the models file and the worker's arguments.** Only the pure helpers are tested today. -- **Give a project's loop state named states and one transition function.** Fresh, resuming, awaiting the human and finished come today from whether a transcript exists, two verdict booleans and an open `while True` in `steps.py`. -- **Make a `Verdict` with both `interrupt` and `finished`, or a question without an interrupt, unrepresentable.** `steps.py:49` ignores `finished` when `interrupt` is set. -- **Return a `Stop` when `git` or `os.execv` fails.** `checkout.py:7,15` and `reload.py:52` end in a traceback. -- **Narrow `.gitignore`'s `!bin/*` and `skills/*/**` to the files they mean.** A stray log of `loop-claude` output in `bin/` would be committed with transcript text in it. -- **Archive the transcript as each cycle ends, so a failed exit or Ctrl-C loses nothing.** Today only an interrupt or a finish archives, against goal 2. -- **Key a project on its checkout's full path — its session, archive folder and models entry — and refuse to start while another session on that id is active.** `checkout.py:22` drops the leading `/`, so `~/code/a` and `/a` share a session, an archive folder and a models entry, and one loop can resume or delete the other's session. -- **Move what `loop-claude` writes out of `~/.claude.json`, and bring each case that must stay to the human.** Claude Code owns and writes that file, and `trust`'s read-modify-write loses a write landing in its window. -- **Have `loop-claude` write one stats line per finished chunk, in one file at the root of the transcript archive.** The line names the project, the commit the chunk started from and the archived transcript's hash. It holds the worker's tokens from the transcript, the judge's from its JSON output, and the chunk's cycles and interrupts, which the loop counts. -- **End larv-review with a machine-readable summary, and have `loop-claude` copy it from the transcript onto the chunk's stats line.** Agents launched and rounds per pass; findings per pass by severity, inside the chunk's diff and outside it; and the comprehension scores when the panel ran. -- **Write a `workflow-review` skill that reads the stats and files each change it proposes to the workflow as a plan item, and have `AGENTS.md` run it on the chunk shipping a release's last item.** The workflow is `CLAUDE.md`, `principles/`, the skills, the agents and `loop-claude`. The skill's signals: findings outside the chunk's diff and comprehension scores per release, both from the stats; fixes after merge, from git; and the human's corrections, from the archived transcripts. -- **Bench about one chunk in ten: redo it under an open PR that changes the workflow, from the commit it started from, and have a claude blind to which run is which rule which outcome better serves this repo's goal 4.** `loop-claude` picks the chunk at random, small diffs and big ones alike; with no such PR open, no bench runs. The same outcome with less code and prose, in the chunk or in the workflow, also counts as better. The PR merges only once three benches rule it better. A bench that rules it worse closes the PR and records, in `docs/workflow-learnings.md`, what the PR changed and why it lost. The ruling and both runs' numbers go on the chunk's stats line. Start from the 2026-09-30 bench's scripts: `~/code/claude-handoffs/claude-config/2026-09-30/bench/`. +Items are ordered by the goal they serve, highest first. + +- **Name `jq` and GNU `date` under README → Install, or stop `statusline.sh` needing them.** Without `jq` the status line aborts. Under BSD `date` the reset times vanish. Either way CHANGELOG's "runs on any machine unedited" is false. Goal 1. +- **Back up `loop-claude`'s transcript archive to a place other than this repo's remote.** The stats file sits in the archive, so the backup covers it too. Goal 2. +- **Archive the transcript as each cycle ends.** Today only an interrupt or a finished chunk archives it, so a failed exit or Ctrl-C loses the transcript. Goal 2. +- **Key a project on its checkout's full path, and refuse to start while another session uses that key.** The key names the project's session, archive folder and models entry. `checkout.py:22` drops the leading `/`, so `~/code/a` and `/a` share all three, and one loop can resume or delete the other's session. Goal 2. +- **Narrow `.gitignore`'s `!bin/*` and `skills/*/**` to the files they mean.** Today a stray log of `loop-claude` output in `bin/` would be committed, transcript text included. Goal 3. +- **Give principles-auditor and prose-reviewer a way to list the project's files.** In the 2026-09-30 audit run their `tools: Read, Grep, Glob` gave them only Read. Each read the files that imports and `.gitignore` named, and listed the files it could not reach. Goal 4.1. +- **Make `loop-claude`'s loop a tested state machine inside an injected shell.** Goal 4.1. + - Inject the side effects: `time.sleep`, `subprocess`, `input()`, `isatty` and `os.execv`. Split `project_model` and `interrupt` into decisions and effects. + - Give a project's loop state named states and one transition function. Today fresh, resuming, awaiting the human and finished come from whether a transcript exists, two verdict booleans and an open `while True` in `steps.py`. + - Make a `Verdict` with both `interrupt` and `finished`, or with a question and no interrupt, unrepresentable. `steps.py:49` ignores `finished` when `interrupt` is set. + - Test `run_cycle`, `judge_through_interrupts`, `retried`, `archive`, `trust`, `interrupt`, the models file and the worker's arguments. Only the pure helpers are tested today, because nothing reaches the loop's flow without the effects. +- **Move what `loop-claude` writes out of `~/.claude.json`, and bring each case that must stay to the human.** Claude Code owns that file and writes it. `trust` reads it, changes it and writes it back, so a write that lands in between is lost. Goal 4.1. +- **Give `loop-claude`'s two unexplained failures a message.** Goal 4.1. + - Show the judge's reply when its verdict is rejected. Its stdout is discarded today, so a judge that failed three times running leaves nothing to diagnose. + - Return a `Stop` when `git` or `os.execv` fails. `checkout.py:7,15` and `reload.py:52` end in a traceback today. +- **Give larv-review a rule for the two cases reviews found it silent on.** Goal 4.1. + - CLI flags and exit codes: name them among the external contracts that fire the architecture pass, or record that they do not. The product-owner row names the CLI; the architecture row does not. + - A 🟡 shown factually wrong: give it the 🔴's way out in `review-findings.md`. Today it can only be fixed, declined on a goal, or filed. +- **Remove what the rebuild's merge made stale.** The ⚠️ paragraphs in `AGENTS.md` and `todo.md`, and each decision valid "until the rebuild merges". Goal 4.1. +- **Settle the prose findings filed against the workflow's own documents.** Goal 4.1. + - `docs/decisions.md`: give the comprehension-floor and vocabulary entries a premise that has not expired. Both say "Valid until the next scoring run", and three runs have passed. Put the floor's rule first and its runs' scores in a table. + - larv-review: move its reasons for `/security-review` and for the premises chunk's review into `docs/decisions.md`. They are rejected alternatives, which the decision log holds. + - `comprehension-panel`: cut the run history and the restated description. + - `systems-architect.md`: cut the "one home" line, and split Reasonability Review steps 4 and 5. + - `outcome.Failure`'s docstring: say what a failure is, without naming `retried`. A value type does not name its consumer. +- **Make the contributor a standing member of every project's audience.** A project drops them only where its `## Audience` says maintainability does not matter. `CLAUDE.md`'s goals-and-audience rule states it, and larv-review's comprehension floor names the contributor as the reader it serves. The floor then gates every chunk while the contributor stands, and a project that drops them skips it. Goal 4.1. +- **Judge a cycle on more than the transcript's last 40,000 characters.** `judge.py:80` cuts the transcript there. The session spans every cycle of the chunk, so a decision made early in a long run is never judged, and the human is not interrupted for it. Larger chunks make runs longer. Goal 4.2. +- **Sort `bin/`'s imports on their first binding, and say in `principles/technical-principles.md` → "Deterministic order" how case sorts and which groups Python has.** Today they sort by path, so moving a module reorders unchanged lines. "Host packages" names no Python group. Goal 4.3. +- **Have larv-review's prose pass fix only what the chunk touched, and file the rest per `CLAUDE.md` → "Working loop".** Today its fixes land "in this chunk", including cited sections and the sweep that runs with the architecture pass. In the 2026-09-30 bench, rebuild's costliest runs sprawled outside the chunk: one deleted README facts, and one took 13 mypy rounds where main took 6–7 for the same fixes. On 35b, rebuild's one clear win took 6–11 agents to main's 8–16. `~/code/claude-handoffs/claude-config/2026-09-30/bench/comparison.md` Goal 4.4. +- **Record each finished chunk's cost and review numbers on one stats line.** Goal 4.4. + - `loop-claude` writes the line to one file at the root of the transcript archive. The line names the project, the commit the chunk started from and the archived transcript's hash. It holds the worker's tokens from the transcript, the judge's from its JSON output, and the chunk's cycles and interrupts, which the loop counts. + - larv-review ends with a machine-readable summary, and `loop-claude` copies it from the transcript onto the line: agents launched and rounds per pass; findings per pass by severity, inside the chunk's diff and outside it; and the comprehension scores when the panel ran. +- **Write a `workflow-review` skill that reads the stats and files each change it proposes to the workflow as a plan item, and have `AGENTS.md` run it on the chunk shipping a release's last item.** The workflow is `CLAUDE.md`, `principles/`, the skills, the agents and `loop-claude`. The skill's signals: findings outside the chunk's diff and comprehension scores per release, both from the stats; fixes after merge, from git; and the human's corrections, from the archived transcripts. Goal 4.4. +- **Bench about one chunk in ten: redo it under an open PR that changes the workflow, from the commit it started from, and have a claude blind to which run is which rule which outcome better serves this repo's goal 4.** `loop-claude` picks the chunk at random, small diffs and big ones alike; with no such PR open, no bench runs. The same outcome with less code and prose, in the chunk or in the workflow, also counts as better. The PR merges only once three benches rule it better. A bench that rules it worse closes the PR and records, in `docs/workflow-learnings.md`, what the PR changed and why it lost. The ruling and both runs' numbers go on the chunk's stats line. Start from the 2026-09-30 bench's scripts: `~/code/claude-handoffs/claude-config/2026-09-30/bench/`. Goal 4.4. -- 2.52.0 From b443035977caabe49fb4beab2b128b20b75f3424 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Thu, 1 Oct 2026 21:41:51 +0200 Subject: [PATCH 2/5] Answer the plan review's first round --- todo.md | 36 +++++++++++++++++------------------- 1 file changed, 17 insertions(+), 19 deletions(-) diff --git a/todo.md b/todo.md index a979c786..01cd0f73 100644 --- a/todo.md +++ b/todo.md @@ -7,43 +7,41 @@ The sketches, the judges' verdicts and what to take from each: `~/code/claude-handoffs/claude-config_2026-09-28.md`. - **Match the judge's quote in `grounded()` with markdown emphasis and whitespace ignored, as main's #155 does.** The judge drops a bold line's closing `**` when it quotes the line. `rebuild` rejects such a quote, so merging `rebuild` into main would bring back loops that stop on a correct verdict. -- **Score `rebuild` with the four-seat panel, and open its PR into main for the human.** Every dimension and the overall must reach 7.0, and none may fall below the last run. A dimension under the floor gets its places filed above this item. ⚠️ Leave the PR ready and unmerged: only the human merges it, after approving the whole rebuild. The PR deletes main's `AGENTS.md` paragraph on a rebuild chunk's larv-review, which only main holds. +- **Bring `rebuild` to the comprehension floor on the four-seat panel, and open its PR into main for the human.** Every dimension and the overall must reach 7.0, and none may fall below the last run. A dimension under the floor gets its places filed above this item. ⚠️ Leave the PR ready and unmerged: only the human merges it, after approving the whole rebuild. The PR deletes main's `AGENTS.md` paragraph on a rebuild chunk's larv-review, which only main holds. ## 0.2.0 -Items are ordered by the goal they serve, highest first. - - **Name `jq` and GNU `date` under README → Install, or stop `statusline.sh` needing them.** Without `jq` the status line aborts. Under BSD `date` the reset times vanish. Either way CHANGELOG's "runs on any machine unedited" is false. Goal 1. -- **Back up `loop-claude`'s transcript archive to a place other than this repo's remote.** The stats file sits in the archive, so the backup covers it too. Goal 2. +- **Back up `loop-claude`'s transcript archive to a place other than this repo's remote.** Goal 2. - **Archive the transcript as each cycle ends.** Today only an interrupt or a finished chunk archives it, so a failed exit or Ctrl-C loses the transcript. Goal 2. -- **Key a project on its checkout's full path, and refuse to start while another session uses that key.** The key names the project's session, archive folder and models entry. `checkout.py:22` drops the leading `/`, so `~/code/a` and `/a` share all three, and one loop can resume or delete the other's session. Goal 2. - **Narrow `.gitignore`'s `!bin/*` and `skills/*/**` to the files they mean.** Today a stray log of `loop-claude` output in `bin/` would be committed, transcript text included. Goal 3. +- **Key a project on its checkout's full path, and refuse to start while another session uses that key.** The key names the project's session, archive folder and models entry. `checkout.py:22` drops the leading `/`, so `~/code/a` and `/a` share all three, and one loop can resume or delete the other's session. Goal 4.1. - **Give principles-auditor and prose-reviewer a way to list the project's files.** In the 2026-09-30 audit run their `tools: Read, Grep, Glob` gave them only Read. Each read the files that imports and `.gitignore` named, and listed the files it could not reach. Goal 4.1. -- **Make `loop-claude`'s loop a tested state machine inside an injected shell.** Goal 4.1. +- **Make `loop-claude`'s loop a tested state machine with its side effects injected.** Functional core, imperative shell. Goal 4.1. - Inject the side effects: `time.sleep`, `subprocess`, `input()`, `isatty` and `os.execv`. Split `project_model` and `interrupt` into decisions and effects. - Give a project's loop state named states and one transition function. Today fresh, resuming, awaiting the human and finished come from whether a transcript exists, two verdict booleans and an open `while True` in `steps.py`. - - Make a `Verdict` with both `interrupt` and `finished`, or with a question and no interrupt, unrepresentable. `steps.py:49` ignores `finished` when `interrupt` is set. + - Make two `Verdict`s unrepresentable: one with both `interrupt` and `finished`, and one with a question and no interrupt. `steps.py:49` ignores `finished` when `interrupt` is set. - Test `run_cycle`, `judge_through_interrupts`, `retried`, `archive`, `trust`, `interrupt`, the models file and the worker's arguments. Only the pure helpers are tested today, because nothing reaches the loop's flow without the effects. -- **Move what `loop-claude` writes out of `~/.claude.json`, and bring each case that must stay to the human.** Claude Code owns that file and writes it. `trust` reads it, changes it and writes it back, so a write that lands in between is lost. Goal 4.1. -- **Give `loop-claude`'s two unexplained failures a message.** Goal 4.1. +- **Move what `loop-claude` writes out of `~/.claude.json`, and ask the human about each write that must stay.** Claude Code owns that file and writes it. `trust` reads it, changes it and writes it back, so a write that lands in between is lost. Goal 4.1. +- **Give the `loop-claude` failures that explain nothing a message.** Goal 4.1. - Show the judge's reply when its verdict is rejected. Its stdout is discarded today, so a judge that failed three times running leaves nothing to diagnose. - Return a `Stop` when `git` or `os.execv` fails. `checkout.py:7,15` and `reload.py:52` end in a traceback today. -- **Give larv-review a rule for the two cases reviews found it silent on.** Goal 4.1. +- **Give larv-review a rule for the two cases it is silent on.** Goal 4.1. - CLI flags and exit codes: name them among the external contracts that fire the architecture pass, or record that they do not. The product-owner row names the CLI; the architecture row does not. - A 🟡 shown factually wrong: give it the 🔴's way out in `review-findings.md`. Today it can only be fixed, declined on a goal, or filed. - **Remove what the rebuild's merge made stale.** The ⚠️ paragraphs in `AGENTS.md` and `todo.md`, and each decision valid "until the rebuild merges". Goal 4.1. -- **Settle the prose findings filed against the workflow's own documents.** Goal 4.1. +- **Settle the prose findings earlier reviews filed.** Goal 4.1. - `docs/decisions.md`: give the comprehension-floor and vocabulary entries a premise that has not expired. Both say "Valid until the next scoring run", and three runs have passed. Put the floor's rule first and its runs' scores in a table. - larv-review: move its reasons for `/security-review` and for the premises chunk's review into `docs/decisions.md`. They are rejected alternatives, which the decision log holds. - - `comprehension-panel`: cut the run history and the restated description. - - `systems-architect.md`: cut the "one home" line, and split Reasonability Review steps 4 and 5. + - `comprehension-panel`: cut the run history and the restated description. They carry nothing the instructions need. + - `systems-architect.md`: cut the "one home" line, and break Reasonability Review's steps 4 and 5 into shorter points each. - `outcome.Failure`'s docstring: say what a failure is, without naming `retried`. A value type does not name its consumer. -- **Make the contributor a standing member of every project's audience.** A project drops them only where its `## Audience` says maintainability does not matter. `CLAUDE.md`'s goals-and-audience rule states it, and larv-review's comprehension floor names the contributor as the reader it serves. The floor then gates every chunk while the contributor stands, and a project that drops them skips it. Goal 4.1. +- **Make the contributor a standing member of every project's audience.** A project drops them only where its `## Audience` says maintainability does not matter. State that in `CLAUDE.md`'s goals-and-audience rule, and have larv-review's comprehension floor name the contributor as the reader it serves. The floor then gates every chunk while the contributor stands, and a project that drops them skips it. Goal 4.1. +- **Sort `bin/`'s imports on their first binding, and say in `principles/technical-principles.md` → "Deterministic order" how case sorts and which groups Python has.** Today they sort by path, so moving a module reorders unchanged lines. The principle's "host packages" names no Python group. Goal 4.1. - **Judge a cycle on more than the transcript's last 40,000 characters.** `judge.py:80` cuts the transcript there. The session spans every cycle of the chunk, so a decision made early in a long run is never judged, and the human is not interrupted for it. Larger chunks make runs longer. Goal 4.2. -- **Sort `bin/`'s imports on their first binding, and say in `principles/technical-principles.md` → "Deterministic order" how case sorts and which groups Python has.** Today they sort by path, so moving a module reorders unchanged lines. "Host packages" names no Python group. Goal 4.3. -- **Have larv-review's prose pass fix only what the chunk touched, and file the rest per `CLAUDE.md` → "Working loop".** Today its fixes land "in this chunk", including cited sections and the sweep that runs with the architecture pass. In the 2026-09-30 bench, rebuild's costliest runs sprawled outside the chunk: one deleted README facts, and one took 13 mypy rounds where main took 6–7 for the same fixes. On 35b, rebuild's one clear win took 6–11 agents to main's 8–16. `~/code/claude-handoffs/claude-config/2026-09-30/bench/comparison.md` Goal 4.4. +- **Have larv-review's prose pass fix only what the chunk touched, and file the rest per `CLAUDE.md` → "Working loop".** Today its fixes land "in this chunk", including cited sections and the sweep that runs with the architecture pass. In the 2026-09-30 bench, rebuild's costliest runs sprawled outside the chunk: one deleted README facts, and one took 13 rounds on the mypy case where main took 6–7 for the same fixes. Source: `~/code/claude-handoffs/claude-config/2026-09-30/bench/comparison.md`. Goal 4.4. - **Record each finished chunk's cost and review numbers on one stats line.** Goal 4.4. - - `loop-claude` writes the line to one file at the root of the transcript archive. The line names the project, the commit the chunk started from and the archived transcript's hash. It holds the worker's tokens from the transcript, the judge's from its JSON output, and the chunk's cycles and interrupts, which the loop counts. - - larv-review ends with a machine-readable summary, and `loop-claude` copies it from the transcript onto the line: agents launched and rounds per pass; findings per pass by severity, inside the chunk's diff and outside it; and the comprehension scores when the panel ran. + - Have `loop-claude` write the line to one file at the root of the transcript archive. The line names the project, the commit the chunk started from and the archived transcript's hash. It holds the worker's tokens from the transcript, the judge's from its JSON output, and the chunk's cycles and interrupts, which the loop counts. + - End larv-review with a machine-readable summary, and have `loop-claude` copy it from the transcript onto the line: agents launched and rounds per pass; findings per pass by severity, inside the chunk's diff and outside it; and the comprehension scores when the panel ran. - **Write a `workflow-review` skill that reads the stats and files each change it proposes to the workflow as a plan item, and have `AGENTS.md` run it on the chunk shipping a release's last item.** The workflow is `CLAUDE.md`, `principles/`, the skills, the agents and `loop-claude`. The skill's signals: findings outside the chunk's diff and comprehension scores per release, both from the stats; fixes after merge, from git; and the human's corrections, from the archived transcripts. Goal 4.4. -- **Bench about one chunk in ten: redo it under an open PR that changes the workflow, from the commit it started from, and have a claude blind to which run is which rule which outcome better serves this repo's goal 4.** `loop-claude` picks the chunk at random, small diffs and big ones alike; with no such PR open, no bench runs. The same outcome with less code and prose, in the chunk or in the workflow, also counts as better. The PR merges only once three benches rule it better. A bench that rules it worse closes the PR and records, in `docs/workflow-learnings.md`, what the PR changed and why it lost. The ruling and both runs' numbers go on the chunk's stats line. Start from the 2026-09-30 bench's scripts: `~/code/claude-handoffs/claude-config/2026-09-30/bench/`. Goal 4.4. +- **Bench about one chunk in ten against an open PR that changes the workflow, and have a blind claude rule which run better serves this repo's goal 4.** Redo the chunk under the PR, from the commit it started from. The ruling claude is not told which run is which. `loop-claude` picks the chunk at random, small diffs and big ones alike; with no such PR open, no bench runs. The same outcome with less code and prose, in the chunk or in the workflow, also counts as better. The PR merges only once three benches rule it better. A bench that rules it worse closes the PR and records, in `docs/workflow-learnings.md`, what the PR changed and why it lost. The ruling and both runs' numbers go on the chunk's stats line. Start from the 2026-09-30 bench's scripts: `~/code/claude-handoffs/claude-config/2026-09-30/bench/`. Needs the stats line. Goals 4.1 and 4.4. -- 2.52.0 From 1dac14801e3482ce31368f5bcb5d5ea00822ab09 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Thu, 1 Oct 2026 21:44:41 +0200 Subject: [PATCH 3/5] Bundle the tiny items, and drop the backup item --- CLAUDE.md | 2 +- docs/decisions.md | 2 +- todo.md | 22 ++++++++++------------ 3 files changed, 12 insertions(+), 14 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index c4e5729a..63aaed30 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -11,7 +11,7 @@ How work proceeds in any repo, unless the repo's `AGENTS.md` says otherwise. The - **When the next release has no items and no work has landed towards it, plan it as this chunk.** Weigh the unscheduled items against the goals, put them in order, and get the human's approval before writing any code. - **When the next release has no items left and work has landed towards it, it is finished: stop.** Report what it holds and that it is ready to cut. Under `/loop`, this ends the loop. Until the human cuts it, only a security fix lands, into that release; never start a later release's items or plan a new one. - **Open every chunk with one line:** the last version cut, what is unreleased (`CHANGELOG.md` → `## Unreleased`, or else the log since the last tag), and the release this chunk ships into. A repo that publishes nothing says so once. -- **Work one chunk at a time, and make it as large as one purpose allows.** Every review has a fixed cost, so a chunk takes the next plan item plus every other item for which three things hold: one PR title states what they achieve together, without listing them; they sit under one release; and they fire the same review passes (`larv-review` §3). Split a milestone into items in `todo.md` before starting it. Fix a finding in the chunk's own change within the chunk. File a finding about anything else in `todo.md`, under a release. +- **Work one chunk at a time, and make it as large as one purpose allows.** Every review has a fixed cost, so a chunk takes the next plan item plus every other item for which three things hold: one PR title states what they achieve together, without listing them; they sit under one release; and they fire the same review passes (`larv-review` §3). Tiny items, a few lines of change each, need no shared purpose: bundle five to ten from one release into one chunk. Split a milestone into items in `todo.md` before starting it. Fix a finding in the chunk's own change within the chunk. File a finding about anything else in `todo.md`, under a release. - **Ask, don't guess.** First check whether the goals already answer the question. If they nearly do, propose a change to the goals and show how it answers this case: an answer settles one question, a goal settles every question like it. Write every answer once, where it belongs, never only in chat: a goal in `README.md`, a working rule in `AGENTS.md`, a standing choice in `docs/decisions.md`. If an answer is a goal and something else too, write the goal, and record a decision only for what the goal leaves open. - **Ship every chunk with `/larv-review`.** - **Remove a finished item from `todo.md`; keep its release heading until the version is cut.** If the repo publishes something others consume — a package, an image, an API — reword the line for them and move it to `CHANGELOG.md` under `## Unreleased`. A changelog is for the public, never for the next agent. Otherwise delete the line; git history is the record. diff --git a/docs/decisions.md b/docs/decisions.md index bf2465ca..1db05974 100644 --- a/docs/decisions.md +++ b/docs/decisions.md @@ -118,4 +118,4 @@ ## chunk: as large as one purpose allows -2026-10-01, lilleman. Serves goal 4.4. Every review has a fixed cost: each reviewer reloads the rules and the files around the change. Purpose caps a chunk, never a line count. Valid until the stats or a bench show that larger chunks lower what reviews catch. +2026-10-01, lilleman. Serves goal 4.4. Every review has a fixed cost: each reviewer reloads the rules and the files around the change. Purpose caps a chunk, never a line count. Tiny items are the exception: five to ten, a few lines each, share one chunk whatever their purposes, since the review's fixed cost dwarfs them. Valid until the stats or a bench show that larger chunks lower what reviews catch. diff --git a/todo.md b/todo.md index 01cd0f73..9f2a39a3 100644 --- a/todo.md +++ b/todo.md @@ -11,10 +11,14 @@ The sketches, the judges' verdicts and what to take from each: `~/code/claude-ha ## 0.2.0 -- **Name `jq` and GNU `date` under README → Install, or stop `statusline.sh` needing them.** Without `jq` the status line aborts. Under BSD `date` the reset times vanish. Either way CHANGELOG's "runs on any machine unedited" is false. Goal 1. -- **Back up `loop-claude`'s transcript archive to a place other than this repo's remote.** Goal 2. +- **Make the small fixes filed against `bin/`, the README and `.gitignore`.** Each is a few lines, so they share one chunk. Goals 1, 3 and 4.1. + - Name `jq` and GNU `date` under README → Install, or stop `statusline.sh` needing them. Without `jq` the status line aborts. Under BSD `date` the reset times vanish. Either way CHANGELOG's "runs on any machine unedited" is false. + - Narrow `.gitignore`'s `!bin/*` and `skills/*/**` to the files they mean. Today a stray log of `loop-claude` output in `bin/` would be committed, transcript text included. + - Sort `bin/`'s imports on their first binding, and say in `principles/technical-principles.md` → "Deterministic order" how case sorts and which groups Python has. Today they sort by path, so moving a module reorders unchanged lines. The principle's "host packages" names no Python group. + - Show the judge's reply when its verdict is rejected. Its stdout is discarded today, so a judge that failed three times running leaves nothing to diagnose. + - Return a `Stop` when `git` or `os.execv` fails. `checkout.py:7,15` and `reload.py:52` end in a traceback today. + - `outcome.Failure`'s docstring: say what a failure is, without naming `retried`. A value type does not name its consumer. - **Archive the transcript as each cycle ends.** Today only an interrupt or a finished chunk archives it, so a failed exit or Ctrl-C loses the transcript. Goal 2. -- **Narrow `.gitignore`'s `!bin/*` and `skills/*/**` to the files they mean.** Today a stray log of `loop-claude` output in `bin/` would be committed, transcript text included. Goal 3. - **Key a project on its checkout's full path, and refuse to start while another session uses that key.** The key names the project's session, archive folder and models entry. `checkout.py:22` drops the leading `/`, so `~/code/a` and `/a` share all three, and one loop can resume or delete the other's session. Goal 4.1. - **Give principles-auditor and prose-reviewer a way to list the project's files.** In the 2026-09-30 audit run their `tools: Read, Grep, Glob` gave them only Read. Each read the files that imports and `.gitignore` named, and listed the files it could not reach. Goal 4.1. - **Make `loop-claude`'s loop a tested state machine with its side effects injected.** Functional core, imperative shell. Goal 4.1. @@ -23,21 +27,15 @@ The sketches, the judges' verdicts and what to take from each: `~/code/claude-ha - Make two `Verdict`s unrepresentable: one with both `interrupt` and `finished`, and one with a question and no interrupt. `steps.py:49` ignores `finished` when `interrupt` is set. - Test `run_cycle`, `judge_through_interrupts`, `retried`, `archive`, `trust`, `interrupt`, the models file and the worker's arguments. Only the pure helpers are tested today, because nothing reaches the loop's flow without the effects. - **Move what `loop-claude` writes out of `~/.claude.json`, and ask the human about each write that must stay.** Claude Code owns that file and writes it. `trust` reads it, changes it and writes it back, so a write that lands in between is lost. Goal 4.1. -- **Give the `loop-claude` failures that explain nothing a message.** Goal 4.1. - - Show the judge's reply when its verdict is rejected. Its stdout is discarded today, so a judge that failed three times running leaves nothing to diagnose. - - Return a `Stop` when `git` or `os.execv` fails. `checkout.py:7,15` and `reload.py:52` end in a traceback today. -- **Give larv-review a rule for the two cases it is silent on.** Goal 4.1. +- **Make the small fixes filed against the workflow's documents.** Each is a few lines, so they share one chunk. Goal 4.1. - CLI flags and exit codes: name them among the external contracts that fire the architecture pass, or record that they do not. The product-owner row names the CLI; the architecture row does not. - A 🟡 shown factually wrong: give it the 🔴's way out in `review-findings.md`. Today it can only be fixed, declined on a goal, or filed. -- **Remove what the rebuild's merge made stale.** The ⚠️ paragraphs in `AGENTS.md` and `todo.md`, and each decision valid "until the rebuild merges". Goal 4.1. -- **Settle the prose findings earlier reviews filed.** Goal 4.1. + - Remove what the rebuild's merge made stale. The ⚠️ paragraphs in `AGENTS.md` and `todo.md`, and each decision valid "until the rebuild merges". - `docs/decisions.md`: give the comprehension-floor and vocabulary entries a premise that has not expired. Both say "Valid until the next scoring run", and three runs have passed. Put the floor's rule first and its runs' scores in a table. - larv-review: move its reasons for `/security-review` and for the premises chunk's review into `docs/decisions.md`. They are rejected alternatives, which the decision log holds. - `comprehension-panel`: cut the run history and the restated description. They carry nothing the instructions need. - `systems-architect.md`: cut the "one home" line, and break Reasonability Review's steps 4 and 5 into shorter points each. - - `outcome.Failure`'s docstring: say what a failure is, without naming `retried`. A value type does not name its consumer. -- **Make the contributor a standing member of every project's audience.** A project drops them only where its `## Audience` says maintainability does not matter. State that in `CLAUDE.md`'s goals-and-audience rule, and have larv-review's comprehension floor name the contributor as the reader it serves. The floor then gates every chunk while the contributor stands, and a project that drops them skips it. Goal 4.1. -- **Sort `bin/`'s imports on their first binding, and say in `principles/technical-principles.md` → "Deterministic order" how case sorts and which groups Python has.** Today they sort by path, so moving a module reorders unchanged lines. The principle's "host packages" names no Python group. Goal 4.1. + - Make the contributor a standing member of every project's audience. A project drops them only where its `## Audience` says maintainability does not matter. State that in `CLAUDE.md`'s goals-and-audience rule, and have larv-review's comprehension floor name the contributor as the reader it serves. The floor then gates every chunk while the contributor stands, and a project that drops them skips it. - **Judge a cycle on more than the transcript's last 40,000 characters.** `judge.py:80` cuts the transcript there. The session spans every cycle of the chunk, so a decision made early in a long run is never judged, and the human is not interrupted for it. Larger chunks make runs longer. Goal 4.2. - **Have larv-review's prose pass fix only what the chunk touched, and file the rest per `CLAUDE.md` → "Working loop".** Today its fixes land "in this chunk", including cited sections and the sweep that runs with the architecture pass. In the 2026-09-30 bench, rebuild's costliest runs sprawled outside the chunk: one deleted README facts, and one took 13 rounds on the mypy case where main took 6–7 for the same fixes. Source: `~/code/claude-handoffs/claude-config/2026-09-30/bench/comparison.md`. Goal 4.4. - **Record each finished chunk's cost and review numbers on one stats line.** Goal 4.4. -- 2.52.0 From 10bbd4458d726fc0f60769f884af7b5bc3019199 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Thu, 1 Oct 2026 21:47:39 +0200 Subject: [PATCH 4/5] Answer the plan review's second round --- CLAUDE.md | 4 ++-- bin/loop_claude/loop/main.py | 2 +- docs/decisions.md | 2 +- todo.md | 15 ++++++++------- 4 files changed, 12 insertions(+), 11 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 63aaed30..3b46773e 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -11,7 +11,7 @@ How work proceeds in any repo, unless the repo's `AGENTS.md` says otherwise. The - **When the next release has no items and no work has landed towards it, plan it as this chunk.** Weigh the unscheduled items against the goals, put them in order, and get the human's approval before writing any code. - **When the next release has no items left and work has landed towards it, it is finished: stop.** Report what it holds and that it is ready to cut. Under `/loop`, this ends the loop. Until the human cuts it, only a security fix lands, into that release; never start a later release's items or plan a new one. - **Open every chunk with one line:** the last version cut, what is unreleased (`CHANGELOG.md` → `## Unreleased`, or else the log since the last tag), and the release this chunk ships into. A repo that publishes nothing says so once. -- **Work one chunk at a time, and make it as large as one purpose allows.** Every review has a fixed cost, so a chunk takes the next plan item plus every other item for which three things hold: one PR title states what they achieve together, without listing them; they sit under one release; and they fire the same review passes (`larv-review` §3). Tiny items, a few lines of change each, need no shared purpose: bundle five to ten from one release into one chunk. Split a milestone into items in `todo.md` before starting it. Fix a finding in the chunk's own change within the chunk. File a finding about anything else in `todo.md`, under a release. +- **Work one chunk at a time, and make it as large as one purpose allows.** Every review has a fixed cost, so a chunk takes the next plan item plus every other item for which three things hold: one PR title states what they achieve together, without listing them; they sit under one release; and they fire the same review passes (`larv-review` §3). Tiny items, a few lines of change each, need neither a shared purpose nor the same passes: bundle up to ten from one release into one chunk. Split a milestone into items in `todo.md` before starting it. Fix a finding in the chunk's own change within the chunk. File a finding about anything else in `todo.md`, under a release. - **Ask, don't guess.** First check whether the goals already answer the question. If they nearly do, propose a change to the goals and show how it answers this case: an answer settles one question, a goal settles every question like it. Write every answer once, where it belongs, never only in chat: a goal in `README.md`, a working rule in `AGENTS.md`, a standing choice in `docs/decisions.md`. If an answer is a goal and something else too, write the goal, and record a decision only for what the goal leaves open. - **Ship every chunk with `/larv-review`.** - **Remove a finished item from `todo.md`; keep its release heading until the version is cut.** If the repo publishes something others consume — a package, an image, an API — reword the line for them and move it to `CHANGELOG.md` under `## Unreleased`. A changelog is for the public, never for the next agent. Otherwise delete the line; git history is the record. @@ -142,7 +142,7 @@ The rules every project follows, compose-not-entangle first: `~/.claude/principl ## Vocabulary -- **chunk** — the unit of work: the largest change with one purpose; "Working loop" says how large that is. +- **chunk** — the unit of work, shipped as one PR; "Working loop" says what it holds. - **cycle** — one worker run and the judge's verdict on it, in `loop-claude`. - **gate** — the merge gate: the checks a PR passes before it merges. - **interrupt** — `loop-claude` handing the terminal to the human, `claude --resume`, for a decision that is theirs. diff --git a/bin/loop_claude/loop/main.py b/bin/loop_claude/loop/main.py index c9b6c868..273d9f56 100644 --- a/bin/loop_claude/loop/main.py +++ b/bin/loop_claude/loop/main.py @@ -4,7 +4,7 @@ usage: loop-claude Run it anywhere inside a project checkout whose README.md has ## Goals and ## Audience, the premises; the task runs at the checkout root. Each cycle a worker runs the task; a judge then reads -the transcript against them and rules whether the chunk, a change with one purpose, is finished. +the transcript against them and rules whether the chunk, the work of one PR, is finished. A question only the human can answer, or a release ready to cut, is an interrupt: `claude --resume` on the terminal, every worktree first marked trusted in ~/.claude.json. An unfinished chunk resumes its session next cycle; the next chunk starts a fresh session. diff --git a/docs/decisions.md b/docs/decisions.md index 1db05974..6bb83844 100644 --- a/docs/decisions.md +++ b/docs/decisions.md @@ -118,4 +118,4 @@ ## chunk: as large as one purpose allows -2026-10-01, lilleman. Serves goal 4.4. Every review has a fixed cost: each reviewer reloads the rules and the files around the change. Purpose caps a chunk, never a line count. Tiny items are the exception: five to ten, a few lines each, share one chunk whatever their purposes, since the review's fixed cost dwarfs them. Valid until the stats or a bench show that larger chunks lower what reviews catch. +2026-10-01, lilleman. Serves goal 4.4. Every review has a fixed cost: each reviewer reloads the rules and the files around the change. Purpose caps a chunk, never a line count. Tiny items are the exception: up to ten, a few lines each, share one chunk whatever their purposes and passes, since the review's fixed cost dwarfs them. Valid until the stats or a bench show that larger chunks lower what reviews catch. diff --git a/todo.md b/todo.md index 9f2a39a3..de47a987 100644 --- a/todo.md +++ b/todo.md @@ -11,10 +11,9 @@ The sketches, the judges' verdicts and what to take from each: `~/code/claude-ha ## 0.2.0 -- **Make the small fixes filed against `bin/`, the README and `.gitignore`.** Each is a few lines, so they share one chunk. Goals 1, 3 and 4.1. +- **Make the small fixes filed against `bin/`, the README and `.gitignore`.** Goals 1, 3 and 4.1. - Name `jq` and GNU `date` under README → Install, or stop `statusline.sh` needing them. Without `jq` the status line aborts. Under BSD `date` the reset times vanish. Either way CHANGELOG's "runs on any machine unedited" is false. - Narrow `.gitignore`'s `!bin/*` and `skills/*/**` to the files they mean. Today a stray log of `loop-claude` output in `bin/` would be committed, transcript text included. - - Sort `bin/`'s imports on their first binding, and say in `principles/technical-principles.md` → "Deterministic order" how case sorts and which groups Python has. Today they sort by path, so moving a module reorders unchanged lines. The principle's "host packages" names no Python group. - Show the judge's reply when its verdict is rejected. Its stdout is discarded today, so a judge that failed three times running leaves nothing to diagnose. - Return a `Stop` when `git` or `os.execv` fails. `checkout.py:7,15` and `reload.py:52` end in a traceback today. - `outcome.Failure`'s docstring: say what a failure is, without naming `retried`. A value type does not name its consumer. @@ -27,17 +26,19 @@ The sketches, the judges' verdicts and what to take from each: `~/code/claude-ha - Make two `Verdict`s unrepresentable: one with both `interrupt` and `finished`, and one with a question and no interrupt. `steps.py:49` ignores `finished` when `interrupt` is set. - Test `run_cycle`, `judge_through_interrupts`, `retried`, `archive`, `trust`, `interrupt`, the models file and the worker's arguments. Only the pure helpers are tested today, because nothing reaches the loop's flow without the effects. - **Move what `loop-claude` writes out of `~/.claude.json`, and ask the human about each write that must stay.** Claude Code owns that file and writes it. `trust` reads it, changes it and writes it back, so a write that lands in between is lost. Goal 4.1. -- **Make the small fixes filed against the workflow's documents.** Each is a few lines, so they share one chunk. Goal 4.1. - - CLI flags and exit codes: name them among the external contracts that fire the architecture pass, or record that they do not. The product-owner row names the CLI; the architecture row does not. - - A 🟡 shown factually wrong: give it the 🔴's way out in `review-findings.md`. Today it can only be fixed, declined on a goal, or filed. +- **Make the small changes filed against the review's rules.** Goals 4.1 and 4.4. + - larv-review §3: name CLI flags and exit codes among the external contracts that fire the architecture pass, or record that they do not. The product-owner row names the CLI; the architecture row does not. + - `review-findings.md`: give a 🟡 shown factually wrong the 🔴's way out. Today it can only be fixed, declined on a goal, or filed. + - Make the contributor a standing member of every project's audience. A project drops them only where its `## Audience` says maintainability does not matter. State that in `CLAUDE.md`'s goals-and-audience rule, and have larv-review's comprehension floor name the contributor as the reader it serves. The floor then gates every chunk while the contributor stands, and a project that drops them skips it. + - Have larv-review's prose pass fix only what the chunk touched, and file the rest per `CLAUDE.md` → "Working loop". Today its fixes land "in this chunk", including cited sections and the sweep that runs with the architecture pass. In the 2026-09-30 bench, rebuild's costliest runs sprawled outside the chunk: one deleted README facts, and one took 13 rounds on the mypy case where main took 6–7 for the same fixes. Source: `~/code/claude-handoffs/claude-config/2026-09-30/bench/comparison.md`. +- **Clean up the rules, skills, agents and decision log.** Goal 4.1. - Remove what the rebuild's merge made stale. The ⚠️ paragraphs in `AGENTS.md` and `todo.md`, and each decision valid "until the rebuild merges". - `docs/decisions.md`: give the comprehension-floor and vocabulary entries a premise that has not expired. Both say "Valid until the next scoring run", and three runs have passed. Put the floor's rule first and its runs' scores in a table. - larv-review: move its reasons for `/security-review` and for the premises chunk's review into `docs/decisions.md`. They are rejected alternatives, which the decision log holds. - `comprehension-panel`: cut the run history and the restated description. They carry nothing the instructions need. - `systems-architect.md`: cut the "one home" line, and break Reasonability Review's steps 4 and 5 into shorter points each. - - Make the contributor a standing member of every project's audience. A project drops them only where its `## Audience` says maintainability does not matter. State that in `CLAUDE.md`'s goals-and-audience rule, and have larv-review's comprehension floor name the contributor as the reader it serves. The floor then gates every chunk while the contributor stands, and a project that drops them skips it. +- **Sort `bin/`'s imports on their first binding, and say in `principles/technical-principles.md` → "Deterministic order" how case sorts and which groups Python has.** Today they sort by path, so moving a module reorders unchanged lines. The principle's "host packages" names no Python group. Goal 4.1. - **Judge a cycle on more than the transcript's last 40,000 characters.** `judge.py:80` cuts the transcript there. The session spans every cycle of the chunk, so a decision made early in a long run is never judged, and the human is not interrupted for it. Larger chunks make runs longer. Goal 4.2. -- **Have larv-review's prose pass fix only what the chunk touched, and file the rest per `CLAUDE.md` → "Working loop".** Today its fixes land "in this chunk", including cited sections and the sweep that runs with the architecture pass. In the 2026-09-30 bench, rebuild's costliest runs sprawled outside the chunk: one deleted README facts, and one took 13 rounds on the mypy case where main took 6–7 for the same fixes. Source: `~/code/claude-handoffs/claude-config/2026-09-30/bench/comparison.md`. Goal 4.4. - **Record each finished chunk's cost and review numbers on one stats line.** Goal 4.4. - Have `loop-claude` write the line to one file at the root of the transcript archive. The line names the project, the commit the chunk started from and the archived transcript's hash. It holds the worker's tokens from the transcript, the judge's from its JSON output, and the chunk's cycles and interrupts, which the loop counts. - End larv-review with a machine-readable summary, and have `loop-claude` copy it from the transcript onto the line: agents launched and rounds per pass; findings per pass by severity, inside the chunk's diff and outside it; and the comprehension scores when the panel ran. -- 2.52.0 From e5ae729116036c3e7b9d1f5d58dd0ce92e7d6831 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Thu, 1 Oct 2026 21:48:56 +0200 Subject: [PATCH 5/5] Name the plan in the clean-up item --- todo.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/todo.md b/todo.md index de47a987..55298fc2 100644 --- a/todo.md +++ b/todo.md @@ -31,7 +31,7 @@ The sketches, the judges' verdicts and what to take from each: `~/code/claude-ha - `review-findings.md`: give a 🟡 shown factually wrong the 🔴's way out. Today it can only be fixed, declined on a goal, or filed. - Make the contributor a standing member of every project's audience. A project drops them only where its `## Audience` says maintainability does not matter. State that in `CLAUDE.md`'s goals-and-audience rule, and have larv-review's comprehension floor name the contributor as the reader it serves. The floor then gates every chunk while the contributor stands, and a project that drops them skips it. - Have larv-review's prose pass fix only what the chunk touched, and file the rest per `CLAUDE.md` → "Working loop". Today its fixes land "in this chunk", including cited sections and the sweep that runs with the architecture pass. In the 2026-09-30 bench, rebuild's costliest runs sprawled outside the chunk: one deleted README facts, and one took 13 rounds on the mypy case where main took 6–7 for the same fixes. Source: `~/code/claude-handoffs/claude-config/2026-09-30/bench/comparison.md`. -- **Clean up the rules, skills, agents and decision log.** Goal 4.1. +- **Clean up the rules, skills, agents, plan and decision log.** Goal 4.1. - Remove what the rebuild's merge made stale. The ⚠️ paragraphs in `AGENTS.md` and `todo.md`, and each decision valid "until the rebuild merges". - `docs/decisions.md`: give the comprehension-floor and vocabulary entries a premise that has not expired. Both say "Valid until the next scoring run", and three runs have passed. Put the floor's rule first and its runs' scores in a table. - larv-review: move its reasons for `/security-review` and for the premises chunk's review into `docs/decisions.md`. They are rejected alternatives, which the decision log holds. -- 2.52.0