Repository navigation
claude-review: lockfile, generated and patch-bump diffs get the Sonnet reviewer (row 1.252, replaces 376) - #377
Conversation
…t reviewer in Opus repositories (row 1.252) Replaces PR 376. Docs are not a class: a deny-list over markdown leaked rule files four times, so a docs diff keeps the repository's normal reviewer. A package.json bump is read from git: same section, range prefix, major and minor. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> AI-Use: L3 made undo unread (Claude Sonnet 5.5) AI-Use-Standing: https://github.com/gorfednet/ai-use-levels/blob/main/docs/delegation.md 2026-11-18
|
claude review |
|
Reviewed the R0 model downgrade in claude-review.yml and its tests. The file-list parsing, the rename and quoted-path handling and the package.json patch-bump check all fail closed. One Medium: the control-plane exclusion leaves out ops' root-run paths ( |
…r repository (row 1.252) The workflow carries drafts.mjs's CONTROL_PLANE_PATHS, BASENAMES and the per-repository extras (ops hosts/, infra/, inventory-patches/, ship-bot patches; .github scripts/, templates/, fleet.json, docs/claude-home/). A drift test fails when drafts.mjs gains an entry the workflow lacks. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> AI-Use: L3 made undo unread (Claude Sonnet 5.5) AI-Use-Standing: https://github.com/gorfednet/ai-use-levels/blob/main/docs/delegation.md 2026-11-18
|
Round 2: the R0 check now carries ship-bot control-plane lists exactly, per repository (ops hosts/, infra/, inventory-patches/, ship-bot patches, scripts/; .github scripts/, templates/, fleet.json, docs/claude-home/), one test per path watched failing first, plus a drift test that fails when drafts.mjs gains an entry the workflow lacks. claude review |
|
Reviewed the R0 model downgrade in the Pick the model step of claude-review.yml (control-plane lists, lockfile, generated-file and patch-bump classes, fail-closed paths) and its tests. The step's logic holds; one Low: the rename fail-closed test would still pass if the rename guard were removed. |
…e guard (row 1.252) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> AI-Use: L3 made undo unread (Claude Sonnet 5.5) AI-Use-Standing: https://github.com/gorfednet/ai-use-levels/blob/main/docs/delegation.md 2026-11-18
|
Round 3: the rename and quoted-path assertions now use paths that match /generated/ and that no control-plane prefix sees (a brace rename from .github/workflows, a quoted path); watched failing with the guard deleted, plus an ok path that gets Sonnet. The rename path is {.github/workflows => x}/generated/ci.yml, since {.github/workflows => x/generated}/ci.yml has no /generated/ segment for the glob. claude review |
|
Reviewed the full diff: the R0 model-selection logic in claude-review.yml (control-plane exclusion, lockfile/generated classes, package.json patch-bump check) and its tests. The fail-closed logic holds; found two Lows: the control-plane basename guard has no test that fails without it, and the |
… names the R0 exception (row 1.252) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> AI-Use: L3 made undo unread (Claude Sonnet 5.5) AI-Use-Standing: https://github.com/gorfednet/ai-use-levels/blob/main/docs/delegation.md 2026-11-18
|
Both Lows fixed: tests for rule basenames inside a generated directory (docs/generated/CLAUDE.md, x/generated/canaries.json and others), watched failing with the basename loop deleted; the model input description now names the lockfile, generated and patch-bump exception. claude review |
|
Reviewed review-input/full.diff: the R0 model downgrade in the "Pick the model" step of claude-review.yml and its tests. The bash copy of ship-bot's control-plane check matches touchesControlPlane, and every path it can't be sure of keeps Opus: a missing or empty file list, a rename, a quoted path, an added or deleted package.json, a version that isn't plain semver, or a node or git error. The tests exercise both the Sonnet and Opus outcomes. I found no defects. |
…st path kept (row 1.252) Fable read of 8fee44c: a markdown arm ahead of the generated arm, --input-type=module, a list with no final newline keeps its last path, the patch must rise and 0.0.x is no patch bump, and *.generated.* matches the file name only. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> AI-Use: L3 made undo unread (Claude Sonnet 5.5) AI-Use-Standing: https://github.com/gorfednet/ai-use-levels/blob/main/docs/delegation.md 2026-11-18
|
Fable FIX and every Low fixed in one push: markdown arm ahead of the generated arm, --input-type=module, last path kept without a final newline, the patch must rise (no 0.0.x), .generated. on the file name only, PR body corrected. Each watched failing first. claude review |
|
Reviewed the whole diff: the R0-only model downgrade in the "Pick the model" step of |
Row 1.252, restarted from
origin/mainafter #376's round 3 (the markdown deny-list leaked rule files four times). Underautoin an Opus repository,Pick the modelpicks Sonnet only when every changed path is a mechanical R0 class: a lockfile, a generated file (*.generated.*,generated/), or apackage.jsonwhose only changes are dependency versions with the same section, range prefix, major and minor (read from git at the merge-base and head). Control-plane paths are never R0, by the lists inship-bot/lib/drafts.mjsthat the workflow carries: the shared prefixes and basenames everywhere, plusscripts/,templates/,fleet.jsonanddocs/claude-home/ingorfednet/.github, andcontrol/claude-home/,control/ship-bot-patches/,hosts/,infra/,scripts/,inventory-patches/and the policy files ingorfednet/ops. In another repositoryscripts/ortemplates/is not control plane. A drift test fails whendrafts.mjsgains an entry the workflow lacks. A package.json bump must raise the patch (never 0.0.x). Docs are not a class: every.md,.mdxand.markdownkeeps the repository's normal reviewer, in a generated path too. Fails closed on a missing or empty list, a rename, a quoted path or any unknown path. An explicitmodelinput is untouched.Tests (93 pass), each guard watched failing once: markdown (a
*.mdclass turns red), range prefix, section move, control-plane deny. Also mixed, empty and missing lists.Live runs: this PR's review runs the shared workflow from
main, so a live Actions run of each model shows on the first lockfile-only PR after merge.R2 (
claude-review.yml): Fable read follows. Untouched:templates/claude-review.yml,test/claudeReview.test.mjs:432(row 1.276m).Next
claude reviewis clean on this head and CI is green.🤖 Generated with Claude Code