File two review-setup gaps: guards checked against every state, and mutation tools run in the module's folder
CI / tests (pull_request) Successful in 4m56s

This commit was merged in pull request #739.
This commit is contained in:
Lilleman
2026-11-27 12:46:30 +01:00
parent fdb57a02a5
commit 2bf574fba4
+11 -1
View File
@@ -6,7 +6,7 @@
`Bar = 0.1`
`Next ID = 550`
`Next ID = 552`
## Items
@@ -22,6 +22,7 @@
| 538 | 0.17.0 | | | **Flag validation that checks a value other than the one the code goes on to use, such as before trimming, stripping or converting it.** | 1 | 2 | 2 | 3 | 1 | 1.1 by 2 | 0.9 |
| 547 | 0.17.0 | | | **Add a technical principle: tell a failure's cause from a status code or a typed error, never from a tool's message text unless the tool documents that text as unique to the cause.** | 1 | 2 | 2 | 3 | 1 | 1.1 by 2 | 0.9 |
| 549 | 0.17.0 | | | **Run each claimed output from the state a fresh checkout leaves, without the ignored files earlier runs wrote, and check each claim about what a command writes.** | 1 | 1 | 2 | 2 | 1 | 1.1 by 2 | 0.9 |
| 550 | 0.17.0 | | | **Have stability-reviewer check a guard that tests where a thing is against every place the thing passes through in its life.** | 1 | 1 | 2 | 2 | 1 | 1.1 by 2 | 0.9 |
| 541 | 0.17.0 | | | **Find a Gitea pull request by its branch and head however many pull requests are newer, so `chunk-pr clean`, `chunk-pr merge` and `chunk-preflight` see an older one.** | 2 | 2 | 3 | 5 | 2 | 1 by 2 | 0.8 |
| 545 | 0.17.0 | | | **Have chunk-preflight name each next-release item with no `Touches:` list while others wait, and have loop-claude launch a subagent that writes the lists before it starts the next chunk.** | 3 | 2 | 3 | 6 | 6 | 1.1 by 4 | 0.6 |
| 539 | 0.17.0 | | | **Leave out of a `task-bench` fix a change Haiku makes to a Rust test kept in a file of its own.** | 2 | 2 | 1 | 3 | 3 | 1.1 by 1 | 0.4 |
@@ -105,6 +106,7 @@
| 395 | 0.23.0 | | decision | **Keep each block a save didn't change, with its localId, and the spacing paragraphs beside it as Jira or Confluence holds them.** | 3 | 2 | 2 | 5 | 5 | 1.6 by 4 | 0.8 |
| 425 | 0.23.0 | | | **Show on loop-claude's terminal why it doesn't start a chunk beside the next item, as chunk-preflight prints it.** | 1 | 1 | 2 | 2 | 2 | 1.5 by 2 | 0.7 |
| 169 | 0.23.0 | | | **Have rule-hook's `todo-rank-check` catch a `todo.md` that the same Bash call edits and then commits.** | 3 | 1 | 3 | 5 | 3 | 1.1 by 2 | 0.7 |
| 551 | 0.23.0 | | | **Run each mutation tool of `mutate-changes` in the folder that holds its module file, so a repo with `go.mod` below the top gets its Go lines mutated.** | 2 | 1 | 2 | 3 | 3 | 1.1 by 2 | 0.7 |
| 447 | 0.23.0 | | | **Stop a headless claude call that runs past a time limit, and report it as a failure, so a hung judge or stuck check can't hold the loop.** | 2 | 2 | 2 | 4 | 3 | 1.5 by 2 | 0.7 |
| 367 | 0.23.0 | | | **Check that every write to a Jira plan leaves it ranked, as rule-hook's `todo-rank-check` checks `todo.md` today.** | 2 | 2 | 3 | 5 | 3 | 1.6 by 2 | 0.7 |
| 520 | 0.23.0 | | | **Mutate the shell lines a branch changes in `mutate-changes`, so a change to a shell script gets the same check as one in Python, Go or PHP.** | 3 | 2 | 2 | 5 | 5 | 1.1 by 2 | 0.5 |
@@ -208,6 +210,10 @@ Change `larv-review` §3 → "Claimed output" so that:
Touches:
- `skills/larv-review/SKILL.md`: `**Claimed output.**` (small)
### 550. Have stability-reviewer check a guard that tests where a thing is against every place the thing passes through in its life.
A forge's auto-reviewer raised what two stability rounds missed: a fix added a guard that refused a file by looking for its original in the folders where a finished file ends, but not in the folder where a file waits before it is handled, so the guard let the refused case through during a retry. The reviewer read the guard and its tests and checked no other state. Add to `agents/stability-reviewer.md`: for a guard that tests whether a file, row or record exists, list every place or state the thing passes through from arrival to its end, and report each one the guard doesn't look at.
### 541. Find a Gitea pull request by its branch and head however many pull requests are newer, so `chunk-pr clean`, `chunk-pr merge` and `chunk-preflight` see an older one.
Today `pull_at` in `bin/forge/pulls.py` reads only Gitea's first page of 50 pull requests, open or closed, and looks for the branch among them. A pull request with 50 newer ones in that state is missed. PR #652 here merged after 50+ newer PRs had closed, and `chunk-pr clean` then said "no merged pull request from filing-prose-reentry", leaving the worktree and branch to remove by hand. The same lookup serves `open_pull`, so `ready` and `merge` miss an old open one too, and `chunk-preflight` misses a merged chunk's worktree.
@@ -802,6 +808,10 @@ Today a Jira detail edited in one line, or a Confluence record with one entry ap
The hook judges a call before it runs, and `changed` in `bin/rule_hook/todo_check.py` compares `todo.md` with the index and HEAD as they stand then. A call that edits `todo.md` and commits it, such as a heredoc script followed by `git commit`, passes unchecked: PR #296's commit 149108e did, and the override marker it carried was never logged. larv-review's gate still runs `rank_todo.py --check`, so an unranked plan stops at merge rather than at commit. A git pre-commit hook would see the staged file.
### 551. Run each mutation tool of `mutate-changes` in the folder that holds its module file, so a repo with `go.mod` below the top gets its Go lines mutated.
In a repo whose `go.mod` is in a subfolder, `mutate-changes` reported 0 Go mutants for a branch that changed Go code, and ran mutmut on a folder of integration tests whose tests reach no code in the repo. It also left root-owned `.mutate-changes-*` folders in the checkout. By hand, Gremlins v0.6.0 worked when run in the module's folder with `git config --global diff.relative true` and `gremlins unleash --diff <base>` without a path. Find each module file (`go.mod`, `pyproject.toml`, `composer.json`) and run the tool there with the diff made relative, skip a Python folder no test imports from, and remove the scratch folders as the user who owns the checkout.
### 447. Stop a headless claude call that runs past a time limit, and report it as a failure, so a hung judge or stuck check can't hold the loop.
Every headless claude that `claude_reply` runs, the judge's and the stuck check's included, runs without a time limit, and the stuck check runs while the worker's own claude waits for its output to be read. A call that hangs holds the loop, and the worker with it, until a person notices. Found by item 422's stability review.