From b2bc0a966feb19eeba5e6ae8d4bfaa29a40c0264 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Tue, 13 Oct 2026 00:53:05 +0200 Subject: [PATCH] File item 104: the worker implements the simplest change and loads no technical principle; the reviewers refactor it to the bar --- todo.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/todo.md b/todo.md index 083b9977..08535327 100644 --- a/todo.md +++ b/todo.md @@ -6,7 +6,7 @@ `Bar = 9` -`Next ID = 101` +`Next ID = 105` | Goal | W | |---|---| @@ -26,6 +26,7 @@ |---|---|---|---|---|---|---|---|---|---| | 100 | 0.1.0 | defect | **Sort `bin/rule_hook/override_log.py`'s imports by their first binding, so the test suite passes again.** | 1 | 1 | 6 | 7 | 1.1 | 24.6 | | 95 | 0.1.0 | | **Make `CLAUDE.md` a short router: only the rules every session needs, and a pointer to where each topic's rules load.** | 6 | 6 | 8 | 8 | 1.1, 1.3, 1.4 | 24.3 | +| 104 | 0.1.0 | | **Have a chunk's worker implement the simplest change that solves its item, loading no technical principle, and have the reviewers refactor it until it meets them.** | 6 | 5 | 8 | 8 | 1.4, 1.5 | 24.1 | | 98 | 0.1.0 | | **Score R and S from a measurement wherever one exists, and calibrate each guessed score against the finished chunk's measured outcome.** | 2 | 5 | 6 | 7 | 1.1, 1.4 | 22.6 | | 99 | 0.1.0 | | **Drop the comprehension panel as a merge gate, and keep recording its scores and the places in the code its seats found hard, for later measurement and for other reviewers and agents to improve.** | 4 | 5 | 7 | 7 | 1.1, 1.4, 1.5 | 22.6 | | 87 | 0.1.0 | | **Score every `todo.md` item's complexity C from 1 to 10, and have `rank_todo.py` fail on an item without one.** | 3 | 4 | 6 | 7 | 1.1, 1.4 | 21.9 | @@ -78,6 +79,18 @@ Keep in it only what every session needs and no other file loads: the vocabulary - 🟢 "Ask, don't guess": "If an answer is a goal and something else too, write the goal, and record a choice only for what the goal leaves open." Proposed: `When an answer holds a goal and a choice, write the goal in the README, and record as a choice only what the goal leaves open.` - 🟢 "Decisions: one home" lists "a comment" as a wrong home, then names a comment as the destination. Proposed: `a comment away from the code it governs`. +### 104. Have a chunk's worker implement the simplest change that solves its item, loading no technical principle, and have the reviewers refactor it until it meets them. + +Like red, green, refactor: the worker makes the item work, and the review passes raise it to the bar. Today `CLAUDE.md` → "Technical principles" tells every session to read `technical-principles.md` before writing code, and after item 95 a loop-claude worker still loads every file under `rules/`: 263 sentences, item 103 counts. + +- Replace "Read it before writing, designing or reviewing code" with: implement the simplest change that solves the item; the reviewers apply the principles. No worker reads a file under `~/.claude/principles/`. Point every other reference to them in `CLAUDE.md` at the reviewer that applies it, or drop it. +- Move "Quality" to `larv-review`, and the comment, README and doc rules to files the prose and stability reviewers read, loaded by no path. Keep the rules for writing Goals and Audience and `rules/todo-items.md` loading with their files: writing them is the worker's job. +- Keep frontloaded each project's decision titles in its `AGENTS.md`, since a worker that misses a decision builds the wrong behaviour, and a core of about five lines of "Prose", since no reviewer reads the worker's chat. The human chose both on 2026-10-13. +- Keep `rule-hook`: it blocks what a program can check, at no context cost. +- Have loop-claude's judge read each rule where it now lives. +- Record the split in `docs/decisions.md`, serving goals 1.4 and 1.5, valid while review rounds per pass do not rise. A principle such as functional core, found late, can cost a rewrite within a pass's three rounds: compare rounds per pass and reading cost in loop-claude's archive for the five chunks before and after, and file an item if they rise. The PR states the sentences a worker loads before and after. +- This answers item 103: the saving must reach workers. Delete item 103 when this lands. + ### 98. Score R and S from a measurement wherever one exists, and calibrate each guessed score against the finished chunk's measured outcome. A score that can be computed from the code it touches, such as the files an item names, comes from that computation. Otherwise size and risk are estimated from finished work, the way reference-class forecasting estimates a project from earlier projects like it. When a chunk merges, record its measured outcome beside the item's guessed R and S: lines and files changed, review rounds, 🔴 and 🟡 findings, and fixes the code needed later. Show the scorer, when it files an item, the finished items whose guessed scores sat nearest and what they measured. Once enough chunks are recorded, report how far each guess was from its outcome, so a scorer whose S runs high can be corrected. Item 87's C is scored and calibrated the same way. -- 2.52.0