From 67ded86ef42f2cac23b2f55549bcac70f6b09159 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Mon, 23 Nov 2026 23:13:49 +0100 Subject: [PATCH 1/3] Make stability-reviewer check that keys built from path segments, or matched by prefix, cannot collide --- agents/stability-reviewer.md | 1 + docs/reading-cost.md | 151 +++++++++++++++++++++++++++++++++++ 2 files changed, 152 insertions(+) diff --git a/agents/stability-reviewer.md b/agents/stability-reviewer.md index 9738200c..6c377ab4 100644 --- a/agents/stability-reviewer.md +++ b/agents/stability-reviewer.md @@ -73,6 +73,7 @@ Catch behavior that is unclear or under-specified — "building in ambiguousness - Zero and absent are different values: `empty('0')`, `if ($amount)`, `$x ?: $default`, JS `||` conflate them one way; null coerced to `'0'` conflates them the other (a past prod bug: phantom 0-amount reversals). Both directions are findings. - Multibyte text (åäö): truncation, length checks, and comparisons must be mb-safe; encoding consistent end-to-end. - Where the change splits text on a separator or strips a suffix, look in the fixtures and a sample of the source data for a value where the separator or suffix also occurs as data, such as an address split on `,` whose last part holds a comma. Report a row the parse then misplaces or drops, silently or with only a log line. +- Where the change builds a lookup key by joining path segments, or matches a key by prefix, look for two inputs that give one key, such as a segment equal to its parent's name or a namespace that is a dot-prefix of another (`ns` and `ns.sub`). Report the input the lookup credits to the wrong entry. - Are payload and collection sizes bounded at the boundary? ### 6. Concurrency & State Management diff --git a/docs/reading-cost.md b/docs/reading-cost.md index 52080d6a..d9516e2c 100644 --- a/docs/reading-cost.md +++ b/docs/reading-cost.md @@ -3367,3 +3367,154 @@ Read most (opens and searches): - `bin/mutate-changes` 2 - `bin/mutate_changes/main.py` 2 - `bin/mutate_changes/test_mutate_changes_runs.py` 2 + +## Reading cost, chunk d56c1f21bd44, finished 2026-11-21T12:07:42Z + +136856 new input tokens before the first commit. + +Read most (opens and searches): + +- `bin/task_bench/main.py` 8 +- `bin/task_bench/test_task_bench.py` 6 +- `.gitignore` 3 +- `README.md` 3 +- `bin/claude_code/entries.py` 3 +- `bin/chunk_driver/project/model_choice.py` 2 +- `bin/git_cli/git_repo.py` 2 +- `bin/reading_cost/measure.py` 2 +- `bin/review_rules/review_folder.py` 2 +- `bin/task_bench/figures.py` 2 + +## Reading cost, chunk 666aabdd77a8, finished 2026-11-22T15:50:09Z + +283046 new input tokens before the first commit. + +Read most (opens and searches): + +- `docs/decisions.md` 14 +- `bin/task_bench/main.py` 9 +- `bin/task_bench/figures.py` 4 +- `bin/task_bench/plant.py` 4 +- `bin/task_bench/test_figures.py` 4 +- `bin/task_bench/runs.py` 3 +- `CHANGELOG.md` 2 +- `README.md` 2 +- `docs/comprehension-history.md` 2 +- `docs/score-anchors.md` 2 + +## Reading cost, chunk f8fb061b8347, finished 2026-11-22T16:17:47Z + +49961 new input tokens before the first commit. + +Read most (opens and searches): + +- `CHANGELOG.md` 2 +- `README.md` 1 +- `bin/task_bench/figures.py` 1 +- `bin/task_bench/main.py` 1 +- `bin/task_bench/test_figures.py` 1 +- `ci.sh` 1 + +## Reading cost, chunk 5e92d92c0f61, finished 2026-11-22T16:55:52Z + +63406 new input tokens before the first commit. + +Read most (opens and searches): + +- `bin/task_bench/main.py` 3 +- `docs/decisions.md` 2 +- `CHANGELOG.md` 1 +- `README.md` 1 +- `bin/task_bench/figures.py` 1 +- `bin/task_bench/test_figures.py` 1 +- `ci.sh` 1 + +## Reading cost, chunk 756ad55ec2e9, finished 2026-11-22T20:42:27Z + +89968 new input tokens before the first commit. + +Read most (opens and searches): + +- `bin/task_bench/figures.py` 3 +- `docs/decisions.md` 3 +- `README.md` 2 +- `bin/task_bench/main.py` 2 +- `bin/task_bench/runs.py` 2 +- `ci.sh` 2 +- `bin/task_bench/bench_folder.py` 1 + +## Reading cost, chunk 55d6a4a1c134, finished 2026-11-23T00:01:27Z + +96728 new input tokens before the first commit. + +Read most (opens and searches): + +- `bin/task_bench/main.py` 7 +- `bin/task_bench/test_task_bench.py` 4 +- `README.md` 2 +- `bin/task_bench/plant.py` 2 +- `bin/task_bench/runs.py` 2 +- `docs/decisions.md` 2 +- `CHANGELOG.md` 1 + +## Reading cost, chunk 5c33cc8bf84f, finished 2026-11-23T13:17:23Z + +41140 new input tokens before the first commit. + +## Reading cost, chunk 0a5c0968dbc6, finished 2026-11-23T17:38:22Z + +100034 new input tokens before the first commit. + +Read most (opens and searches): + +- `bin/project_config/settings.py` 6 +- `bin/task_bench/main.py` 6 +- `README.md` 4 +- `rules/todo-items.md` 4 +- `bin/task_bench/plant.py` 2 +- `bin/project_config/main.py` 1 +- `bin/task_bench/digest.py` 1 +- `bin/task_bench/gather.py` 1 +- `bin/task_bench/runs.py` 1 +- `docs/score-anchors.md` 1 + +## Reading cost, chunk bd47f57bf095, finished 2026-11-23T20:07:34Z + +98358 new input tokens before the first commit. + +Read most (opens and searches): + +- `rules/todo-items.md` 4 +- `bin/task_bench/main.py` 3 +- `docs/score-anchors.md` 3 +- `bin/task_bench/runs.py` 2 +- `README.md` 1 +- `bin/project_config/settings.py` 1 +- `bin/task_bench/bench_folder.py` 1 +- `bin/task_bench/plant.py` 1 + +## Reading cost, chunk 9f55b55f1c4c, finished 2026-11-23T21:54:58Z + +97426 new input tokens before the first commit. + +Read most (opens and searches): + +- `bin/task_bench/main.py` 4 +- `bin/mutate_changes/in_diff_tools.py` 2 +- `bin/task_bench/plant.py` 2 +- `bin/mutate_changes/changed_lines.py` 1 +- `bin/task_bench/runs.py` 1 +- `docs/score-anchors.md` 1 + +## Reading cost, chunk 33264f8a9040, finished 2026-11-23T22:13:25Z + +64108 new input tokens before the first commit. + +Read most (opens and searches): + +- `README.md` 3 +- `docs/decisions.md` 3 +- `skills/larv-review/SKILL.md` 3 +- `bin/task_bench/main.py` 2 +- `CHANGELOG.md` 1 +- `todo.md` 1 From 380e16de6d4e0b2d7da3d0a6a8bb337456c55114 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Mon, 23 Nov 2026 23:18:40 +0100 Subject: [PATCH 2/3] =?UTF-8?q?Answer=20prose=20round=201:=200=20?= =?UTF-8?q?=F0=9F=94=B4,=201=20=F0=9F=9F=A1=20(0=20misread);=20the=20bulle?= =?UTF-8?q?t=20gives=20one=20example=20per=20collision,=20joined=20segment?= =?UTF-8?q?s=20and=20shared=20prefixes,=20and=20says=20resolves?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- agents/stability-reviewer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agents/stability-reviewer.md b/agents/stability-reviewer.md index 6c377ab4..5beafbc8 100644 --- a/agents/stability-reviewer.md +++ b/agents/stability-reviewer.md @@ -73,7 +73,7 @@ Catch behavior that is unclear or under-specified — "building in ambiguousness - Zero and absent are different values: `empty('0')`, `if ($amount)`, `$x ?: $default`, JS `||` conflate them one way; null coerced to `'0'` conflates them the other (a past prod bug: phantom 0-amount reversals). Both directions are findings. - Multibyte text (åäö): truncation, length checks, and comparisons must be mb-safe; encoding consistent end-to-end. - Where the change splits text on a separator or strips a suffix, look in the fixtures and a sample of the source data for a value where the separator or suffix also occurs as data, such as an address split on `,` whose last part holds a comma. Report a row the parse then misplaces or drops, silently or with only a log line. -- Where the change builds a lookup key by joining path segments, or matches a key by prefix, look for two inputs that give one key, such as a segment equal to its parent's name or a namespace that is a dot-prefix of another (`ns` and `ns.sub`). Report the input the lookup credits to the wrong entry. +- Where the change builds a lookup key by joining path segments, look for two inputs that join to one key, such as a column named like its own table. Where it matches a key by prefix, look for a key that two prefixes match, such as `ns` and `ns.sub`. Report the input the lookup resolves to the wrong entry. - Are payload and collection sizes bounded at the boundary? ### 6. Concurrency & State Management From a7d178446b47871928326fc52fb2992216c76248 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Mon, 23 Nov 2026 23:20:46 +0100 Subject: [PATCH 3/3] Finish item 512 in the plan --- CHANGELOG.md | 1 + todo.md | 8 -------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8008b79e..1eed6db3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## Unreleased +- The stability reviewer now checks a lookup key built by joining path segments, or matched by prefix, for two inputs that give one key, such as a column named like its own table or the namespaces `ns` and `ns.sub`. - The release review now goes over a project's bench features: it reapplies each reference patch and rewrites one that no longer applies, deletes a feature that no longer breaks a goal, and adds features until each place the comprehension seats find hardest has one. - `task-bench` plants bugs in Python files too, from the mutants mutmut 3 kills, and tells Haiku the error pytest prints. Where the seats' places name both Go and Python files, one `--prefix` runs both tools; `task-bench --help` shows one. - `task-bench --tasks data-sources` benches adding a data source: Haiku gets a made-up register that the task's seeded `generate-register` writes, and acceptance tests check the importer, the data and whatever else the spec asks. diff --git a/todo.md b/todo.md index fc3e7456..0627101c 100644 --- a/todo.md +++ b/todo.md @@ -16,7 +16,6 @@ | ID | Release | Blocked by | Exempt | Item | L | E | I | R | S | Moves | Score | |---|---|---|---|---|---|---|---|---|---|---|---| -| 512 | 0.16.0 | | | **Make stability-reviewer check that keys built from path segments, or matched by prefix, cannot collide.** | 1 | 2 | 2 | 3 | 1 | 1.1 by 2 | 0.9 | | 529 | 0.16.0 | | owner | **Document a `task-bench` command for this repo in the README, with an image that holds what its tests need, so each scoring run benches it.** | 2 | 2 | 1 | 3 | 3 | 1.1 by 2 | 0.7 | | 507 | 0.16.0 | | owner | **Bench rebuilding a feature the project shipped: revert its commit at the head, hand Haiku its item tagline, and check with the tests that commit added.** | 3 | 2 | 1 | 4 | 5 | 1.1 by 3 | 0.7 | | 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 | @@ -115,13 +114,6 @@ ## Details -### 512. Make stability-reviewer check that keys built from path segments, or matched by prefix, cannot collide. - -An outside reviewer found two bugs in one chunk that our stability round passed. Both were lookups keyed by a path built from segments or matched by prefix, where two inputs give one key: a linked table that has a column of its own name took the column's row, and two modules whose namespaces nest (`ns` and `ns.sub`) were credited to the first prefix. Add a bullet beside the separator bullet in `agents/stability-reviewer.md` §5: where the change builds a lookup key by joining segments, or matches one by prefix, look for two inputs that give one key, such as a segment equal to its parent's name or a namespace that is a dot-prefix of another, and report the input the lookup credits to the wrong entry. - -Touches: -- `agents/stability-reviewer.md`: `### 5. Edge Cases & Input Validation` (small) - ### 529. Document a `task-bench` command for this repo in the README, with an image that holds what its tests need, so each scoring run benches it. The bench runs the tests in an image without network, and this repo's tests run on the host through `uvx`, so no image holds pytest, git and tmux today. Build one, pinned, and name it in the command. A scoring run starts the bench the README documents, so from then on each one spends Haiku runs.