Files
claude-config/todo.md
T

12 KiB

todo

Scoring

Score = -R - S/4 + 2*A + 2*G*W

Bar = 9

Next ID = 46

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
39 0.1.0 defect Run larv-review's security pass so it hands back to the run, and the run goes on to the next pass without the user prompting it. 2 2 10 10 4, 4.2 30.9
41 0.1.0 defect Accept a judge's quote that elides with an ellipsis when its fragments appear in the transcript in order, and tell the judge to quote one passage. 2 2 10 10 4, 4.2 30.9
17 0.1.0 decision Make JUDGE_RULES and the Claude Code flags loop-claude passes readable without CLAUDE.md or Claude Code's docs open. 1 2 10 9 4, 4.1 30.6
13 0.1.0 decision Make larv-review §3 applicable on its own, cite its rules by name, and say where a pass's round count is recorded. 3 5 10 10 4, 4.1 29.1
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
42 0.1.0 decision Give the judge's contract one home, so its prompt, reply schema, parser and --help cannot drift apart. 3 4 9 9 4, 4.1 26.1
44 0.1.0 decision Move the modules rank_todo.py shares out from under loop_claude/, keeping them inside reload's fingerprint. 2 2 8 8 4, 4.1 24.2
43 0.1.0 decision Give "record", "verdict" and "judge" one meaning each across loop-claude, larv-review and workflow-bench. 2 3 8 8 4, 4.1 24.0
23 0.1.0 Launch a principles auditor only for a principles file the project shows applies, and rerun only the reviewer whose finding a fix answers. 3 4 7 8 4.4 13.5
40 0.1.0 Render tool input in the judged transcript with its non-ASCII characters as written, so the judge's quotes of it match the transcript. 2 1 5 6 4.2 13.0
21 0.1.0 Give settings.json's model one writer, and sort its keys. 3 3 6 7 4.3 12.9
36 0.1.0 Ask the user once before a full security scan, folding larv-review's ask into the plugin's cost prompt. 2 2 5 5 4.2 11.9
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
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
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
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
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
45 0.1.0 principle Sort each Python file's imports by the first name each binds. 2 3 3 3 4.1 6.6

Details

39. Run larv-review's security pass so it hands back to the run, and the run goes on to the next pass without the user prompting it.

larv-review §3 runs /security-review through the Skill tool, in the run's own context. That skill's prompt ends "Your final reply must contain the markdown report and nothing else", so the run's turn ends on the report: stability, product-owner, prose, the gate and the merge never run, and the user has to prompt the run to go on. Seen on 2026-10-03 in fejkdata PR #145. One fix: launch the security pass as a subagent given that skill's prompt, so its final reply is the subagent's, and larv-review's turn continues.

41. Accept a judge's quote that elides with an ellipsis when its fragments appear in the transcript in order, and tell the judge to quote one passage.

On 2026-10-03 the log project's loop exited 1: "the judge failed three times running: the judge quoted "Decision for you: security, … ... I recommend one more round of each ... I recommend skipping it: …", which is not in the transcript". Each fragment the judge joined with " ... " is in the rendered transcript; grounded matches the evidence as one contiguous string, so a correct interrupt was rejected three times and the human was never asked. The archive is ~/.claude/loop-claude-transcripts/log/dbac9d7096282d2bc6c38fc8c03cd74b50d29b75080b1f647c0f305a088db894/5d8c9152cdcd91e90dfd2773cd81c9e64bcd412ff148c5cf19e2a728ceee5028.verdict.md. Fix both ends: grounded splits on ... and … and finds the fragments in order, and the evidence description asks for one contiguous passage.

17. Make JUDGE_RULES and the Claude Code flags loop-claude passes readable without CLAUDE.md or Claude Code's docs open.

The 2026-10-02 scoring runs on PR #191 named both under Self-sufficiency: the judge's rules use "chunk" and "a release ready to cut" from CLAUDE.md with no link, and --resume, --session-id, --no-session-persistence, --json-schema and stream-json's result event go unexplained in worker.py and judge.py.

13. Make larv-review §3 applicable on its own, cite its rules by name, and say where a pass's round count is recorded.

Applying one rule of "Round cap", "Re-entry" or "Findings" takes review-findings.md, CLAUDE.md → "Vocabulary" and the decision log open beside it. The rules cite each other by number ("Round cap" rule 6), so a renumbering breaks a citation silently. Nothing says where a pass's round count is recorded, so a resumed or compacted session loses it.

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. Before writing the README line, check that ~/.claude lives on that volume and that the backup is private and encrypted at rest.

42. Give the judge's contract one home, so its prompt, reply schema, parser and --help cannot drift apart.

The 2026-10-03 scoring runs on PR #202 named it under Self-sufficiency and Locality: what a reply means is stated in JUDGE_RULES, the Reply field descriptions, verdict_from's precedence, transition's cap and the --help docstring, and the repeated-question rule lives only in the prompt. Derive each from one definition, or tie it to that definition with a test; the interrupt wording moves out of transition into run.ask.

44. Move the modules rank_todo.py shares out from under loop_claude/, keeping them inside reload's fingerprint.

Named under Shape by the same runs: failure.py, file_writes.py and markdown_sections.py sit in loop-claude's package because reload.fingerprint hashes only loop_claude/**/*.py, and nothing at the package says a second tool depends on them. Widen the fingerprint to a named shared package.

43. Give "record", "verdict" and "judge" one meaning each across loop-claude, larv-review and workflow-bench.

Named under Shape by the same runs: loop-claude's records are AGENTS.md and docs/decisions.md, larv-review's "record" is a decision-log entry or plan item older than the chunk; Verdict is the judge's ruling and <sha>.verdict.md also holds stop reasons; cycle/judge.py and workflow-bench/judge.py are different judges.

23. Launch a principles auditor only for a principles file the project shows applies, and rerun only the reviewer whose finding a fix answers.

On this repo the frontend, REST and logging auditors each read the whole project to report "does not apply", and one 🟢 fix reruns ten whole-project reads.

40. Render tool input in the judged transcript with its non-ASCII characters as written, so the judge's quotes of it match the transcript.

part_line renders a tool call with json.dumps(arguments), which escapes non-ASCII as \uXXXX. A judge that quotes such a line with its characters as written, such as Swedish text, fails grounded three times on one transcript, and the loop exits 1. Raised, unverified, by the 2026-10-03 scoring run on PR #202.

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.

36. Ask the user once before a full security scan, folding larv-review's ask into the plugin's cost prompt.

When the full scan fires, "Record, then ask" rule 3 asks whether to run it, and claude-security then asks the user to confirm its cost.

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.

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.

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.

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.

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.

45. Sort each Python file's imports by the first name each binds.

The principle "Deterministic order wherever order carries no meaning" sorts imports on their first binding; bin/loop_claude/ and bin/rank_todo.py sort from loop_claude… imports by module path, as in loop/main.py and cycle/run.py, so moving a module reorders imports in every file that uses it. Filed by the 2026-10-03 principles audit on PR #202.