diff --git a/todo.md b/todo.md index 2b967135..40d7d07f 100644 --- a/todo.md +++ b/todo.md @@ -13,6 +13,7 @@ | ID | Release | Blocked by | Exempt | Item | L | E | I | R | S | Moves | Score | |---|---|---|---|---|---|---|---|---|---|---|---| | 543 | 0.16.0 | | | **Add to the testing principles that a test scanning rows for an exception asserts the exception exists, and that a data importer does not drop a row its own fixups complete.** | 1 | 2 | 3 | 4 | 2 | 1.1 by 3 | 1.2 | +| 544 | 0.16.0 | | owner | **Have stability-reviewer check, for each input shape a change starts to handle, its neighbours: each part alone, the parts in another order, and a part missing, each compared with what the base made of the same input.** | 1 | 2 | 2 | 3 | 1 | 1.1 by 2 | 0.9 | | 524 | 0.16.0 | | owner | **Write fejkdata's first six bench features, each a spec, acceptance tests in Go and a reference patch that builds it, in the `bench-tasks` folder its config names.** | 3 | 2 | 1 | 4 | 6 | 1.1 by 3 | 0.5 | | 527 | 0.16.0 | | owner | **Plant bugs for `task-bench` in TypeScript, from the mutants Stryker kills.** | 3 | 2 | 1 | 4 | 4 | 1.1 by 1 | 0.3 | | 528 | 0.16.0 | | owner | **Plant bugs for `task-bench` in PHP, from the mutants Infection kills.** | 3 | 2 | 1 | 4 | 4 | 1.1 by 1 | 0.3 | @@ -98,7 +99,6 @@ | 519 | 0.23.0 | | | **Make stability-reviewer check that a test which runs git, or a script that runs git on another repository, isolates it from the caller's git environment.** | 1 | 2 | 2 | 3 | 1 | 1.1 by 2 | 0.9 | | 534 | 0.23.0 | | | **Have the stability and product-owner reviewers follow three paths an outside reviewer found unchecked: the loser of a create race, a stored null reaching a typed parameter, and each documented outcome against the order of the code's branches.** | 1 | 2 | 2 | 3 | 1 | 1.1 by 2 | 0.9 | | 535 | 0.23.0 | | | **Have stability-reviewer check four things an outside reviewer and two failed gate runs found unchecked: that a timeout bounds the I/O it wraps, that no early error hides an outcome's class, that a test takes its timestamps where the events happen, and that it waits for every state it depends on before it disrupts the system.** | 1 | 2 | 2 | 3 | 1 | 1.1 by 2 | 0.9 | -| 544 | 0.23.0 | | | **Have stability-reviewer check, for each input shape a change starts to handle, its neighbours: each part alone, the parts in another order, and a part missing, each compared with what the base made of the same input.** | 1 | 2 | 2 | 3 | 1 | 1.1 by 2 | 0.9 | | 298 | 0.23.0 | | | **Send the judge only the decision entries and the transcript tail a verdict needs, and keep the cut only where `judge-replay` changes no verdict kind.** | 3 | 3 | 3 | 7 | 4 | 1.4 by 2, 1.5 by 1 | 0.9 | | 265 | 0.23.0 | | | **Archive each wait that costs a chunk wall time, for a usage limit, low memory, a failed worker start or a heavy slot, with its start and end stamps, so goal 1.5's hours split waiting from work.** | 3 | 2 | 2 | 5 | 4 | 1.5 by 3 | 0.8 | | 475 | 0.23.0 | | | **Have stability-reviewer report, as a finding, each lookup that an input from outside the repo can make fail without an error naming what was missing.** | 1 | 1 | 2 | 2 | 2 | 1.1 by 2 | 0.8 | @@ -124,6 +124,18 @@ Two findings an outside reviewer raised on a data change that our review missed: Put the first in `principles/technical-principles.md` under tests ("each test earns its keep"), and the second beside the rule on inputs that cannot disagree or in stability-reviewer's checks. Where a deterministic check can find the first, such as a mutant that deletes the exception's row, prefer that over prose. +### 544. Have stability-reviewer check, for each input shape a change starts to handle, its neighbours: each part alone, the parts in another order, and a part missing, each compared with what the base made of the same input. + +An outside reviewer found two defects our review passed, in a parser change that read a party's address from structured fields beside free-text lines: + +- The change handled "both structured fields present" and "both missing", and the ticket said to split the free text only when both were missing. With only one present, the new code lost a value the base had filled. The stability reviewer saw the case, since tests pinned it, but checked it against the ticket's words, not against the base's output. +- A rule that left out a free-text line repeating the structured fields matched only the one order seen in the data, not either field alone or the other order. + +Add to `agents/stability-reviewer.md`: for each input shape a change starts to handle, list its neighbours (each part alone, the parts in another order, a part missing or blank) and compare what the change makes of each with what the base made. A field the base filled and the change leaves empty is a 🟡 unless the ticket names that input, and a 🔴 where it loses data users relied on. Before acting, a ticket's acceptance criterion "everything else stays as before" outranks its proposed rule's literal wording. + +Touches: +- `agents/stability-reviewer.md`: `### 5. Edge Cases & Input Validation` (small) + ### 524. Write fejkdata's first six bench features, each a spec, acceptance tests in Go and a reference patch that builds it, in the `bench-tasks` folder its config names. The second part of item 504, which says what a bench feature is and when a run counts. A stronger model than the project's writes the six, once. Each breaks one of fejkdata's goals while it would suit another audience: @@ -756,15 +768,6 @@ The same chunk's own review found a fourth of this kind late, after two failed g Touches: - `agents/stability-reviewer.md` -### 544. Have stability-reviewer check, for each input shape a change starts to handle, its neighbours: each part alone, the parts in another order, and a part missing, each compared with what the base made of the same input. - -An outside reviewer found two defects our review passed, in a parser change that read a party's address from structured fields beside free-text lines: - -- The change handled "both structured fields present" and "both missing", and the ticket said to split the free text only when both were missing. With only one present, the new code lost a value the base had filled. The stability reviewer saw the case, since tests pinned it, but checked it against the ticket's words, not against the base's output. -- A rule that left out a free-text line repeating the structured fields matched only the one order seen in the data, not either field alone or the other order. - -Add to `agents/stability-reviewer.md`: for each input shape a change starts to handle, list its neighbours (each part alone, the parts in another order, a part missing or blank) and compare what the change makes of each with what the base made. A field the base filled and the change leaves empty is a 🟡 unless the ticket names that input, and a 🔴 where it loses data users relied on. Before acting, a ticket's acceptance criterion "everything else stays as before" outranks its proposed rule's literal wording. - ### 298. Send the judge only the decision entries and the transcript tail a verdict needs, and keep the cut only where `judge-replay` changes no verdict kind. 153 `Judge cost:` entries total $109.76, a median of about $0.76 a verdict at every rung, and the cost follows the size of the records, not the transcript: about 76k characters in log and 188k in claude-config. In 224 of 251 recent verdicts (89%) the evidence sits in the worker's final message. A missed interrupt is the costly error, so the bar is zero changed interrupts and zero new rejections across the replay. The judge is about 4.5% of dollars, so the saving is small; each cycle also gets faster.