File item 259: chunk-preflight ignores a changelog's release heading, and its help misstates an untagged branch #411

Merged
lilleman merged 1 commits from item-259 into main 2026-11-04 13:44:32 +01:00
+12 -1
View File
@@ -6,7 +6,7 @@
`Bar = 0.1`
`Next ID = 259`
`Next ID = 260`
## Items
@@ -14,6 +14,7 @@
|---|---|---|---|---|---|---|---|---|---|---|---|
| 226 | 0.6.0 | | question | **Answer whether rule-hook's `run-heavy` rule should also catch a mutation run or docker build behind `uv run`, `poetry run`, `python3 -m`, `sudo`, `docker image build` and `docker compose up --build`, or narrow the `machine load:` decision's wording.** | 2 | 2 | 3 | 5 | 3 | 1.2 by 2, 1.5 by 2 | 4.0 |
| 248 | 0.6.0 | | question | **Answer whether the `rule-hook:` decision should name every rule that takes no override, `repeat-read`, `reviewer-report` and `reviewer-rung`, with each one's reason.** | 1 | 2 | 1 | 2 | 1 | 1.2 by 2 | 3.3 |
| 259 | 0.6.0 | | defect | **Make `chunk-preflight` count a version under a `## X.Y.Z - YYYY-MM-DD` heading in `CHANGELOG.md` as cut on a branch with no tag, and make its `--help` say what such a branch's next release is.** | 2 | 2 | 3 | 5 | 3 | 1.2 by 3, code health by 2 | 12.1 |
| 235 | 0.6.0 | | decision | **Compare the first 20 chunks whose worker ran under the 200k compaction window with the 20 before them, on review rounds past each pass's first, unfinished verdicts, 🔴, 🟡 and misread findings, dollars and hours per chunk, and file an item where any rose.** | 1 | 2 | 1 | 2 | 2 | 1.1 by 2, 1.4 by 3 | 6.8 |
| 254 | 0.6.0 | | principle | **Store when a loop asked as an ISO UTC datetime in loop-inbox's ask files.** | 1 | 1 | 2 | 2 | 2 | code health by 1 | 6.0 |
| 240 | 0.6.0 | | decision | **Give loop-claude's worker prompt the reading rule "never read more than 80 lines of a file at once, nor take a tool output over 3,000 characters into your context", and keep it only where the 20 chunks after it hold the 20 before's review rounds, unfinished verdicts, 🔴, 🟡 and misread findings, dollars and hours per chunk.** | 1 | 2 | 3 | 4 | 2 | 1.4 by 3 | 4.0 |
@@ -82,6 +83,16 @@ Found by review of PR #370. Today `uv run mutmut run`, `poetry run mutmut run`,
Filed from PR #387's architecture round 1. The decision's 2026-10-16 addendum says `reviewer-rung` is the one rule no marker overrides. `reviewer-report` already took no marker, and PR #387 adds `repeat-read`, so three rules take none, each with its reason in a comment above it in `bin/rule_hook/rules.py`; only `reviewer-report`'s is also in a decision, the `review:` one. A reader of the decision, the judge included, believes every other rule takes an override. The fix rewords the title and the addendum to name all three; it changes a decision, so it is lilleman's.
### 259. Make `chunk-preflight` count a version under a `## X.Y.Z - YYYY-MM-DD` heading in `CHANGELOG.md` as cut on a branch with no tag, and make its `--help` say what such a branch's next release is.
`chunk-preflight --help` says that where no tag names a version, the next release is todo.md's earliest. `next_release` in `bin/chunk_pick.py` also counts every release todo.md has ever named, as `test_reads_every_version_of_todo_md_where_the_branch_has_no_tag` pins, so that a release whose items are all done still reads as next. Neither reads a release heading in `CHANGELOG.md`.
On 2026-11-04 this sent visthus's worker to a release review of 0.0.1, which its `CHANGELOG.md` already headed `## 0.0.1 - 2026-10-03`, on a repo with no tags. The worker had to stop and ask the owner, and a `## Renamed` line in `todo.md` was the only way past it.
- Cut: a version under such a heading counts as cut where no tag does. A heading without a date, as this repo's `## 0.5.0`, doesn't count. Keep a tag ahead of any heading where a branch has one.
- Help: state both rules, so the text matches the code.
- Tests: one for an untagged branch whose newest release is under a heading, with its items done, which must no longer report a release review due for it, and one for a later release named in `todo.md`, which must read as next.
### 235. Compare the first 20 chunks whose worker ran under the 200k compaction window with the 20 before them, on review rounds past each pass's first, unfinished verdicts, 🔴, 🟡 and misread findings, dollars and hours per chunk, and file an item where any rose.
`docs/decisions.md` → `loop-claude: the worker's claude compacts its context before it fills a 200k window…` expects a saving of about 6% of all spend with no rise in the other figures. Measure from loop-claude's archive as that decision did: rounds past each pass's first and the 🔴, 🟡 and misread counts from the round commit titles, unfinished verdicts from the outcomes files, hours from the worker's first message to its last, and dollars at list prices, cache reads included, from the chunk's `cost-state` entry, which counts the compaction calls that no message's usage records; the routing figures now put such dollars in. A chunk ran under the window when its first worker started after that decision merged.