mirror of
https://github.com/tiennm99/ccs.git
synced 2026-07-16 02:11:28 +00:00
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:
@@ -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 *)"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user