File an item: check a doc's list of data-loss cases against every branch of the code #821

Open
lilleman wants to merge 2 commits from item-review-list-cases into main
Showing only changes of commit cb20af5346 - Show all commits
+2
View File
@@ -635,6 +635,8 @@ Source: an outside reviewer's finding on a pull request in another project, whic
The fix: in `agents/stability-reviewer.md`, where it checks docs against code, add one check. Where the diff adds or changes a list in the docs that claims to name the cases in which data is lost, duplicated or rejected, walk every branch and input the deciding code takes. Raise each case the list leaves out as a 🟡.
CodeRabbit then raised two more cases on the same list: a reorder of the records, and a file first read before the deploy that changed the scheme and retried after it. So the walk also covers the order of the input and the states on either side of the deploy.
### 388. Refuse an agent's Write or Edit of a routing ladder file in rule-hook, since a change to the ladder is the human's.
Filed by PR #553, which made the routing ladder a file: `bin/model_routing/routing-ladder.json`, and a project's own `routing-ladder.json` in its config's folder. `CLAUDE.md` → "Working loop", "Ask, don't guess" reserves a change to the routing ladder for the human, and until PR #553 the ladder was code, which only a reviewed chunk changed. A worker can now write its project's file, and with it choose the rungs its own later cycles and reviews run on. The security pass of PR #553 noted that a ladder changed mid-cycle also makes rule-hook's `reviewer-rung` skip its check, since the rungs build-release handed are then off the ladder.