From a6b75d57726a9b1146d4aff210aa6d76c13a411b Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Sat, 28 Nov 2026 18:35:22 +0100 Subject: [PATCH] File item 557: have stability-reviewer check both sides of a match made exact --- todo.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/todo.md b/todo.md index f8a30a86..2451fdaa 100644 --- a/todo.md +++ b/todo.md @@ -6,7 +6,7 @@ `Bar = 0.1` -`Next ID = 557` +`Next ID = 558` ## Items @@ -88,6 +88,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 | +| 557 | 0.23.0 | | | **Make stability-reviewer check that a fix which makes a text match exact bounds the match on both sides, with a test for each side.** | 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 | @@ -640,6 +641,12 @@ The same chunk's own review found a fourth of this kind late, after two failed g Touches: - `agents/stability-reviewer.md` +### 557. Make stability-reviewer check that a fix which makes a text match exact bounds the match on both sides, with a test for each side. + +An outside reviewer found, on a pull request in another project, that a fix for a substring match had bounded the match at its end only. A text that held the searched id inside a longer word still matched, so the tool skipped work it should have done. A principles round raised the substring match as a nit, the fix was made in that round's answer, and the stability round that read the fix passed it, as did its hand-made mutants: no test put a character before the id. + +Chosen: one line in stability-reviewer's brief, or in the review standards' `quality.md` if a rule on matches already sits there. Where a change makes a match of an id, a key or a name exact, the reviewer asks for a test with the searched text inside a longer one at each end, and reports a missing side as a 🟡. No deterministic tool fits: a linter cannot tell a match meant to be exact from one meant to be loose. + ### 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. -- 2.52.0