4 Commits

Author SHA1 Message Date
Lilleman abe1f52ff8 Flag unsupported number, threshold and noise claims in docs, and benchmark notes that omit what they leave out
CI / tests (pull_request) Successful in 4m14s
2026-12-01 16:05:35 +01:00
Lilleman 5dedca303d Describe item 567 without the project's feature
CI / tests (pull_request) Successful in 6m47s
2026-12-01 15:51:28 +01:00
Lilleman c8cf50c540 File item 567: make product-owner-reviewer report claims no code makes true yet
CI / tests (pull_request) Has been cancelled
2026-12-01 15:51:18 +01:00
Lilleman 03a63262ec Plan a principle on waiting for another goroutine's work in a test
CI / tests (pull_request) Successful in 3m49s
2026-12-01 15:35:40 +01:00
2 changed files with 56 additions and 4 deletions
-2
View File
@@ -88,8 +88,6 @@ Back up these four folders and one file:
- `~/.claude/do-epic-transcripts`: the transcripts of do-epic's chunks. - `~/.claude/do-epic-transcripts`: the transcripts of do-epic's chunks.
- `~/.local/state/larv-review`: each chunk's review reports. - `~/.local/state/larv-review`: each chunk's review reports.
Leave out Claude Code's memory files in `~/.claude/projects/<folder>/memory/`: Claude Code writes them, so they aren't part of this setup.
To keep loop-claude's transcripts and the reports small, add a crontab line that gzips each transcript and review file 30 days after it last changed, and logs each run with its date: To keep loop-claude's transcripts and the reports small, add a crontab line that gzips each transcript and review file 30 days after it last changed, and logs each run with its date:
```sh ```sh
+56 -2
View File
@@ -6,12 +6,16 @@
`Bar = 0.1` `Bar = 0.1`
`Next ID = 566` `Next ID = 569`
## Items ## Items
| ID | Release | Blocked by | Exempt | Item | L | E | I | R | S | Moves | Score | | ID | Release | Blocked by | Exempt | Item | L | E | I | R | S | Moves | Score |
|---|---|---|---|---|---|---|---|---|---|---|---| |---|---|---|---|---|---|---|---|---|---|---|---|
| 565 | 0.17.0 | | question | **Decide whether Install's backup step covers the agents' memory files under `~/.claude/projects/`, and whether the plan item that lists `~/.claude/rules/this-machine/` names a folder anything writes.** | 1 | 2 | 1 | 2 | 2 | | 0.0 |
| 567 | 0.17.0 | | | **Make product-owner-reviewer report each sentence of the change that states a behaviour no code makes true yet, including one a later plan item will make true.** | 1 | 2 | 2 | 3 | 1 | 1.1 by 2 | 0.7 |
| 568 | 0.17.0 | | | **Make the prose and product-owner reviewers flag a number, threshold or "noise" claim in a README that no measurement in the change supports, and a measurement note that omits what it leaves out.** | 1 | 2 | 1 | 2 | 2 | 1.1 by 2 | 0.7 |
| 566 | 0.17.0 | | | **Add to `technical-principles.md` that a test waits for work another goroutine or process does on a signal the code or its fake sends, never on a count read straight after the call.** | 1 | 2 | 1 | 2 | 1 | 1 by 1 | 0.4 |
| 480 | 0.18.0 | | owner | **Resolve every path the tools use in one module: the release root (the folder the running code ships in), the config folder, the state folder and the Claude home. Then only that module names `~/.claude`, and the loop still runs from `~/.claude`.** | 3 | 2 | 3 | 6 | 6 | 1.6 by 3, code health by 3 | 1.9 | | 480 | 0.18.0 | | owner | **Resolve every path the tools use in one module: the release root (the folder the running code ships in), the config folder, the state folder and the Claude home. Then only that module names `~/.claude`, and the loop still runs from `~/.claude`.** | 3 | 2 | 3 | 6 | 6 | 1.6 by 3, code health by 3 | 1.9 |
| 481 | 0.18.0 | 480 | owner | **Put the release's tools on `PATH` for every session the loop starts and every hook it runs, name them bare in the prose in place of `~/.claude/bin/<tool>`, and refuse the old spelling in new prose.** | 3 | 2 | 3 | 6 | 6 | 1.4 by 2, 2 by 2, code health by 2 | 1.5 | | 481 | 0.18.0 | 480 | owner | **Put the release's tools on `PATH` for every session the loop starts and every hook it runs, name them bare in the prose in place of `~/.claude/bin/<tool>`, and refuse the old spelling in new prose.** | 3 | 2 | 3 | 6 | 6 | 1.4 by 2, 2 by 2, code health by 2 | 1.5 |
| 561 | 0.18.0 | | | **Clean up a do-epic chunk whose pull request has merged without waiting for a running slot, and close its window.** | 2 | 2 | 2 | 4 | 3 | 1.5 by 2 | 0.5 | | 561 | 0.18.0 | | | **Clean up a do-epic chunk whose pull request has merged without waiting for a running slot, and close its window.** | 2 | 2 | 2 | 4 | 3 | 1.5 by 2 | 0.5 |
@@ -106,6 +110,56 @@
## Details ## Details
### 565. Decide whether Install's backup step covers the agents' memory files under `~/.claude/projects/`, and whether the plan item that lists `~/.claude/rules/this-machine/` names a folder anything writes.
Two questions for the human. The chunk that takes this item writes each answer once: in `README.md` → `## Install`, and in item 484's detail.
(a) Should Install's backup list hold the agents' memory files? `README.md`'s goal 3 says Install lists every file of the setup that lives outside this repo. Install's step "Back up these four folders and one file" lists `~/.claude-projects/`, `~/.claude/loop-claude-models.json`, `~/.claude/loop-claude-transcripts`, `~/.claude/do-epic-transcripts` and `~/.local/state/larv-review`. Claude Code keeps each agent's memory in `~/.claude/projects/<folder>/memory/`, one folder per project. Those files belong to one machine too: `.gitignore` keeps them out of this repo (`git check-ignore -v projects/x/memory/MEMORY.md` names `.gitignore`'s `*` rule). They may hold private details, such as where a secret is kept, which `CLAUDE.md` → "Handoffs" keeps out of the repo.
Recommendation: add `~/.claude/projects/*/memory/` to the list, since losing it loses facts the repo may not hold, and goal 3 asks for every such file. Say beside it that its backup must stay private, as goal 4 asks, since it may name where secrets live. Leave out the rest of `~/.claude/projects/`: it holds session transcripts that Claude Code writes, not this setup.
(b) Should item 484 drop `~/.claude/rules/this-machine/`? Item 484's detail says the setup's state lives today in `~/.claude-projects/`, `~/.claude/rules/this-machine/`, `~/.claude/*-transcripts` and `~/.local/state/larv-review`. No file in this repo reads or writes `~/.claude/rules/this-machine/`.
Recommendation: drop it from item 484's detail, unless the human keeps files there by hand. The edit is a change to a filed item, so it runs on the plan rung.
Touches:
- `README.md`: `## Install` (small)
### 567. Make product-owner-reviewer report each sentence of the change that states a behaviour no code makes true yet, including one a later plan item will make true.
An outside reviewer caught what our review missed. A chunk added a doc paragraph that promised an effect, which held for one output and not for another. The product-owner reviewer had seen the gap and left it out of its report because a plan item already covers the missing half. The plan item makes the promise true later; until it ships, the paragraph the chunk adds is false for a reader who relies on it.
Add one rule to `agents/product-owner-reviewer.md` → `## Your Review Method`:
- Where the change's own new or edited text, in docs, help or error text, states a behaviour, check that the code the change ships makes it true everywhere the text says it holds.
- A plan item that will make it true later doesn't remove the finding. The finding is a 🟡, and its fix qualifies the sentence to what holds today, or the chunk ships the item first. Text the change didn't touch that is false for the same reason stays unreported.
A finding names the sentence and the output or case where it doesn't hold.
Why the setup missed it: the reviewer's own scope line allows a finding only for a plan requirement the change breaks, and read the plan as a reason to stay silent. No tool checks a doc claim against behaviour.
Touches:
- `agents/product-owner-reviewer.md`: `## Your Review Method` (small)
### 568. Make the prose and product-owner reviewers flag a number, threshold or "noise" claim in a README that no measurement in the change supports, and a measurement note that omits what it leaves out.
A change that publishes benchmark figures drew two outside-reviewer findings our passes missed: a rule of thumb ("differences under 10% are noise") that the table's own rows contradicted, and a note that called work "background" when the exporters had simply discarded it, so encoding and network I/O were absent rather than hidden. Both are claims about a measurement, written without the data to hold them.
A finding names the sentence, the figure or run-to-run spread that contradicts it, or the work the setup leaves out. Add it to `agents/prose-reviewer.md` and `agents/product-owner-reviewer.md` as one line each: a number, threshold or "noise" claim in docs must follow from figures the change reports, and a benchmark note must say what the setup leaves out.
Why the setup missed it: the reviewers read the sentence for style and plain meaning, and no tool compares a claim in prose with the figures beside it.
Touches:
- `agents/prose-reviewer.md`: `## Your Review Method` (small)
- `agents/product-owner-reviewer.md`: `## Your Review Method` (small)
### 566. Add to `technical-principles.md` that a test waits for work another goroutine or process does on a signal the code or its fake sends, never on a count read straight after the call.
An outside reviewer found a test that counted the connections a fake server had accepted straight after the calls that made them. The server's accept loop runs on its own goroutine, so the count can lag, and the test could fail with nothing wrong. Our stability review passed it twice, and the fix I first reached for was a sleeping poll, which the principle "A test neither sleeps nor asserts on the wall clock" bans. The principle names the sleep but gives no way to wait without one.
Add one bullet beside it under "Most, if not all, code should have automated tests": a test that reads state another goroutine, process or queue sets waits on a signal that the code under test or its fake sends, such as a channel or a callback, with a timeout that only fails the test. BANNED: `assert len(server.connections) == 3` right after the client calls. GOOD: the fake sends on a channel per connection, and the test receives three times, with a timeout.
Touches:
- `principles/technical-principles.md`
### 480. Resolve every path the tools use in one module: the release root (the folder the running code ships in), the config folder, the state folder and the Claude home. Then only that module names `~/.claude`, and the loop still runs from `~/.claude`. ### 480. Resolve every path the tools use in one module: the release root (the folder the running code ships in), the config folder, the state folder and the Claude home. Then only that module names `~/.claude`, and the loop still runs from `~/.claude`.
Part of the standalone-install plan lilleman approved on 2026-11-20. Today about 160 references in some 40 modules name `~/.claude`; `bin/loop_state/paths.py` holds a few. This item changes no behaviour. Part of the standalone-install plan lilleman approved on 2026-11-20. Today about 160 references in some 40 modules name `~/.claude`; `bin/loop_state/paths.py` holds a few. This item changes no behaviour.
@@ -138,7 +192,7 @@ Part of the standalone-install plan lilleman approved on 2026-11-20. Once the lo
### 484. Keep project configs, this machine's rules, transcripts and review reports in `~/.config/build-release/` and `~/.local/state/build-release/`, move them there with `build-release migrate`, and have rule-hook guard the new places. ### 484. Keep project configs, this machine's rules, transcripts and review reports in `~/.config/build-release/` and `~/.local/state/build-release/`, move them there with `build-release migrate`, and have rule-hook guard the new places.
Part of the standalone-install plan lilleman approved on 2026-11-20. Today they live in `~/.claude-projects/`, `~/.claude/*-transcripts` and `~/.local/state/larv-review`. Read the old places for one release, warning on each read. From the first release that reads project configs from `~/.config/build-release/`, rule-hook must read each `env-file` from those configs and refuse a read of it. Part of the standalone-install plan lilleman approved on 2026-11-20. Today they live in `~/.claude-projects/`, `~/.claude/rules/this-machine/`, `~/.claude/*-transcripts` and `~/.local/state/larv-review`. Read the old places for one release, warning on each read. From the first release that reads project configs from `~/.config/build-release/`, rule-hook must read each `env-file` from those configs and refuse a read of it.
### 487. Run larv-review's passes from a program that picks them from the diff and the item, counts rounds against the cap and decides each rerun, with each reviewer returning its findings as JSON against a schema. ### 487. Run larv-review's passes from a program that picks them from the diff and the item, counts rounds against the cap and decides each rerun, with each reviewer returning its findings as JSON against a schema.