From e34b3570abdb2d52fcdbb7c54db3777ea3c15ccb Mon Sep 17 00:00:00 2001 From: John Burton Date: Sun, 3 May 2026 09:50:29 +0100 Subject: [PATCH] Update code --- scripts/ai_code_review.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/ai_code_review.py b/scripts/ai_code_review.py index ed8a4fd..fb395db 100644 --- a/scripts/ai_code_review.py +++ b/scripts/ai_code_review.py @@ -175,6 +175,8 @@ def build_prompt(diff_text: str) -> str: return ( "Review the following git diff. Focus on correctness, regressions, missing validation, " "build/test issues, and security concerns. " + "No need to comment on removed code unless it seems like it would cause a problem. " + "Do not review the scripts in the scripts directory, as they are not part of the main codebase. " "Return either 'No issues found.' or a short flat list where each item includes severity, file, and issue.\n\n" f"{truncated_diff}{suffix}" )