mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-13 04:14:57 +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:
1 parent
a5c765b221
commit
57019c1105
1 file changed
+1
@@ -277,6 +277,7 @@ jobs:
|
|||||||
- Use simple, single-purpose bash commands only
|
- Use simple, single-purpose bash commands only
|
||||||
|
|
||||||
claude_args: |
|
claude_args: |
|
||||||
|
--bare
|
||||||
--model ${{ env.REVIEW_MODEL }}
|
--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 *)"
|
--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