File item 569: rerun stability on a 🟡 fix that adds a new unit of behaviour #771

Merged
lilleman merged 2 commits from setup-gap-new-mechanism-fix into main 2026-12-01 16:46:13 +01:00
+15 -1
View File
@@ -6,13 +6,15 @@
`Bar = 0.1`
`Next ID = 569`
`Next ID = 571`
## Items
| ID | Release | Blocked by | Exempt | Item | L | E | I | R | S | Moves | Score |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 570 | 0.17.0 | | defect | **Make `test_waits_out_a_usage_limit_which_ends_a_run_of_failures` pass whatever the time of day; today it fails on some runs by ten seconds.** | 1 | 1 | 1 | 1 | 1 | code health by 2 | 2.9 |
| 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 |
| 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 |
@@ -109,6 +111,10 @@
## Details
### 570. Make `test_waits_out_a_usage_limit_which_ends_a_run_of_failures` pass whatever the time of day; today it fails on some runs by ten seconds.
`bin/loop_claude/test_black_box.py:713` expected the waits `[60, 60, 3720, 60, 600]` and got `[60, 60, 3710.0, 60, 600]` in CI run 7565, on a pull request that changed only `todo.md`. The wait until the usage limit resets seems to depend on the wall clock at the moment the test runs. Give the test a fixed clock, so the wait is the same on every run.
### 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.
@@ -124,6 +130,14 @@ Why the setup missed it: the reviewer's own scope line allows a finding only for
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.
Add a row to the Re-entry table, in `skills/larv-review/SKILL.md` and wherever `bin/review_rules/` mirrors it: a fix for a 🟡 that adds a unit of behaviour the pass has not seen, such as a new type, a guard, a counter or shared state, reruns Stability. A fix that only changes existing lines of a unit stays as today. The round cap still holds.
No deterministic tool fits: whether a fix adds a mechanism is a judgement on the diff.
### 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.