Repository navigation
feat(review-loop): carry the repo's reviewChecklist into every reviewer prompt - #104
Conversation
…er prompt The rubric falls back to the built-in code-review when om-code-review is not installed, and that skill never reads reviewChecklist from .ai/agentic.config.json. Reviewer subagents see only the prompt the loop builds, so a repo's checklist silently never reached them. Now the loop names the file in each prompt whenever the rubric is not om-code-review.
jtomaszewski
left a comment
There was a problem hiding this comment.
🎯 The problem
A repo can point the agent pipeline at its own review checklist. Only one review rubric (om-code-review) actually reads that setting. When a repo doesn't install it, review-loop falls back to the built-in code-review, which never opens the config. So the repo's checklist silently never reaches a reviewer.
🔧 The fix
review-loop's Sources → local section gains one paragraph and one extra clause in the reviewer prompt. When .ai/agentic.config.json names a reviewChecklist file and the winning rubric is not om-code-review, every reviewer prompt also tells the reviewer to read that file and run every section of it against the diff. Findings from it use the rubric's severity scale. A missing file is reported, not fatal. The om-code-review path is unchanged because it already reads the checklist. Plugin version goes 3.2.0 → 3.3.0.
🧭 The impact
Repos that set reviewChecklist but run local reviews on the built-in code-review (or on the repo-conventions fallback) now get their checklist applied in every round. Repos with om-code-review, or with no reviewChecklist, see no change. bot and human sources are untouched.
✅ Testing
Nothing was run. The author read the edited section end to end. No loop has been run in a repo that sets reviewChecklist without om-code-review, so there's no evidence yet that reviewers actually pick the file up.
Code tour
- Carry the checklist into reviewer prompts —
skills/review-loop/SKILL.md - Version bump —
.claude-plugin/plugin.json
Drafted with an AI reviewer; read, edited and sent by a human.
Review feedback on the reviewChecklist change: the report names every input the loop converged against, and the checklist now changes that, so it gets its own Checklist line (project specifics and the scope line). CODE_REVIEW.md and BACKWARD_COMPATIBILITY.md at the repo root were dropped on the built-in code-review fallback the same way reviewChecklist was, so they ride along on the same rule when present.
Problem
review-looppicks its rubric in this order:om-code-review, then the built-incode-review, then the repo's conventions. Onlyom-code-reviewreadsreviewChecklistfrom.ai/agentic.config.json. So in a repo that setsreviewChecklistbut doesn't installom-code-review, the checklist never reaches a reviewer. Reviewer subagents see only the prompt the loop builds, and the built-incode-reviewnever opens that config.We found this downstream. A repo added a review checklist and pointed
reviewChecklistat it, but its local reviews ran on the built-in rubric, so they never used the checklist. The repo works around it with anAGENTS.mdrule telling whoever runs the loop to name the file by hand.Fix
om-code-review, the reviewer prompt's task tells the reviewer to read thereviewChecklistfile and run every section of it against the diff, on top of the rubric.om-code-reviewalready folds the checklist in, so that path is unchanged.Testing
None run: the change is two sentences of skill prose. I read the edited Sources → local section end to end. The new paragraph sits after the rubric list, and the The task bullet names it.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.