diff --git a/.claude/agents/code-inline-reviewer.md b/.claude/agents/code-inline-reviewer.md index 27e5b2bbefa5..1c8cbe597aef 100644 --- a/.claude/agents/code-inline-reviewer.md +++ b/.claude/agents/code-inline-reviewer.md @@ -55,7 +55,9 @@ Each rule file contains: 7. **Do NOT post comments, call scripts, or add reactions.** Only return the structured JSON. 8. **DO NOT invent new rules, stylistic preferences, or commentary outside the listed rules.** 9. **DO NOT describe what you are doing or add extra content.** - EXCEPTION: If you believe something MIGHT be a Rule violation but are uncertain, err on the side of including it in the violations array rather than skipping it. +10. **Self-critique gate - only include violations you are fully confident about.** When uncertain, omit entirely. + - Never include deliberation, self-correction, or hedging language (e.g., "actually", "upon re-reading", "wait", "however") in the `body` field. Each violation must state the issue as a definitive fact with a concrete fix. + - A violation that you would retract upon closer reading should never appear in the output. ## Comment Format