From db8834ba1d72e9a26fba30ac85f3bc4316bb0689 Mon Sep 17 00:00:00 2001 From: Kashyap Murali Date: Wed, 11 Mar 2026 22:16:05 -0700 Subject: [PATCH] feat(code-review): pass confirmed=true when posting inline comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The inline-comment MCP tool now requires confirmed=true to post (otherwise calls are buffered). This structurally prevents subagent test/probe comments from reaching customer PRs — subagents that inherit the tool and probe it without confirmed=true see their calls harmlessly buffered. Backward compatible: against older versions of claude-code-action that don't know the param, the extra field is ignored and the comment posts as before. --- plugins/code-review/commands/code-review.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/code-review/commands/code-review.md b/plugins/code-review/commands/code-review.md index 2c663cffdf..0b27765f17 100644 --- a/plugins/code-review/commands/code-review.md +++ b/plugins/code-review/commands/code-review.md @@ -68,7 +68,7 @@ Note: Still review Claude generated PR's. 8. Create a list of all comments that you plan on leaving. This is only for you to make sure you are comfortable with the comments. Do not post this list anywhere. -9. Post inline comments for each issue using `mcp__github_inline_comment__create_inline_comment`. For each comment: +9. Post inline comments for each issue using `mcp__github_inline_comment__create_inline_comment` with `confirmed: true`. For each comment: - Provide a brief description of the issue - For small, self-contained fixes, include a committable suggestion block - For larger fixes (6+ lines, structural changes, or changes spanning multiple locations), describe the issue and suggested fix without a suggestion block