Make product-owner-reviewer report each sentence the change promises that no shipped code makes true #776

Merged
lilleman merged 6 commits from item-567 into main 2026-12-01 17:24:26 +01:00
3 changed files with 3 additions and 16 deletions
+1
View File
@@ -2,6 +2,7 @@
## Unreleased
- The product-owner reviewer reports each sentence of a change that promises a behaviour the shipped code doesn't make true, even where a plan item will make it true later.
- The technical principles now say that a test waits on a signal the code or its fake sends when it reads state another goroutine, process or queue sets, never on a count read straight after the call.
- Added the project config folder and the models file to the install's backup step, and worded goal 3 to point at that list.
- Worded goal 1 for any agent harness and model, and goal 3 for the setup's files with this repo as their copy.
+2
View File
@@ -47,6 +47,8 @@ Before anything else, **read the technical principles** in the folder your promp
7. **Check each claim about output against its run.** A changed doc line that says what a command, flag or error prints, or what a command writes, is true only if the real output or the written file says so. Where your prompt has a `Claimed output:` line, that file holds each such claim's command and real output, or the lines it wrote. Report a claim the output or the written lines don't bear out, such as an error said to name the fix that doesn't, and name the missing words. Never settle one by reading code. A claim marked `not run`, or one you find that the prompt doesn't hand you a run of, is a ❓ naming the command that would run it.
8. **Check each behaviour the change's own text promises against the code it ships.** Where text the change adds or edits, in docs, error text or help, states a behaviour other than what step 7 checks against a run, check that the shipped code makes it true everywhere the text says it holds, such as for each flag, input or output. Report each sentence the code doesn't make true as a 🟡, even where a plan item will make it true later. Its fix qualifies the sentence to what holds today, or ships the item first. Name the sentence and the output or case where it doesn't hold. Text the change didn't touch that is false for the same reason stays unreported.
## Your Output Format
Report only a defect a persona hits; a requirement that the change breaks, of the plan in the file your prompt's `Plan:` line names, of the goals in the file your prompt's `Goals and audience:` line names, or of code health (`~/.claude/CLAUDE.md` → "Shared goal", unless that file voids it); or a breach of a technical principle, or of a coding convention, which counts as one. Friction that is none of these is not a finding.
-16
View File
@@ -12,7 +12,6 @@
| ID | Release | Blocked by | Exempt | Item | L | E | I | R | S | Moves | Score |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 |
| 569 | 0.17.0 | | | **Rerun the stability pass on a fix for a 🟡 that adds a new unit of behaviour, such as a guard or shared state; today no pass reads it.** | 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 |
| 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 |
@@ -110,21 +109,6 @@
## Details
### 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)
### 569. Rerun the stability pass on a fix for a 🟡 that adds a new unit of behaviour, such as a guard or shared state; today no pass reads it.
A chunk's product-owner round raised a 🟡: a callback could recurse. The fix added a new mechanism, a shared counter that guards the callback. `larv-review` §3 → "Re-entry" reruns no pass for a 🟡 fix unless it loosens a test, so no reviewer of ours read the mechanism. The forge's auto-reviewer then found that a second entry point bypassed the guard.