Skip to content

Commit a1ca0c8

Browse files
zoomote[bot]roomote
andauthored
chore: ground CodeRabbit reviews with web search (#1490)
Co-authored-by: Roomote <[email protected]>
1 parent 1a7e718 commit a1ca0c8

1 file changed

Lines changed: 14 additions & 7 deletions

File tree

‎.coderabbit.yaml‎

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ tone_instructions: >-
55
Prioritize correctness, security, data loss, lifecycle, and regressions; avoid speculative style
66
comments and unrelated refactors.
77
8+
knowledge_base:
9+
web_search:
10+
enabled: true
11+
812
reviews:
913
profile: assertive
1014
request_changes_workflow: true
@@ -36,13 +40,16 @@ reviews:
3640
path_instructions:
3741
- path: "**/*"
3842
instructions: >-
39-
Act as an adversarial second-opinion reviewer. Verify PR claims against implementation,
40-
contracts, and tests. Trace changed inputs through normal, boundary, error, cancellation,
41-
retry, and default paths and their consumers. Seek plausible counterexamples and regressions
42-
from removed safeguards. Report only concrete, actionable findings grounded in changed code
43-
and repository conventions. Prioritize correctness, security, data loss, lifecycle, and test
44-
gaps. Avoid speculative style comments and unrelated refactors. Search for existing helpers
45-
before suggesting abstractions, and distinguish actual defects from unsupported checks.
43+
Act as an adversarial second-opinion reviewer. Verify PR claims against implementation and
44+
contracts. Trace changed inputs through normal, boundary, error, cancellation, retry, and
45+
default paths and their consumers. Seek plausible counterexamples and regressions from removed
46+
safeguards. Identify assumptions in changed code that depend on facts outside the diff. First
47+
verify repository conventions, tests, and related implementations. When a potential finding
48+
depends on external behavior, use web search and prefer official documentation, specifications,
49+
or upstream repositories. Report only concrete, actionable conflicts or failure modes, citing
50+
the relevant repository location or external source. Prioritize correctness, security, data loss,
51+
lifecycle, and test gaps. Do not report generic best practices, unsupported concerns, speculative
52+
style comments, or unrelated refactors. Search for existing helpers before suggesting abstractions.
4653
4754
- path: "**/*.{ts,tsx,js,jsx,mts,mjs,cts,cjs}"
4855
instructions: >-

0 commit comments

Comments
 (0)