ci(ai-review): add --bare flag to prevent CLAUDE.md pollution in reviews

Review prompt already contains self-contained CCS-specific rules.
Loading project CLAUDE.md caused dev-oriented rules (no-emoji, quality
gates, branching) to leak into review output. --bare makes the review
prompt the sole source of truth and saves ~2K tokens per run.
This commit is contained in:
Tam Nhu Tran
2026-03-26 17:37:47 -04:00
parent a5c765b221
commit 57019c1105
+1
View File
@@ -277,6 +277,7 @@ jobs:
- Use simple, single-purpose bash commands only
claude_args: |
--bare
--model ${{ env.REVIEW_MODEL }}
--allowedTools "Edit,Glob,Grep,LS,Read,Write,Bash(gh pr diff *),Bash(gh pr view *),Bash(gh issue view *),Bash(git diff *),Bash(git log *),Bash(git status *),Bash(cat *),Bash(ls *)"