From f4758bad995bca739798c2cca4dce89e95c3a221 Mon Sep 17 00:00:00 2001 From: Lourival Vieira Neto Date: Thu, 26 Nov 2026 20:20:46 -0300 Subject: [PATCH] review.js: the reviewer checks the body it returns For a branch with no pull request yet, the reviewer corrected the body it was handed against the final diff and ran no check over the result, so a body that ended on the assistant footer, which Claude Code's system reminder asks every agent to append, reached the reader as it stood and cost a round to drop a line. Its answer's body now also corrects what pr-body.sh names over it and the files the change carries, as its title already corrects what title.sh names. Closes #31 Co-Authored-By: Claude Opus 5.5 --- .agents/skills/review-pr/review.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.agents/skills/review-pr/review.js b/.agents/skills/review-pr/review.js index 7e4aa07..ef65dbb 100644 --- a/.agents/skills/review-pr/review.js +++ b/.agents/skills/review-pr/review.js @@ -184,7 +184,8 @@ maintainer stated, quoted (AGENTS.md, "Deciding what to change"), and one withou answered removed.${a.smallest ? ` The implementer's own reading, which yours is not bound by: ${JSON.stringify(a.smallest)}` : ''}${a.body && !a.pr ? ` The pull request opens with this body once the build passes; read it with the commit bodies, and your answer's -body is this text with what the final diff, your fixups included, makes untrue corrected, the rest as it stands: +body is this text with what the final diff, your fixups included, makes untrue, or ${H}tools/checks/pr-body.sh names +over it and the files the change carries, corrected, the rest as it stands: ${JSON.stringify(a.body)}` : ''}${a.title && !a.pr ? ` It opens with the title ${JSON.stringify(a.title)}, and your answer's title is that one with what the final diff makes untrue, or ${H}tools/checks/title.sh names, rewritten.` : ''}