Skip to content

feat(review-loop): carry the repo's reviewChecklist into every reviewer prompt - #104

Merged
maxidragon merged 2 commits into
mainfrom
review-loop/read-review-checklist
Dec 4, 2026
Merged

maxidragon merged 2 commits into
mainfrom
review-loop/read-review-checklist

Conversation

@maxidragon

@maxidragon maxidragon commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Problem

review-loop picks its rubric in this order: om-code-review, then the built-in code-review, then the repo's conventions. Only om-code-review reads reviewChecklist from .ai/agentic.config.json. So in a repo that sets reviewChecklist but doesn't install om-code-review, the checklist never reaches a reviewer. Reviewer subagents see only the prompt the loop builds, and the built-in code-review never opens that config.

We found this downstream. A repo added a review checklist and pointed reviewChecklist at it, but its local reviews ran on the built-in rubric, so they never used the checklist. The repo works around it with an AGENTS.md rule telling whoever runs the loop to name the file by hand.

Fix

  • Carrying the checklist: whenever the rubric is not om-code-review, the reviewer prompt's task tells the reviewer to read the reviewChecklist file and run every section of it against the diff, on top of the rubric.
    • Findings from the checklist are graded on the rubric's own severity scale.
    • If the named file doesn't exist, the report says so and the review runs without it.
  • No double reading: om-code-review already folds the checklist in, so that path is unchanged.
  • Version: bumped to 3.3.0 (minor, a new capability).

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-bot with what you need.

…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 jtomaszewski left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 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
  1. Carry the checklist into reviewer prompts — skills/review-loop/SKILL.md
  2. Version bump — .claude-plugin/plugin.json

Drafted with an AI reviewer; read, edited and sent by a human.

Comment thread skills/review-loop/SKILL.md Resolved
Comment thread skills/review-loop/SKILL.md Resolved
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.
@maxidragon
maxidragon merged commit 175f81d into main Dec 4, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants