diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f003fe6..8008b79e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## Unreleased +- 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. - `task-bench --tasks features` has Haiku build features instead of fixing planted bugs: each folder in the folder the project's config names as the new optional `bench-tasks` holds a `spec.md`, a `reference.patch` and acceptance tests Haiku never sees. A feature counts only where those tests fail before it is built and pass with the reference patch, at the base and at the head; the report names each feature passed over and why. diff --git a/docs/reading-cost.md b/docs/reading-cost.md index fab1b74e..91f2b06f 100644 --- a/docs/reading-cost.md +++ b/docs/reading-cost.md @@ -3494,3 +3494,17 @@ Read most (opens and searches): - `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 +- `bin/task_bench/tasks.py` 1 +- `docs/score-anchors.md` 1 diff --git a/skills/larv-review/SKILL.md b/skills/larv-review/SKILL.md index eeb5477e..7c025386 100644 --- a/skills/larv-review/SKILL.md +++ b/skills/larv-review/SKILL.md @@ -143,6 +143,12 @@ The release review is a release's last chunk, run once the release holds no item - **Branch.** `release-review-`, off the default branch. Open it with `git commit --allow-empty -m "Release review of "`. - **Passes.** Architecture, then Principles, each over the whole project, per "Waves". Tell both to refactor boldly where the code needs it. Each takes up to five rounds. - **Their fixes** re-enter Stability, Security, Overrides and Prose per "Re-entry", each at most two rounds. +- **Bench features.** Where `~/.claude/bin/project-config bench-tasks` prints a folder, go over the bench features in it yourself once the passes and their re-entry rounds are done. A bench feature is plausible for another audience and breaks one of the project's goals, so it never turns into a plan item; it counts as `task-bench --help` says for `--tasks features`. Leave out a folder that holds a `generate-register`: it is a data-source task. Commit a change in the review's branch where the folder is in the checkout, and in the config folder's own repo where it is there; a folder elsewhere isn't committed. + 1. Delete a bench feature that no longer breaks a goal: it may have become real work. + 2. Check each other one at the head, in a clean copy of it. With its `reference.patch` applied and its `acceptance` folder put over the tree, the project's test command must pass; without the patch it must fail. Rewrite a patch that doesn't apply, or whose run fails, so it builds the same feature at the head. Where the spec or an acceptance test no longer fits the head, rewrite it too, but keep what the tests demand of the feature. + 3. Add bench features until the reference patch of at least one changes the code at each code place `larv-review places` prints. + + The review's summary lists each bench feature it rewrote, deleted and added. File nothing in `todo.md` for one. - **Findings.** The passes fix their findings in the release they review, within their five rounds, so the release holds no drift the review found. They file only three kinds in `todo.md`, each under that release, or under the earliest release `~/.claude/rules/todo-items.md` allows where that release's bump forbids it: a finding whose fix needs a human answer, marked `question`; one whose fix adds a feature; and one whose fix the five rounds cannot finish. The release isn't ready to cut while one is open. - **Comprehension check.** It runs its paired ruling here, per "Comprehension check". diff --git a/todo.md b/todo.md index 313a0bfe..fc3e7456 100644 --- a/todo.md +++ b/todo.md @@ -16,7 +16,6 @@ | ID | Release | Blocked by | Exempt | Item | L | E | I | R | S | Moves | Score | |---|---|---|---|---|---|---|---|---|---|---|---| -| 506 | 0.16.0 | | owner | **Go over the bench features in each release review: reapply each reference patch, drop a feature that no longer breaks a goal, and add features until they cover the places the seats find hardest.** | 2 | 2 | 2 | 4 | 3 | 1.1 by 3 | 1.1 | | 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 | @@ -116,10 +115,6 @@ ## Details -### 506. Go over the bench features in each release review: reapply each reference patch, drop a feature that no longer breaks a goal, and add features until they cover the places the seats find hardest. - -A reference patch that no longer applies is rewritten by the review's model. A feature whose goal changed may have become real work, so it goes. New features follow item 504's rule: plausible for another audience, against one of this project's goals. - ### 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.