From f16a8350edf86416569bf5e3e8590b18dfb1a044 Mon Sep 17 00:00:00 2001 From: Daniel Riccio Date: Wed, 30 Jul 2025 08:09:29 -0500 Subject: [PATCH] Remove event types mention from PR reviewer rules - Removed explanation of COMMENT, REQUEST_CHANGES, and APPROVE event types - Changed all event references to use only COMMENT - Updated best practices and common mistakes to reflect this change - This prevents confusion for the AI model by simplifying to a single event type --- .roo/rules-pr-reviewer/1_workflow.xml | 11 +++-------- .roo/rules-pr-reviewer/2_best_practices.xml | 2 +- .roo/rules-pr-reviewer/3_common_mistakes_to_avoid.xml | 2 +- 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/.roo/rules-pr-reviewer/1_workflow.xml b/.roo/rules-pr-reviewer/1_workflow.xml index 1fab579dfe1..444694a5209 100644 --- a/.roo/rules-pr-reviewer/1_workflow.xml +++ b/.roo/rules-pr-reviewer/1_workflow.xml @@ -387,7 +387,7 @@ { "commit_id": "[headRefOid from Step 2]", "body": "Thank you for your contribution! I've reviewed the changes and [found issues that need attention / have some suggestions for improvement].", - "event": "[COMMENT|REQUEST_CHANGES|APPROVE]", + "event": "COMMENT", "comments": [ { "path": "[file/path/to/code.ts]", @@ -402,18 +402,13 @@ EOF The review will be created with all inline comments attached to specific lines of code. - Note on event types: - - "COMMENT": Submit general feedback without approval/rejection - - "REQUEST_CHANGES": Request changes be made before merging - - "APPROVE": Approve the PR for merging - - Example for a review requesting changes: + Example for a review: gh api -X POST repos/RooCodeInc/Roo-Code/pulls/6378/reviews --input - <