From 60b2eb0ae822a2aca488a430397619f637be797f Mon Sep 17 00:00:00 2001 From: Lilleman Date: Thu, 26 Nov 2026 09:29:07 +0100 Subject: [PATCH] Have stability-reviewer check the neighbours of each input shape a change handles --- todo.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/todo.md b/todo.md index ec025734..2b967135 100644 --- a/todo.md +++ b/todo.md @@ -6,7 +6,7 @@ `Bar = 0.1` -`Next ID = 544` +`Next ID = 545` ## Items @@ -98,6 +98,7 @@ | 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 | @@ -755,6 +756,15 @@ 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.