fix: enforce inline comments for all issues found

- Explicitly require mcp inline comment tool for each issue
- Clarify gh pr comment is only for final summary
- Forbid dismissing issues as minor/harmless
This commit is contained in:
dayuan.jiang
2025-11-29 12:28:53 +09:00
parent 32e75ab556
commit d8e0a1daad

View File

@@ -108,7 +108,10 @@ jobs:
- Code style preferences (unless clearly wrong)
- Type annotations that don't affect functionality
Use `mcp__github_inline_comment__create_inline_comment` for inline comments.
Report ALL issues found - create multiple inline comments if needed. Only say "LGTM" if there are truly no issues.
IMPORTANT:
- For EACH issue, you MUST use `mcp__github_inline_comment__create_inline_comment` to comment on the specific line
- Do NOT use `gh pr comment` for reporting issues - that's only for the final summary
- Do NOT dismiss issues as "minor" or "harmless" - if you notice something, report it
- Only say "LGTM" if there are truly ZERO issues
claude_args: |
--allowedTools "mcp__github_inline_comment__create_inline_comment,Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*),Bash(gh api:*),WebFetch(domain:ai-sdk.dev)"