From 9e08a2b5c6718d10cc45cd1ddbc811b612c26393 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Thu, 22 Oct 2026 19:55:09 +0200 Subject: [PATCH] =?UTF-8?q?Answer=20prose=20round=201:=200=20=F0=9F=94=B4,?= =?UTF-8?q?=205=20=F0=9F=9F=A1;=20state=20the=20weight=20rule=20once=20wit?= =?UTF-8?q?h=20its=20date,=20reword=20item=20209,=20and=20keep=20the=20cha?= =?UTF-8?q?ngelog=20and=20comments=20to=20what=20a=20reader=20needs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 2 +- bin/git_repo.py | 4 +++- bin/metric_bench/main.py | 2 +- docs/decisions.md | 4 +--- todo.md | 6 +++--- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1fda0e39..4f2af1df 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## Unreleased -- The status line now reads the branch through the same git runner as the other tools. A branch whose name is not UTF-8 shows no branch, in place of a name with replacement characters. +- A branch whose name is not UTF-8 now shows no branch in the status line, in place of a name with replacement characters. - A new technical principle, "About seven things per level", sets soft limits on what a reader takes in at once: the parameters and branches of a function, the methods of a class, the files and folders in a folder, the sections of a document and the components of a system. Aim for four or five of the things that act on each other, such as parameters. Things found by name, such as files named by locale, may run far past seven. Crossing a limit asks you to group the things or record why they stay. The systems-architect reviewer now reads its limits from this principle. It rates a unit that crosses a limit with no recorded reason a 🟡, where it used to be a 🔴, and no longer asks for the limits as merge-gate rules. - The comprehension panel's base worktree and a build probe's output now go in a folder under the chunk's review folder in `~/.local/state/larv-review/`. Both used to go in a session scratchpad, which loop-claude's headless sessions don't have. diff --git a/bin/git_repo.py b/bin/git_repo.py index 393d67d7..cd70db7b 100644 --- a/bin/git_repo.py +++ b/bin/git_repo.py @@ -1,4 +1,6 @@ -"""Run git, in the current directory or a given one, as the one place among bin/'s tools that starts it, and read the checkout, its default branch and its files.""" +"""Run git, in the current directory or a given one, and read the checkout, its default branch and its files. + +Every tool in bin/ starts git through `git` here.""" import os import re import subprocess diff --git a/bin/metric_bench/main.py b/bin/metric_bench/main.py index a0db6dce..20194ef0 100644 --- a/bin/metric_bench/main.py +++ b/bin/metric_bench/main.py @@ -111,7 +111,7 @@ def noted(notes: list[str]) -> str: def run_scores(run: Entry, top: str) -> tuple[RunScores | None, list[str]] | Failure: """The run's scores, and why each file left out was: git could not show it as UTF-8, or it does not parse.""" - # A tracked name that is not UTF-8 fails the run rather than reading with its bytes replaced: every tool in bin/ reads git's output through git_repo.git's one contract. + # A tracked name that is not UTF-8 fails the run rather than reading with its bytes replaced. listed = git("ls-tree", "-r", "-z", "--name-only", run.commit, cwd=top) if isinstance(listed, Failure): return listed diff --git a/docs/decisions.md b/docs/decisions.md index 6cd1e206..58365ba5 100644 --- a/docs/decisions.md +++ b/docs/decisions.md @@ -4,9 +4,7 @@ 2026-09-20, lilleman. Serves goal 1. Across six projects scored with the four seats, Locality or Self-sufficiency was the lowest dimension at every seat and Navigation at none, so a layout fix would not lift a project under the floor. Valid while the scoring run keeps those four seats. -2026-10-15, lilleman: the lowest dimension caps the overall, so lifting it is worth the most to the floor. PR #257's scoring run found Shape lowest, at 6.25, and the items lifting it were `todo.md` items 124 and 125. - -2026-10-16, PR #283: an item that lifts the lowest dimension moves each goal it cites by 9. lilleman, answering that PR's review: such items compete with the others like any item, so they don't rank first in the plan. +2026-10-15, lilleman, set by PR #283 on 2026-10-16: an item that lifts the lowest dimension moves each goal it cites by 9, since the lowest dimension caps the overall and lifting it is worth the most to the floor. Within a chunk its work comes first; in the plan, lilleman answering that PR's review, such items compete with the others like any item and don't rank first. PR #257's scoring run found Shape lowest, at 6.25, and the items lifting it were `todo.md` items 124 and 125. ## loop-claude: a judge decides each interrupt and each quoted answer from the transcript, the README's premises, `AGENTS.md`, `docs/decisions.md`, `~/.claude/CLAUDE.md`, `~/.claude/rules/` and larv-review's standards, and holds a chunk open while an answer the human typed in it is recorded nowhere; the worker's own account of which goal settles a choice decides nothing diff --git a/todo.md b/todo.md index e582eeb2..53ec0293 100644 --- a/todo.md +++ b/todo.md @@ -12,7 +12,7 @@ | ID | Release | Blocked by | Exempt | Item | L | E | I | R | S | Moves | Score | |---|---|---|---|---|---|---|---|---|---|---|---| -| 209 | 0.4.0 | | | **Re-score items 124 and 125, which cite `code health by 9` as Shape-lowering items, so the weight of lifting the lowest dimension goes to the items that lift Locality, the dimension now lowest.** | 1 | 2 | 1 | 2 | 1 | code health by 3 | 21.6 | +| 209 | 0.4.0 | | | **Move the `code health by 9` weight from items 124 and 125, which lift Shape, to items that lift Locality, the dimension release 0.3.0's scoring runs found lowest.** | 1 | 2 | 1 | 2 | 1 | code health by 3 | 21.6 | | 125 | 0.4.0 | | decision | **Give "record", "outcome" and "places" one meaning each across `bin/`, and rename `bin/larv_review/git.py` by what it holds.** | 3 | 1 | 3 | 5 | 5 | code health by 9, 1.4 by 9 | 19.7 | | 172 | 0.4.0 | | | **Name the project's rung `project` across `bin/loop_claude`, in place of `anchor`, as `bin/model_routing/ladder.py` names it.** | 2 | 1 | 3 | 4 | 3 | code health by 3, 1.4 by 3 | 16.5 | | 190 | 0.4.0 | | | **Rewrite the `docs/decisions.md` entries `todo.md: one table …`, `loop-claude: a judge decides …` and `loop-claude: before it opens claude …` as the current state, so a reader no longer replays superseded paragraphs to learn what holds.** | 2 | 2 | 1 | 3 | 3 | code health by 3, 1.4 by 2 | 15.5 | @@ -73,9 +73,9 @@ ## Details -### 209. Re-score items 124 and 125, which cite `code health by 9` as Shape-lowering items, so the weight of lifting the lowest dimension goes to the items that lift Locality, the dimension now lowest. +### 209. Move the `code health by 9` weight from items 124 and 125, which lift Shape, to items that lift Locality, the dimension release 0.3.0's scoring runs found lowest. -Items 124 and 125 move each goal they cite by 9 because PR #257's scoring run put Shape lowest, per `docs/decisions.md` → `larv-review: within a chunk lifting a project towards the comprehension floor, work on the project's lowest-scoring dimension comes first, and the floor doesn't block anything`. Release 0.3.0's two scoring runs, PR #324 at c713910 in `docs/comprehension-history.md`, put Locality lowest, at 5.75 and 5.88, with Shape at 6.13 and 6.25. Score items 124 and 125 by their own value to code health and goal 1.4, without the 9, and drop the sentence in their details that claims Shape is lowest. Locality's only item is 132, at `code health by 5`: split it into one item per place PR #324's runs name for Locality, as its detail says to once 0.3.0's run has named them, and give those items the 9 the decision grants. +Items 124 and 125 move code health by 9, and 1.4 by 9, because PR #257's scoring run put Shape lowest, per `docs/decisions.md` → `larv-review: within a chunk lifting a project towards the comprehension floor, work on the project's lowest-scoring dimension comes first, and the floor doesn't block anything`. Release 0.3.0's two scoring runs, PR #324 at c713910 in `docs/comprehension-history.md`, put Locality lowest, at 5.75 and 5.88, with Shape at 6.13 and 6.25. Score items 124 and 125 by their own value to code health and goal 1.4, without the 9, and drop the sentence in their details that claims Shape is lowest. Item 132 holds Locality's lift at `code health by 5`; its detail says to split it into one item per place once 0.3.0's run named them. Do that for every dimension under the floor, and give the items that lift Locality the 9. ### 125. Give "record", "outcome" and "places" one meaning each across `bin/`, and rename `bin/larv_review/git.py` by what it holds.