From bf08dabc61bb25f5a6ed582e2153b7cb93030389 Mon Sep 17 00:00:00 2001 From: Michael Ramos Date: Mon, 23 Mar 2026 12:21:04 -0700 Subject: [PATCH] fix: remove duplicate 'Code Review' header in opencode plugin review feedback (#375) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Same issue as #370 — exportReviewFeedback() already includes a '# Code Review Feedback' header. The opencode plugin was wrapping that output with another header, causing the heading to appear twice. Closes #374 For provenance purposes, this commit was AI assisted. --- apps/opencode-plugin/commands.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/opencode-plugin/commands.ts b/apps/opencode-plugin/commands.ts index 38e15cee..7f68f529 100644 --- a/apps/opencode-plugin/commands.ts +++ b/apps/opencode-plugin/commands.ts @@ -110,7 +110,7 @@ export async function handleReviewCommand( ? "# Code Review\n\nCode review completed — no changes requested." : isPRMode ? result.feedback - : `# Code Review Feedback\n\n${result.feedback}\n\nPlease address this feedback.`; + : `${result.feedback}\n\nPlease address this feedback.`; try { await client.session.prompt({