From 2c24d22de75a0db4d0ff307222bcb1f20857537e Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Sat, 28 Nov 2026 14:54:54 +0100 Subject: [PATCH] File item 555: check the neighbours of each input shape a change handles --- todo.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/todo.md b/todo.md index 29184463..f11b7259 100644 --- a/todo.md +++ b/todo.md @@ -6,7 +6,7 @@ `Bar = 0.1` -`Next ID = 555` +`Next ID = 556` ## Items @@ -15,6 +15,7 @@ | 477 | 0.17.0 | | question | **Rewrite `## Goals` and `## Audience` for a setup others install and run apart from their own `~/.claude`.** | 1 | 1 | 2 | 2 | 2 | | 0.0 | | 478 | 0.17.0 | | question | **Name the project, its repo and its two commands, today proposed as `do-release` and `do-epic`.** | 1 | 1 | 2 | 2 | 1 | | 0.0 | | 554 | 0.17.0 | | | **Make stability-reviewer list every consumer of a shared producer whose yield or return value the diff changes, and state what each does with the new case.** | 1 | 2 | 3 | 4 | 1 | 1.1 by 3 | 1.3 | +| 555 | 0.17.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 | | 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 | 2.4 | | 481 | 0.18.0 | 480 | owner | **Put the release's tools on `PATH` for every session the loop starts and every hook it runs, name them bare in the prose in place of `~/.claude/bin/`, and refuse the old spelling in new prose.** | 3 | 2 | 3 | 6 | 6 | 1.4 by 2, code health by 2 | 1.6 | | 482 | 0.19.0 | 478, 481 | owner | **Install the setup with `uv tool install` from a release tag, with `do-release` and `do-epic` on `PATH`, and replace `deploy-release` with `do-release self-update`.** | 3 | 2 | 3 | 6 | 7 | 1.6 by 4, 1.3 by 3 | 1.3 | @@ -122,6 +123,18 @@ Today the reviewer greps callers only of a changed or renamed public symbol. Not Touches: - `agents/stability-reviewer.md`: `## First Steps` (small), `### 1. Backward Compatibility, Blast Radius & Rollout` (small) +### 555. 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) + ### 480. 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`. Part of the standalone-install plan lilleman approved on 2026-11-20. `do-release` and `do-epic` stand for the names item 478 picks. Today about 160 references in some 40 modules name `~/.claude`; `bin/loop_state/paths.py` holds a few. This item changes no behaviour. -- 2.52.0