diff --git a/scripts/automated-pr-review.mjs b/scripts/automated-pr-review.mjs index 280f3c8d..617db161 100644 --- a/scripts/automated-pr-review.mjs +++ b/scripts/automated-pr-review.mjs @@ -176,7 +176,10 @@ async function reviewPR(prNumber, baseRef) { if (sensitiveChanges.length > 0) { commentBody += '### 🛡️ Guardrails\n\n'; commentBody += 'This PR modifies sensitive files. **Security and Protocol Review Required.**\n'; + + // Explicit flags for CI/bots to pick up commentBody += '`requires-security-review` `requires-protocol-review`\n\n'; + commentBody += '
Sensitive Files Touched\n\n'; sensitiveChanges.forEach(f => commentBody += `- ${f}\n`); commentBody += '\n
\n\n';