From dc2b8a25fc20487fed500cc6e317dcf95dd03383 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Thu, 1 Oct 2026 21:06:06 +0200 Subject: [PATCH] Record the three-bench gate as a decision --- AGENTS.md | 1 + docs/decisions.md | 4 ++++ todo.md | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index 4e315081..3fad43af 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -32,3 +32,4 @@ Decisions live in `docs/decisions.md`: - review: the architecture pass audits every principle and goal over the whole project, and a release's last chunk fires it - loop-claude: every claude it starts bypasses permissions inside its sandbox - stats: a chunk's cost and review numbers are kept in the transcript archive +- bench: a workflow change merges only once three benches rule it better diff --git a/docs/decisions.md b/docs/decisions.md index 593cddfb..44674375 100644 --- a/docs/decisions.md +++ b/docs/decisions.md @@ -111,3 +111,7 @@ ## stats: a chunk's cost and review numbers are kept in the transcript archive 2026-10-01, lilleman. Serves goals 3 and 4.4. The numbers show whether a change to the workflow raised quality or only cost. Each line names another project and its chunk, so the file stays off this repo's remote. `loop-claude` writes the line: the tokens, cycles and interrupts it counts, and the review's numbers from the summary larv-review ends with. Valid while the transcript archive stays off the remote. + +## bench: a workflow change merges only once three benches rule it better + +2026-10-01, lilleman. Serves goals 4.1 and 4.4. The 2026-09-30 bench showed one run cannot tell a workflow from the variance between runs. The same outcome with less code and prose counts as better. Three is a starting number, to be evaluated against the stats. Valid until that evaluation changes the number. diff --git a/todo.md b/todo.md index 1430f7c3..24c3f551 100644 --- a/todo.md +++ b/todo.md @@ -38,4 +38,4 @@ The rebuild lifts every dimension, one chunk per item, until the last item opens - **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; three is where to begin, and the stats decide whether it stays. 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/`. +- **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; what a bench ruling it worse does is asked when this item starts. 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/`.