File an item: refuse to mark a pull request ready while its description predates the head
CI / tests (pull_request) Successful in 6m24s

This commit was merged in pull request #823.
This commit is contained in:
Lilleman
2026-12-04 13:12:01 +01:00
parent 3584890d71
commit 3ec8bf9436
+8 -1
View File
@@ -6,7 +6,7 @@
`Bar = 0.1`
`Next ID = 602`
`Next ID = 603`
## Items
@@ -80,6 +80,7 @@
| 201 | 0.23.0 | | owner | **Save the human's tmux setups and restore them after a reboot, so work is up and running again quickly.** | 3 | 2 | 1 | 4 | 4 | 1.5 by 4 | 0.9 |
| 267 | 0.23.0 | | | **Keep waiting when an interrupt gets an empty answer, at the terminal or in the claude opened for it, in place of stopping the loop.** | 2 | 1 | 3 | 4 | 2 | 1.5 by 3 | 0.9 |
| 4 | 0.23.0 | | | **Name each chunk's archive folder by the chunk's start time, so `<key>/` lists chunks in the order they ran.** | 3 | 2 | 3 | 6 | 3 | 1.1 by 3 | 0.9 |
| 602 | 0.23.0 | | | **Make `chunk-pr ready` refuse while a commit on the branch is newer than the pull request's last description edit, naming those commits, so a fix pushed after review can't leave the description claiming what the head no longer does.** | 2 | 2 | 3 | 5 | 3 | 1.1 by 3 | 0.9 |
| 324 | 0.23.0 | | | **Count in the routing figures the finished chunks whose worker wrote no `Chunk items:` line.** | 2 | 2 | 1 | 3 | 3 | 1.1 by 2, 1.4 by 1 | 0.9 |
| 187 | 0.23.0 | | | **Count the tokens a worker spends reading reviewers' reports, so goal 1.4's signal shows whether report files lowered what a review costs the worker's context.** | 2 | 2 | 1 | 3 | 3 | 1.4 by 3 | 0.8 |
| 266 | 0.23.0 | | | **Move the chunks archived under the key `home/lilleman/.claude` to the key `dev-factory`, so the routing figures and `score-outcomes` count this repo's chunks as one project.** | 3 | 2 | 2 | 5 | 3 | 1.4 by 3 | 0.8 |
@@ -726,6 +727,12 @@ Weigh the widely used tmux-resurrect and tmux-continuum plugins against a script
Today the folder is the SHA-256 of the transcript's first timestamped line, which tells the human nothing; that line carries the start time. Drop the fallback to the first line, which every chunk of a project shares, and give the tests' fake transcripts ISO timestamps. `bin/reading-cost` takes a chunk's id from the folder's first 12 characters and skips a chunk whose id `docs/reading-cost.md` holds, so give it a way to match a figure written under the old name.
### 602. Make `chunk-pr ready` refuse while a commit on the branch is newer than the pull request's last description edit, naming those commits, so a fix pushed after review can't leave the description claiming what the head no longer does.
An outside reviewer found a pull request whose description still claimed a change that the branch's last commit had reverted. No pass reads the description against the head: the prose pass reads the diff, and the description is written once, at `chunk-pr open`. A fix commit after the reviews leaves every claim in it unchecked.
Fix: in `chunk-pr ready` (and `push`, where it re-requests review), compare the time the description was last edited with the newest commit on the branch: GitHub's GraphQL `lastEditedAt`, or `createdAt` where it was never edited; Gitea's `updated_at` for the body. Where a commit is newer, refuse and name the commits, so the description is reread and edited, or accepted unchanged with a flag such as `--description-current`. A deterministic check, because a reviewer only catches this when it happens to read the description.
### 324. Count in the routing figures the finished chunks whose worker wrote no `Chunk items:` line.
`docs/decisions.md` → `routing: build-release reads the items a chunk takes …` holds only while workers write the line when asked, and nothing counts a chunk whose worker skipped it. There build-release scores no item beyond the one the chunk was routed on, so the route holds. Count in `bin/routing_figures/`, beside the chunks counted, those whose worker's transcript holds no such line, so the human sees when the decision's premise stops holding.