Name python3 in Install, correct the panel and trust-shape entries, and delete the prose the sweep found copied

This commit is contained in:
2026-09-26 15:48:59 +02:00
parent 7f155e933d
commit 9f8b413d51
10 changed files with 21 additions and 21 deletions
+4 -3
View File
@@ -6,12 +6,13 @@ Decisions live in `docs/decisions.md`:
- loop-claude: a judge decides interrupts, not the worker's self-report
- loop-claude: one session per project, at a fixed id
- loop-claude: the trust file is rewritten before an interrupt
- loop-claude: a reload into an older file is unsupported
- loop-claude: a wrong-shape trust file gets one message, naming the shape
- bin/: the Python floor is README's Install prerequisite
- bin/: host python, no container
- comprehension floor: the 2026-09-26 four-seat score is the ratchet, and 0.1.0 waits on what caps it
- larv-review: a re-entered loop takes a fresh round cap
- comprehension floor: the 2026-09-26 four-seat score is 6.75, and 0.1.0 waits on what caps it
- loop-claude: the five section headers stay
- vocabulary: the concept words are defined under `CLAUDE.md` → "Vocabulary" and cited by a bare link
- larv-review: a re-entered loop takes a fresh round cap
- loop-claude: a reload into an older file is unsupported
- loop-claude: a CR-only README.md is reported at line 1
- loop-claude: each project's model lives in loop-claude's own file
+1 -1
View File
@@ -15,7 +15,7 @@ Me, on my own machines, which take tagged releases. Nobody else depends on it.
## Install
Check out the latest tag in `~/.claude`, on Python 3.11 or newer. Link the tool onto `PATH`: `ln -s ~/.claude/bin/loop-claude ~/.local/bin/loop-claude`.
Check out the latest tag in `~/.claude`, with Python 3.11 or newer as `python3` on `PATH`. Link the tool onto `PATH`: `ln -s ~/.claude/bin/loop-claude ~/.local/bin/loop-claude`.
## Release
+1 -1
View File
@@ -28,7 +28,7 @@ A review's first line, derived mechanically from the findings:
## Declining
Anything below 🔴 the caller may decline where the reason is sound, sits consistently with the repo's goals, and confidence is very high; the decline, its reason and the goal it rests on go to `docs/decisions.md`. A reason that contradicts a goal, or that no goal speaks to and you are not confident in, is a gap in the goals: propose the goal or rule that settles the whole class, show what falls out of it for this instance, and take the human's answer — or fix the finding. Never a silent drop, and never a decline argued from convenience or the size of the fix.
Anything below 🔴 the caller may decline where the reason is sound, sits consistently with the repo's goals, and confidence is very high; the decline, its reason and the goal it rests on go to `docs/decisions.md`. A reason that contradicts a goal, or that no goal speaks to and you are not confident in, is a gap in the goals, taken per `~/.claude/CLAUDE.md` → "Working loop", "Ask, don't guess" — or fix the finding. Never a silent drop, and never a decline argued from convenience or the size of the fix.
A reviewer honours an accepted risk in `docs/decisions.md` and a finding declined this way: it stays declined and is not raised again.
+8 -4
View File
@@ -18,19 +18,23 @@
## loop-claude: a wrong-shape trust file gets one message, naming the shape
2026-09-26, larv-review, declining a product-owner nit. Serves goal 4 through the comprehension floor below. `trust` says `not an object whose "projects" maps paths to objects` for every wrong shape; naming the failing path would add a branch to `trust`, the unit three of four seats least want to modify, and the interrupt still lands in Claude Code's own dialog. Valid while `trust` caps the floor.
2026-09-26, larv-review, declining a product-owner nit. Serves goal 4. `trust` says `not an object whose "projects" maps paths to objects` for every wrong shape; naming the failing path would add a branch to `trust`, and the interrupt still lands in Claude Code's own dialog, which shows the path. The 2026-09-25 panel's `trust` as the unit least wanted to modify was the first reason; the 2026-09-26 panel named `typed`, so the entry rests on the dialog. Valid while the interrupt lands in that dialog.
## bin/: the Python floor is README's Install prerequisite
2026-09-26, larv-review, carrying the floor the 2026-09-26 stability round assumed and verified its f-string fix under. Serves goal 1. `bin/test_python_floor.py` compiles every tracked `bin/` file on a `uv`-fetched interpreter of the version Install names, so a newer syntax fails the suite: `ast.parse(feature_version=)` on the host's Python accepts the nested f-string 186181a fixed, and a `python3.N` on `PATH` is installed by hand on every machine and again at each bump. Valid while no machine taking the checkout ships an older Python.
2026-09-26, larv-review, carrying the floor the 2026-09-26 stability round assumed and verified its f-string fix under. Serves goal 1. The suite reruns itself on a `uv`-fetched interpreter of the version Install names: `ast.parse(feature_version=)` on the host's Python accepts the nested f-string 186181a fixed, a compile check passes a 3.11-only call like `contextlib.chdir`, and a `python3.N` on `PATH` is installed by hand on every machine and again at each bump. Valid while no machine taking the checkout ships an older Python.
## bin/: host python, no container
2026-09-24, larv-review. Serves goals 1 and 4. The tools drive the host's claude CLI and read the host's session files, which a container cannot see; the tests run the same way. Valid while claude runs on the host.
## comprehension floor: the 2026-09-26 four-seat score is the ratchet, and 0.1.0 waits on what caps it
## comprehension floor: the 2026-09-26 four-seat score is 6.75, and 0.1.0 waits on what caps it
2026-09-26, larv-review, carrying lilleman's 2026-09-24 target of every dimension at 7.0 or above. Serves goal 4. Junior A, Mid A, the maintainability senior and the inherited architect, depth 1 over every non-test file, blind to `todo.md` and this log: Navigation 7.75, Locality 6.25, Shape 7.0, Self-sufficiency 6.75, overall 6.75; on 2026-09-25 they were 8.0, 6.0, 7.0, 6.5, 7.0, over the same files but for one README phrase, so the quarter points are the panel's own drift. Every overall sits on the Locality cap; three of four named `typed` as the unit they would least want to modify, since it rests on a transcript format the repo does not own. The places named sit in `todo.md` under 0.1.0, and a later chunk may not lower any dimension. Valid until the next scoring run, which uses the same four seats.
2026-09-26, larv-review. Serves goal 4. Junior A, Mid A, the maintainability senior and the inherited architect, depth 1 over every non-test file, blind to `todo.md` and this log: Navigation 7.75, Locality 6.25, Shape 7.0, Self-sufficiency 6.75, overall 6.75; on 2026-09-25 they were 8.0, 6.0, 7.0, 6.5, 7.0. Every overall sits on the Locality cap; three of four named `typed` as the unit they would least want to modify, since it rests on a transcript format the repo does not own. The places named sit in `todo.md` under 0.1.0, and a later chunk may not lower any dimension. Shipping the chunk that ran it under `larv-review` §3's 7.0 is lilleman's decision, unrecorded until made. Valid until the next scoring run, which uses the same four seats.
## loop-claude: the five section headers stay
2026-09-26, larv-review, declining a prose-pass deletion under `CLAUDE.md` → "Comments and documentation". Serves goal 4. Two seats of the 2026-09-26 panel credit Navigation 8 to `# The transcript file` and its four siblings indexing the script by the Claude Code internal each group touches. Valid until a scoring run scores Navigation without them.
## vocabulary: the concept words are defined under `CLAUDE.md` → "Vocabulary" and cited by a bare link
-4
View File
@@ -1,9 +1,5 @@
# Frontend principles
Follow all of them. The two groups below are for orientation, not permission to skip the
second one: **foundational stances** are structural bets that are expensive to reverse;
**quality attributes** are the -ilities and UX outcomes you uphold continuously.
General principles (KISS, DRY, …) live in `technical-principles.md` and apply here too.
## Foundational stances
+1 -1
View File
@@ -4,7 +4,7 @@
Log levels have a standard, RFC5424: { emerg: 0, alert: 1, crit: 2, error: 3, warning: 4, notice: 5, info: 6, debug: 7 }.
We follow a simplified variant (sadly with non-matching numbers atm):
We follow a simplified variant:
* **0: Error** - Crash or equivalent catastrophe that needs fairly immediate action.
* **1: Warning** - The app works, for now, but something is wrong and needs to be fixed.
+2 -3
View File
@@ -64,7 +64,7 @@ handful of units with the files around them.
**3. Full sweep, on request.** Every line, tests included, in as many passes as it takes. Slow and
expensive, and the only depth that can say a place is clear because somebody read it. Reserve it
for a deliberate in-depth audit — a number about to be published, a handover being priced, a
sampled score under dispute. A review gate never runs it: gates run depth 1 or 2.
sampled score under dispute.
## The seats
@@ -240,5 +240,4 @@ it apart; it does not by itself prove a ceiling worthless against future drift.
Panelists also surface real defects in passing — dead values, unstated invariants, doc gaps.
Verify each in the code yourself before reporting it; a panelist's incidental claim is a lead, not
a finding. Everything that survives lands where the project's own working loop puts findings — a
plan item under a release, a decision entry — never in chat alone.
a finding. Everything that survives lands per `~/.claude/CLAUDE.md` → "Working loop".
+2 -2
View File
@@ -17,7 +17,7 @@ Words: `~/.claude/CLAUDE.md` → "Vocabulary". Verdicts, severities, round caps,
- Someone else's PR, or the user asked for opinions only → single stability pass, report findings, done (skip shipping, fixing, the loops and the merge).
- Prose only — markdown, docs, comments, no code — → the reviewer loops add nothing: ship the branch (§1), the prose pass (§8), green gate (§9), merge (§11). Say so in the summary. Prose an outside reader lands on — public API docs, README, CHANGELOG, error or deprecation text — still takes §6's product-owner pass.
- Issue trackers are project-specific — the project's own docs say whether it has one. When it does and the work has a ticket, follow that tracker's conventions for assignment and status.
- **Nothing merges and nothing is reported done without premises**, which `~/.claude/CLAUDE.md` → "Working loop" holds all planned work on. Premises missing, or too vague to settle a decision → this chunk cannot be judged: stop, say so, and write them with the user as the chunk instead. That chunk's whole review is the human's approval, since a reviewer's findings on it could only be declined by citing the goals it exists to write; a later change to a goal takes the full review. The same content in `AGENTS.md`, in `docs/` or in a decision log does not satisfy it, and neither does an earlier chunk having passed it. Only what that section lets through without them reaches review.
- **Premises first**, per `~/.claude/CLAUDE.md` → "Working loop". Missing, or too vague to settle a decision → this chunk cannot be judged: stop, say so, and write them with the user as the chunk instead. That chunk's whole review is the human's approval, since a reviewer's findings on it could only be declined by citing the goals it exists to write; a later change to a goal takes the full review. Only what that section lets through without them reaches review.
## 1. Ship the branch (idempotent — skip whatever already exists)
@@ -65,7 +65,7 @@ Run the built-in **`/security-review`** skill over the branch diff. It is the pa
- **HIGH** → verify it is real, then fix it before this chunk ships: inside this chunk's blast radius it is fixed here, outside it on its own branch and PR with this chunk waiting behind it. Say which. A verified HIGH is never filed for later and never put to the human as a question. Verification showing it is not real is no decline but a disproof — record what disproved it, since a finding that is factually wrong needs no goal to reject.
- **MEDIUM** → fix in this chunk, under the protocol's Declining section.
- **LOW** → treat as a 🟢.
- A **MEDIUM or LOW** outside this chunk's scope → a `todo.md` item at the top under `## Security`, naming the exposure and the path it reaches, per `~/.claude/CLAUDE.md` → "Todo items". Say whether it is in this chunk's blast radius; filing it is not fixing it.
- A **MEDIUM or LOW** outside this chunk's scope → a `todo.md` item per `~/.claude/CLAUDE.md` → "Todo items"; filing it is not fixing it.
**Escalate to a full scan** — the `claude-security` plugin (`/claude-security` → "Scan changes"), first-party and agent-verified — when the change touches authn/authz, secrets or crypto, a new untrusted-input boundary, or a new external surface. Same shape of judgment as §2's trigger: a signal with no record behind it, and a user reachable, is an ask. The plugin is not enabled by default; unavailable → say so in the summary rather than substituting a hand-rolled pass.
-2
View File
@@ -1,5 +1,4 @@
#!/usr/bin/env bash
# Claude Code status line. Input: statusline JSON on stdin.
set -uo pipefail
input=$(cat)
@@ -40,7 +39,6 @@ humanize_tokens() {
fi
}
# " 2h15m left (01:23)" for a reset epoch. Weekday shown when it lands on another day.
reset_suffix() {
local epoch=$1 secs at fmt
epoch=$(printf '%.0f' "$epoch")
+2
View File
@@ -17,3 +17,5 @@ Ordered by how many seats of the 2026-09-26 scoring panel (`docs/decisions.md`)
- Rename `granted` in `trust` (`bin/loop-claude:422`) for the paths it holds before the write.
- Give `worker` and `judge` Vocabulary entries, and the interrupt one spelling across `ask`, `needs input` and `interrupt`.
- Move `agents/review-protocol.md` out of `agents/`, beside what binds to it.
- Gate the comprehension floor in `larv-review` §3 on every dimension at 7.0 or above, lilleman's 2026-09-24 target, today the overall.
- Fold `CLAUDE.md` → "One spelling per goal"'s prose-copy bullet into "Comments and documentation", today both say a copy is deleted.