forked from abacusmodeling/abacus-develop
-
Notifications
You must be signed in to change notification settings - Fork 234
Expand file tree
/
Copy path.coderabbit.yaml
More file actions
47 lines (45 loc) · 1.92 KB
/
Copy path.coderabbit.yaml
File metadata and controls
47 lines (45 loc) · 1.92 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
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
language: en-US
reviews:
auto_review:
enabled: true
drafts: false
request_changes_workflow: false
high_level_summary: true
poem: false
path_instructions:
- path: "source/**"
instructions: |
Apply the ABACUS agent governance rules before general style feedback.
Focus on newly introduced GlobalV/GlobalC/PARAM dependencies, default
parameters in headers, module placement, CMakeLists.txt linkage, C++11
compatibility, and focused tests for behavior changes.
- path: "source/source_io/module_parameter/**"
instructions: |
Treat INPUT parameter metadata, parsing, defaults, descriptions, and
availability changes as user-visible behavior. Require matching updates
to docs/parameters.yaml and docs/advanced/input_files/input-main.md, or
a clear no-update explanation in the PR.
- path: "docs/**"
instructions: |
Check that documentation changes match the implementation and do not
weaken the rule grading matrix without an explicit rationale.
- path: ".github/**"
instructions: |
Check workflow, PR-template, CodeRabbit, and Copilot instruction
changes for consistency with AGENTS.md and
docs/developers_guide/agent_governance.md.
- path: "tools/03_code_analysis/**"
instructions: |
Review governance checker changes for false positives, missing
diff-scoping, test coverage, and consistency with the GitHub Actions
summary output. Prefer deterministic checks for low-noise blockers and
leave semantic ownership decisions to AI and human review.
knowledge_base:
code_guidelines:
enabled: true
filePatterns:
- "AGENTS.md"
- "docs/developers_guide/agent_governance.md"
- ".github/copilot-instructions.md"
- ".github/instructions/*.instructions.md"