From 95e613380bd3062cf45d3a1c546439d56514460c Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Sun, 4 Oct 2026 22:26:45 +0200 Subject: [PATCH 1/8] Give README an Update section that moves a machine's checkout to the latest tag --- CHANGELOG.md | 2 +- README.md | 18 +++++++++++++----- todo.md | 5 ----- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2cefa71b..67992d9b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## Unreleased -- README → Install gives the commands that check the latest tag out into `~/.claude`, whether or not Claude Code has already created it. +- README → Install and Update give the commands that check the latest tag out into `~/.claude`: on a new machine, whether or not Claude Code has already created the directory, and on one already on an older tag. - A session commits changes Claude Code made to `settings.json` only once their diff holds no credential, and asks you to move any credential out of the file first. - A technical principle, "Sane defaults, where a default serves better than an explicit ask". A default suits a value most callers want, does no harm when wrong, and can be seen and changed. It lives at the program's edge, such as a CLI; a library still asks for data, the clock and randomness. - larv-review's principles audit reads only the files under `~/.claude/principles/` that apply to the project, launching a file's auditor when unsure. A file's `Applies to` line says what it covers; one without the line covers every project. The summary names each file left out. After its first round, the architecture pass reruns the scoring run and only the reviewers whose 🔴 or 🟡 the fixes answer, unless the fixes carry an architectural decision. diff --git a/README.md b/README.md index ceb565aa..eee20606 100644 --- a/README.md +++ b/README.md @@ -20,18 +20,14 @@ Me, on my own machines, which take tagged releases. Nobody else depends on it. ## Install -Claude Code may already have created `~/.claude`, where `git clone` refuses to run, so check the latest tag out in place: +Claude Code may already have created `~/.claude`, where `git clone` refuses to run, so make the repository in place, then check the latest tag out per "Update": ```sh mkdir -p ~/.claude && cd ~/.claude git init git remote add origin ssh://git@gitea.larvit.se:21022/lilleman/claude-config.git -git fetch --tags origin -git checkout -f "$(git tag -l 'v*' --sort=-v:refname | head -n 1)" ``` -`-f` overwrites every tracked file already there, such as the `settings.json` Claude Code wrote. - Have Python 3.11 or newer as `python3` on `PATH`, and for Rust projects `rust-analyzer` on `PATH`, which the `rust-analyzer-lsp` plugin needs. Install every plugin `settings.json` enables: ```sh @@ -43,6 +39,18 @@ claude plugin install rust-analyzer-lsp@claude-plugins-official Link `loop-claude` onto `PATH`: `ln -s ~/.claude/bin/loop-claude ~/.local/bin/loop-claude`. Run `loop-claude` only in a sandbox with no direct access to a production environment, such as a dedicated VM: every claude it starts, the interrupt included, skips every permission prompt. +## Update + +Check the latest tag out: + +```sh +cd ~/.claude +git fetch --tags origin +git checkout -f "$(git tag -l 'v*' --sort=-v:refname | head -n 1)" +``` + +`-f` overwrites every tracked file, such as a `settings.json` Claude Code wrote. To keep a change, look it over with `git diff` and commit it first, per `AGENTS.md` → "Working rules". + ## Release Rename `## Unreleased` in `CHANGELOG.md` to the version, commit, and tag that commit `v`. diff --git a/todo.md b/todo.md index 985d21a6..9e115259 100644 --- a/todo.md +++ b/todo.md @@ -25,7 +25,6 @@ | ID | Release | Exempt | Item | R | S | A | G | Goals | Score | |---|---|---|---|---|---|---|---|---|---| | 1 | 0.1.0 | question | **Say in README → Install how the transcript archive is backed up, once bender-infra backs up ai-sandbox's data volume.** | 3 | 5 | 8 | 9 | 2, 3 | 27.8 | -| 71 | 0.1.0 | | **Give README a command that moves a machine's checkout to a newer tag.** | 2 | 2 | 6 | 7 | 1 | 23.5 | | 60 | 0.1.0 | | **Rerun the scoring run before merge whenever a fix landed after the last scoring run, and count a score under the floor or the ratchet as the scoring run's 🔴.** | 3 | 3 | 6 | 7 | 4.1 | 16.1 | | 62 | 0.1.0 | defect | **Lift Locality, Self-sufficiency and the overall to the comprehension floor, at the places the seats name.** | 4 | 6 | 6 | 8 | 4.1 | 15.5 | | 65 | 0.1.0 | | **Archive each judge reply the loop rejects.** | 3 | 4 | 4 | 5 | 2 | 12.9 | @@ -55,10 +54,6 @@ It lives under `~/.claude`, which `.gitignore` keeps from the remote, so a lost The README line covers the bench's transcripts in `workflow-bench/logs/` too (goal 2). -### 71. Give README a command that moves a machine's checkout to a newer tag. - -Goal 1, raised by the product-owner review of PR #216: the audience's machines take tagged releases, but README → Install covers only the first checkout, and a plain `git checkout ` refuses while Claude Code has changed a `settings.json` that differs between the two tags. - ### 60. Rerun the scoring run before merge whenever a fix landed after the last scoring run, and count a score under the floor or the ratchet as the scoring run's 🔴. Raised by the systems-architect review of PR #215. A stability, product-owner, prose or auto-reviewer fix reruns no scoring run unless it carries an architectural decision or answers an architecture 🔴 or 🟡. It merges unscored, so the `comprehension floor:` entry records scores for an earlier commit, and the next chunk's ratchet inherits a fall it did not cause. "Round cap" → "Done" and "Re-entry" → "Rerun" count only 🔴 and 🟡, and nothing makes a score under the floor one. A commit that only edits `docs/decisions.md`, `todo.md` or `CHANGELOG.md` needs no rerun. -- 2.52.0 From 57e67f8f0ad0908e753a4befeba4dc8765cee70b Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Sun, 4 Oct 2026 22:28:32 +0200 Subject: [PATCH 2/8] Answer product-owner round 1: list what the move discards, keep a change through a release, follow the changelog --- README.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index eee20606..6b9ca9b4 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Me, on my own machines, which take tagged releases. Nobody else depends on it. ## Install -Claude Code may already have created `~/.claude`, where `git clone` refuses to run, so make the repository in place, then check the latest tag out per "Update": +Claude Code may already have created `~/.claude`, where `git clone` refuses to run, so make the repository in place: ```sh mkdir -p ~/.claude && cd ~/.claude @@ -28,6 +28,8 @@ git init git remote add origin ssh://git@gitea.larvit.se:21022/lilleman/claude-config.git ``` +Then run Update's commands. + Have Python 3.11 or newer as `python3` on `PATH`, and for Rust projects `rust-analyzer` on `PATH`, which the `rust-analyzer-lsp` plugin needs. Install every plugin `settings.json` enables: ```sh @@ -41,15 +43,21 @@ Link `loop-claude` onto `PATH`: `ln -s ~/.claude/bin/loop-claude ~/.local/bin/lo ## Update -Check the latest tag out: +A machine that takes tagged releases moves to the latest tag. List what the move discards: every uncommitted change to a file the tag tracks, such as a `settings.json` Claude Code wrote. ```sh cd ~/.claude git fetch --tags origin +git status --short +``` + +A change reaches a machine only through a tag. To keep one, merge it per `AGENTS.md` → "Working rules" and cut a release ("Release") before moving. Then move: + +```sh git checkout -f "$(git tag -l 'v*' --sort=-v:refname | head -n 1)" ``` -`-f` overwrites every tracked file, such as a `settings.json` Claude Code wrote. To keep a change, look it over with `git diff` and commit it first, per `AGENTS.md` → "Working rules". +Then do what `CHANGELOG.md` asks of each version since the old tag, such as a new step under Install. ## Release -- 2.52.0 From f735a8ad80df20a4319fe8be74f0653bc267c450 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Sun, 4 Oct 2026 22:29:41 +0200 Subject: [PATCH 3/8] Answer product-owner round 2: show the old tag, push the release tag, scope what git status lists --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6b9ca9b4..91d7f75a 100644 --- a/README.md +++ b/README.md @@ -43,12 +43,12 @@ Link `loop-claude` onto `PATH`: `ln -s ~/.claude/bin/loop-claude ~/.local/bin/lo ## Update -A machine that takes tagged releases moves to the latest tag. List what the move discards: every uncommitted change to a file the tag tracks, such as a `settings.json` Claude Code wrote. +A machine that takes tagged releases moves to the latest tag. The move discards every uncommitted change to a file the tag tracks, such as a `settings.json` Claude Code wrote. See the changes to files tracked today, and the tag the machine is on: ```sh cd ~/.claude git fetch --tags origin -git status --short +git status ``` A change reaches a machine only through a tag. To keep one, merge it per `AGENTS.md` → "Working rules" and cut a release ("Release") before moving. Then move: @@ -61,7 +61,7 @@ Then do what `CHANGELOG.md` asks of each version since the old tag, such as a ne ## Release -Rename `## Unreleased` in `CHANGELOG.md` to the version, commit, and tag that commit `v`. +Rename `## Unreleased` in `CHANGELOG.md` to the version, commit, tag that commit `v`, and push both. ## Tools -- 2.52.0 From 0047b8c624f17fe617086c36a949d9d52671796a Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Sun, 4 Oct 2026 22:30:17 +0200 Subject: [PATCH 4/8] Answer product-owner round 3: nothing to fix -- 2.52.0 From f5e3f7f10cdb42c16630243b589f8e1c7307e3aa Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Sun, 4 Oct 2026 22:31:23 +0200 Subject: [PATCH 5/8] Answer prose round 1: lead with the action to keep a change, and say which files git status lists --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 91d7f75a..87dfeb5d 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ Link `loop-claude` onto `PATH`: `ln -s ~/.claude/bin/loop-claude ~/.local/bin/lo ## Update -A machine that takes tagged releases moves to the latest tag. The move discards every uncommitted change to a file the tag tracks, such as a `settings.json` Claude Code wrote. See the changes to files tracked today, and the tag the machine is on: +Move a machine that takes tagged releases to the latest tag. The move discards every uncommitted change to a file the tag tracks, such as a `settings.json` Claude Code wrote. List the uncommitted changes to files the checkout tracks, and the tag it is on: ```sh cd ~/.claude @@ -51,7 +51,7 @@ git fetch --tags origin git status ``` -A change reaches a machine only through a tag. To keep one, merge it per `AGENTS.md` → "Working rules" and cut a release ("Release") before moving. Then move: +To keep an uncommitted change, merge it per `AGENTS.md` → "Working rules" and cut a release ("Release") before moving: a machine gets only what a tag holds. Then move: ```sh git checkout -f "$(git tag -l 'v*' --sort=-v:refname | head -n 1)" -- 2.52.0 From c6930745a37acf569a1b87038c7bebdf35a222cc Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Sun, 4 Oct 2026 22:31:51 +0200 Subject: [PATCH 6/8] Answer prose round 2: name the latest tag --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 87dfeb5d..f5e1facc 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ Link `loop-claude` onto `PATH`: `ln -s ~/.claude/bin/loop-claude ~/.local/bin/lo ## Update -Move a machine that takes tagged releases to the latest tag. The move discards every uncommitted change to a file the tag tracks, such as a `settings.json` Claude Code wrote. List the uncommitted changes to files the checkout tracks, and the tag it is on: +Move a machine that takes tagged releases to the latest tag. The move discards every uncommitted change to a file the latest tag tracks, such as a `settings.json` Claude Code wrote. List the uncommitted changes to files the checkout tracks, and the tag it is on: ```sh cd ~/.claude -- 2.52.0 From 2cbf57cbd55ae31e040806d8647ae909d653b5b0 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Sun, 4 Oct 2026 22:32:09 +0200 Subject: [PATCH 7/8] Answer prose round 3: nothing to fix -- 2.52.0 From c7af0ff900c5d394f9b9389367ba519c96343629 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Wed, 7 Oct 2026 00:45:09 +0200 Subject: [PATCH 8/8] Answer product-owner round 4: nothing to fix -- 2.52.0