Skip to content

Commit 20c1949

Browse files
authored
Merge pull request #48 from VeraTools/chore/coderabbit-config
chore: add CodeRabbit configuration tuned to project guidelines
2 parents 8103e04 + 83fff87 commit 20c1949

1 file changed

Lines changed: 45 additions & 0 deletions

File tree

.coderabbit.yaml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
2+
language: en
3+
reviews:
4+
# profile/tools/finishing_touches and chat.auto_reply are Pro-tier fields;
5+
# on the free tier CodeRabbit ignores them and reviews continue with the
6+
# remaining settings (path_instructions, toggles) unchanged.
7+
profile: assertive
8+
request_changes_workflow: true
9+
high_level_summary: true
10+
poem: false
11+
collapse_walkthrough: true
12+
sequence_diagrams: false
13+
review_status: true
14+
path_instructions:
15+
- path: "crates/vera-core/src/retrieval/**"
16+
instructions: |
17+
Ranking/retrieval changes must obey the repo's benchmark-integrity rules: no heuristic tuning that only helps isolated benchmark tasks, every signal needs a mechanism-level rationale grounded in how developers search code, and behavior changes require Semble benchmark verification. Flag any ranking change that lacks justification or tests.
18+
- path: "crates/**"
19+
instructions: |
20+
Enforce the repo's Rust guidelines: minimal LOC, no duplicated logic (suggest extraction), simple readable code over clever code, anyhow::Result in CLI code and thiserror in vera-core, tracing for logging, tests in #[cfg(test)] modules at file bottom. Rust edition 2024, MSRV 1.85.
21+
- path: "**/*.md"
22+
instructions: |
23+
Docs must follow the repo's documentation rules: no em-dashes in user-facing docs, no hedging or banned words (comprehensive, robust, seamless, leverage, utilize, facilitate, empower, cutting-edge, state-of-the-art, holistic), one fact in exactly one place, and docs must be updated in the same PR as the behavior they describe. Flag stale claims (test counts, version numbers) that contradict code.
24+
- path: ".github/workflows/**"
25+
instructions: |
26+
This repo runs CI on Blacksmith runners (blacksmith-* labels; see .github/actionlint.yaml). Do not flag blacksmith-* runner labels as unknown. Release workflows must preserve the 6 Rust targets and archive names vera-<target>.(tar.gz|zip).
27+
- path: "eval/**"
28+
instructions: |
29+
Benchmark harness changes must not weaken integrity: no hardcoded expected answers, no silent skipping of failed tasks, metrics math must stay consistent across scripts (see benchmarks/scripts/bench_common.py).
30+
tools:
31+
actionlint:
32+
enabled: true
33+
shellcheck:
34+
enabled: true
35+
markdownlint:
36+
enabled: true
37+
ruff:
38+
enabled: true
39+
finishing_touches:
40+
docstrings:
41+
enabled: false
42+
unit_tests:
43+
enabled: false
44+
chat:
45+
auto_reply: true

0 commit comments

Comments
 (0)