Skip to content

Commit c74b5ab

Browse files
committed
fix: apply CodeRabbit review guidance globally
1 parent a1375cd commit c74b5ab

1 file changed

Lines changed: 15 additions & 18 deletions

File tree

‎.coderabbit.yaml‎

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,14 @@
11
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
22
language: en-US
3+
tone_instructions: >-
4+
Be direct and evidence-first. Report only concrete, actionable findings grounded in changed code.
5+
Prioritize correctness, security, data loss, lifecycle, and regressions; avoid speculative style
6+
comments and unrelated refactors.
37
48
reviews:
59
profile: assertive
610
request_changes_workflow: true
711
high_level_summary: true
8-
high_level_summary_instructions: >-
9-
Act as an adversarial second-opinion reviewer. Verify PR claims against implementation,
10-
contracts, and tests. Trace changed inputs through normal, boundary, error, cancellation,
11-
retry, and default paths and their consumers. Seek plausible counterexamples and regressions
12-
from removed safeguards. Report only concrete, actionable findings grounded in changed code
13-
and repository conventions. Prioritize correctness, security, data loss, lifecycle, and test
14-
gaps. Avoid speculative style comments and unrelated refactors. Search for existing helpers
15-
before suggesting abstractions, and distinguish actual defects from unsupported checks.
1612
high_level_summary_in_walkthrough: true
1713
review_status: true
1814
review_details: true
@@ -33,26 +29,27 @@ reviews:
3329
- "!**/.turbo/**"
3430
- "!apps/vscode-e2e/.vscode-test/**"
3531
- "!bin/*.vsix"
36-
- "!pnpm-lock.yaml"
3732
- "!webview-ui/**/__screenshots__/**"
3833

3934
path_instructions:
35+
- path: "**/*"
36+
instructions: >-
37+
Act as an adversarial second-opinion reviewer. Verify PR claims against implementation,
38+
contracts, and tests. Trace changed inputs through normal, boundary, error, cancellation,
39+
retry, and default paths and their consumers. Seek plausible counterexamples and regressions
40+
from removed safeguards. Report only concrete, actionable findings grounded in changed code
41+
and repository conventions. Prioritize correctness, security, data loss, lifecycle, and test
42+
gaps. Avoid speculative style comments and unrelated refactors. Search for existing helpers
43+
before suggesting abstractions, and distinguish actual defects from unsupported checks.
44+
4045
- path: "**/*.{ts,tsx,js,jsx,mts,mjs,cts,cjs}"
4146
instructions: >-
4247
Check strict typing and exhaustive behavior across normal, boundary, error,
4348
cancellation, retry, and compatibility paths. Verify promises and errors are handled,
4449
existing helpers are reused, and new code introduces no `any`, unjustified double
4550
assertions, floating promises, duplicated helpers, or increased lint suppressions.
4651
47-
- path: "**/*.{test,spec}.{ts,tsx,js,jsx}"
48-
instructions: >-
49-
Require regression coverage at the lowest valid harness with behavior-focused
50-
assertions, including relevant negative, error, false/unset, and boundary cases.
51-
Check cleanup and deterministic async behavior and prefer shared typed test helpers.
52-
Visible webview changes require a durable Playwright component snapshot; behavior-only
53-
changes do not.
54-
55-
- path: "**/__tests__/**"
52+
- path: "{**/*.{test,spec}.{ts,tsx,js,jsx},**/__tests__/**}"
5653
instructions: >-
5754
Require regression coverage at the lowest valid harness with behavior-focused
5855
assertions, including relevant negative, error, false/unset, and boundary cases.

0 commit comments

Comments
 (0)