12 KiB
todo
Scoring
Score = -R - S/4 + 2*A + 2*G*W
Bar = 9
Next ID = 71
| Goal | W |
|---|---|
| 1 | 1.00 |
| 2 | 0.89 |
| 3 | 0.78 |
| 4 | 0.67 |
| 4.1 | 0.56 |
| 4.2 | 0.44 |
| 4.3 | 0.33 |
| 4.4 | 0.22 |
| 4.5 | 0.11 |
Items
| ID | Release | Exempt | Item | R | S | A | G | Goals | Score |
|---|---|---|---|---|---|---|---|---|---|
| 64 | 0.1.0 | security | Check the settings.json diff for secrets before the first push under AGENTS.md's working rule. |
2 | 2 | 6 | 7 | 3 | 20.4 |
| 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 |
| 63 | 0.1.0 | Give README → Install a command that checks the repo out into the ~/.claude Claude Code already created. |
2 | 2 | 7 | 8 | 1 | 27.5 | |
| 60 | 0.1.0 | Rerun the scoring run before merge whenever a fix landed after the last one, 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 Self-sufficiency and the overall to the comprehension floor, at the places the seats name. | 4 | 6 | 6 | 8 | 4.1 | 15.5 |
| 70 | 0.1.0 | question | Record whether settings.json's "defaultMode": "auto" with the dangerous-mode prompt skipped is deliberate. |
2 | 1 | 4 | 5 | 3 | 13.6 |
| 65 | 0.1.0 | Archive each judge reply the loop rejects, not only the last. | 3 | 4 | 4 | 5 | 2 | 12.9 | |
| 21 | 0.1.0 | Give settings.json's model one writer, and sort its keys. |
3 | 3 | 6 | 7 | 4.3 | 12.9 | |
| 49 | 0.1.0 | principle | Check that AGENTS.md lists exactly the titles of docs/decisions.md. |
1 | 2 | 5 | 6 | 4.3 | 12.5 |
| 12 | 0.1.0 | Run the test suite in CI on every PR, or record in docs/decisions.md why the local run is enough. |
2 | 4 | 4 | 6 | 4.1 | 11.7 | |
| 59 | 0.1.0 | Bound a run of unfinished verdicts on one chunk, so a worker and judge that disagree cannot cycle unattended without end. | 3 | 3 | 6 | 6 | 4.4 | 10.9 | |
| 5 | 0.1.0 | decision | Key a project on its checkout's full path, and refuse to start while another session uses that key. | 5 | 5 | 5 | 6 | 4.1 | 10.5 |
| 66 | 0.1.0 | principle | Hold systems-architect's method thresholds only while the comprehension panel finds the flagged code hard. | 3 | 3 | 4 | 5 | 4.1 | 9.9 |
| 4 | 0.1.0 | Name each chunk's archive folder by the chunk's start time, so <key>/ lists chunks in the order they ran. |
3 | 2 | 4 | 3 | 2 | 9.8 | |
| 50 | 0.1.0 | principle | Grant the bench's runs only the tools a review needs, in place of skipping every permission. | 2 | 2 | 3 | 4 | 3 | 9.7 |
| 69 | 0.1.0 | principle | Measure test coverage, so a chunk that lowers it is seen. | 3 | 4 | 4 | 5 | 4.1 | 9.6 |
| 29 | 0.1.0 | Make the contributor a standing member of every project's audience, unless its ## Audience says maintainability does not matter. |
2 | 2 | 3 | 5 | 4.1, 4.4 | 9.1 | |
| 68 | 0.1.0 | principle | Test workflow-bench/compare.py's blinding and bench.py's run plan. |
2 | 4 | 3 | 5 | 4.1 | 8.6 |
| 67 | 0.1.0 | principle | Point stability-reviewer at the technical principles in place of its own restatement of them. | 2 | 3 | 4 | 5 | 4.3 | 8.6 |
| 52 | 0.1.0 | principle | Record why this checkout lives in Claude Code's own directory, or move it out and link it in. | 6 | 6 | 3 | 5 | 1 | 8.5 |
| 6 | 0.1.0 | decision | Move what loop-claude writes out of ~/.claude.json, and ask the human about each write that must stay. |
5 | 5 | 4 | 5 | 4.1 | 7.4 |
| 51 | 0.1.0 | principle | Hand loop-claude's terminal output to an injected effect, so no storage or retry function prints. | 3 | 5 | 3 | 5 | 4.1 | 7.4 |
Details
64. Check the settings.json diff for secrets before the first push under AGENTS.md's working rule.
Goal 3, raised by the principles audit of PR #215. Exposure: Claude Code writes env and mcpServers into settings.json, where a token lands. Path: AGENTS.md → "Working rules" commits uncommitted changes to that file on a branch, and larv-review §2 pushes it and opens the PR before /security-review runs, so a token reaches the remote unchecked.
1. Say in README → Install how the transcript archive is backed up, once bender-infra backs up ai-sandbox's data volume.
It lives under ~/.claude, which .gitignore keeps from the remote, so a lost disk loses every unattended run's record. Back it up only to a destination private to me and encrypted at rest: the worker runs with permissions bypassed, so the archived tool results can hold credentials it read.
2026-10-02, the human: ai-sandbox is the VM loop-claude will run on, hosted on the server bender. bender-infra, the infrastructure-as-code project that manages bender, will back up ai-sandbox's data volume once ai-sandbox is rebuilt. The item waits for the human to say the rebuild has landed; do not remind them. Before writing the README line, check that ~/.claude lives on that volume and that the backup is private and encrypted at rest.
The README line covers the bench's transcripts in workflow-bench/logs/ too (goal 2).
63. Give README → Install a command that checks the repo out into the ~/.claude Claude Code already created.
Goal 1, raised by the principles audit of PR #215: Claude Code creates ~/.claude on its first run, git clone refuses a directory that is not empty, and Install names neither the remote nor another way in.
60. Rerun the scoring run before merge whenever a fix landed after the last one, 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 that neither carries an architectural decision nor answers an architecture 🔴 or 🟡 merges after the last scoring run, 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. Exempt a commit that only writes records into docs/decisions.md, todo.md or CHANGELOG.md.
62. Lift Self-sufficiency and the overall to the comprehension floor, at the places the seats name.
Raised by the principles audit of PR #215 against KISS, in principles/technical-principles.md, and goal 4.1: the comprehension floor: entry in docs/decisions.md lists seven ships under the floor and 0.1.0 waits on it, yet no item names the places to fix. PR #215's seats named, under Self-sufficiency: skills/larv-review/SKILL.md, which needs CLAUDE.md → "Vocabulary" open beside it; the archive layout, defined only in bin/loop_claude/loop/main.py's docstring and not at cycle/archive.py; JUDGE_RULES' precedence in cycle/judge_reply.py, restated by verdict_from's branch order and the Reply field descriptions; the sys.path insert in bin/loop-claude that the from failure import lines rely on, unstated at the import sites.
70. Record whether settings.json's "defaultMode": "auto" with the dangerous-mode prompt skipped is deliberate.
"Always grant explicit access to data", in principles/technical-principles.md: a classifier grants tool access across ~/code with no explicit allow list, and no decision records why.
65. Archive each judge reply the loop rejects, not only the last.
Goal 2, raised by the principles audit of PR #215: the judge runs with --no-session-persistence, and the first two rejected replies reach only stderr, so the archive cannot answer the 3am question of why the loop rejected a verdict.
21. Give settings.json's model one writer, and sort its keys.
Claude Code rewrites "model" in this tracked file whenever a model is picked, so one /model dirties the checkout and overrides the synced choice.
Every write Claude Code makes to the file rewrites "model", claude plugin install included: Claude Code 2.1.288 turned "opus" into "opus[1m]". Each write also puts the keys back in Claude Code's own order, so a sorted file stays sorted only until the next write.
49. Check that AGENTS.md lists exactly the titles of docs/decisions.md.
DRY, in principles/technical-principles.md: the list is copied by hand, and sessions work from the copy.
12. Run the test suite in CI on every PR, or record in docs/decisions.md why the local run is enough.
The repo has no CI, so larv-review's gate is the local run, and larv-review's Gate skips even that when the last stability round left the suite green: an unattended chunk can merge on the worker's own word.
59. Bound a run of unfinished verdicts on one chunk, so a worker and judge that disagree cannot cycle unattended without end.
Raised by the product-owner review of PR #211. The resumed worker gets the judge's quote of the work remaining, but a worker that still thinks the chunk done can answer each cycle the same way, and each cycle costs a worker and a judge run (goal 4.4).
5. Key a project on its checkout's full path, and refuse to start while another session uses that key.
The key names the project's session, archive folder and models entry. project_key drops the leading /, so ~/code/a and /a share all three, and one loop can resume or delete the other's session.
66. Hold systems-architect's method thresholds only while the comprehension panel finds the flagged code hard.
KISS, in principles/technical-principles.md, which keeps a limit only while readers find the flagged code hard. agents/systems-architect.md makes cyclomatic 7 and 24 lines gate rules from the first commit, a 🔴 unless a reason is stated.
4. Name each chunk's archive folder by the chunk's start time, so <key>/ lists chunks in the order they ran.
Today the folder is the SHA-256 of the transcript's first timestamped line, which tells the human nothing; that line carries the start time. Drop the fallback to the first line, which every chunk of a project shares, and give the tests' fake transcripts ISO timestamps.
50. Grant the bench's runs only the tools a review needs, in place of skipping every permission.
"Always grant explicit access to data", in principles/technical-principles.md: workflow-bench/bench.py starts claude with --dangerously-skip-permissions, and no rule confines it to a sandbox, so a run on the host reaches the host's credentials and other checkouts.
69. Measure test coverage, so a chunk that lowers it is seen.
"Test coverage should not decline", in principles/technical-principles.md: nothing reports coverage, so a chunk that deletes a test or adds untested code passes unseen.
29. Make the contributor a standing member of every project's audience, unless its ## Audience says maintainability does not matter.
State that in CLAUDE.md's goals-and-audience rule, and have larv-review's comprehension floor name the contributor as the reader it serves. The floor then gates every chunk while the contributor stands, and a project that drops them skips it.
68. Test workflow-bench/compare.py's blinding and bench.py's run plan.
"Most, if not all, code should have automated tests", in principles/technical-principles.md: compare.blind() keeps the comparison blind, and a version name it misses invalidates the bench silently.
67. Point stability-reviewer at the technical principles in place of its own restatement of them.
DRY, in principles/technical-principles.md: agents/stability-reviewer.md restates principles in its own words, and the copy has drifted: it asks for "properly randomised UUIDs" where the principle requires UUID v7.
52. Record why this checkout lives in Claude Code's own directory, or move it out and link it in.
"One owner per value" and "Prefer the vendor-neutral option", in principles/technical-principles.md: git, Claude Code and loop-claude all write ~/.claude, kept apart only by the .gitignore allowlist, and the repo's records live in a vendor directory.
6. Move what loop-claude writes out of ~/.claude.json, and ask the human about each write that must stay.
Claude Code owns that file and writes it. trust reads it, changes it and writes it back, so a write that lands in between is lost.
51. Hand loop-claude's terminal output to an injected effect, so no storage or retry function prints.
"Functional core, imperative shell", in principles/technical-principles.md: archive, trust, retried, the worker, interrupt and model_choice print to stderr themselves, and the tests swap the global stream.