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}" )