-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.coderabbit.yaml
More file actions
54 lines (46 loc) · 1.3 KB
/
Copy path.coderabbit.yaml
File metadata and controls
54 lines (46 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
language: "en-US"
reviews:
profile: "assertive"
request_changes_workflow: false
high_level_summary: false
review_status: true
review_details: false
auto_review:
enabled: true
drafts: false
path_filters:
- "!dist-newstyle/**"
- "!dist/**"
- "!result/**"
- "!*.golden"
- "!snapshot.json"
- "!*.sarif"
path_instructions:
- path: "src/**/*.hs"
instructions: |
Review as Haskell library code.
Focus on:
- totality and explicit failure modes
- preserving invariants
- avoiding silent data loss
- small focused functions
- property-testable behavior
- propose using abstractions from mathematics
- path: "app/**/*.hs"
instructions: |
Review as CLI boundary code.
Focus on:
- actionable error messages
- stable command-line behavior
- compatibility with GitHub Actions
- not hiding failures
- path: "test/**/*.hs"
instructions: |
Review tests for meaningful regressions.
Prefer:
- property tests for invariants
- golden tests for CLI output
- small fixtures that reproduce real plan.json edge cases
chat:
auto_reply: true