Repository navigation
docs: align code-review README with the current validation-based command - #79150
Codeturion wants to merge 2 commits into
Conversation
|
Two drifted spots survive this diff, both in the 1. The example shows a single So the format currently documented is the one case the command never produces. 2. The "No review comment posted" cause list omits the most likely cause. Since We hit exactly this: a CI workflow invoking Suggested bullet, ahead of the others: Happy to open a follow-up PR for either if you would rather keep this diff scoped. Note that |
The --comment half of the README still described the pre-9fd556d9 behaviour. The Review comment format block showed a single numbered summary comment, which step 9 stopped posting when it moved to one inline comment per issue. The only gh pr comment left is the no-issues case. The No review comment posted cause list also omitted the commonest cause. e4f6820 made terminal-only output the default, so a run without --comment posts nothing at all.
|
Both confirmed against 1. Replaced the 2. Added your bullet at the top of the cause list, verbatim. Agreed it belongs ahead of the One more in the same family while I was in there: the GitHub integration list credited Verification is a script this time rather than a table: Thanks for the review, and for the CI report. A green check with permanent silence is exactly the |
Summary
The code-review README describes a pipeline the command no longer implements: a git blame/history agent, a 0-100 confidence scoring system with an 80 threshold, and a Configuration section telling users to edit a "Filter out any issues with a score less than 80." line that does not exist in
commands/code-review.md. The command actually runs 2 CLAUDE.md compliance agents plus 2 bug agents and validates each candidate issue with a dedicated subagent. This PR rewrites the drifted sections to match, and removes the dead Configuration subsection.A second commit fixes the
--commenthalf of the README, per @kraigparkinson's review below. The "Review comment format" block showed a single numbered summary comment. Step 9 stopped posting that in9fd556d9and now posts one inline comment per issue, so the documented format was the one output the command never produces. The "No review comment posted" cause list also omitted the commonest cause:e4f68203made terminal-only the default, so a run without--commentposts nothing.Files changed
plugins/code-review/README.md(tagline, Overview, step list, example, Features, scoring block removed, Best Practices, Troubleshooting, Tips, Configuration, Technical Details; then the--commentoutput description, the "No review comment posted" causes, and theghintegration list)Verification
Setup: fresh checkout of main; grep-based consistency check between README and
commands/code-review.mdbefore and after. The second commit adds a runnable script,verify.sh <plugins/code-review dir>, which asserts four facts about the command file and two about the README. Pointed at a tree built fromupstream/main, the two README checks fail; pointed at this branch, all six pass.Details: for each removed concept, confirmed zero occurrences in the command file; for each replacement, confirmed the command file actually specifies it (steps 4-6: two Opus bug agents, validation subagents, filter unvalidated). The one remaining use of "confidence" in the README ("confirmed with high confidence") mirrors the command's own step-5 wording. For the second commit: the command file has exactly one
gh pr commentcall site outsideallowed-tools, and it is the--comment+ no-issues path (step 7); the--comment+ issues path goes throughmcp__github_inline_comment__create_inline_comment(step 9); step 7 stops before any GitHub write when--commentis absent.Comparisons
## Code reviewsummary example9fd556d9)--commentas a no-comment causee4f68203ghdescribed as posting inline commentsRefs
Fixes #79145