forked from Gitlawb/zero
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.coderabbit.yaml
More file actions
53 lines (51 loc) · 2.08 KB
/
Copy path.coderabbit.yaml
File metadata and controls
53 lines (51 loc) · 2.08 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
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
language: "en-US"
tone_instructions: "Be direct and prioritize actionable correctness, safety, CLI UX, and test coverage issues over style nits."
reviews:
profile: "chill"
# Allow explicit @coderabbitai approve / resolve commands to submit review verdicts.
request_changes_workflow: true
high_level_summary: true
poem: false
# Avoid noisy "review skipped" status comments when CodeRabbit decides not to run.
review_status: false
collapse_walkthrough: false
path_filters:
- "!dist/**"
- "!out/**"
- "!coverage/**"
- "!*.tgz"
- "!/zero"
- "!/zero.exe"
path_instructions:
- path: "src/**/*.ts"
instructions: |
Review changed code as a Bun-first TypeScript terminal coding agent. Prioritize tool safety, permission metadata, provider/config correctness, session/stream event integrity, and avoiding raw execution paths that bypass ToolBase-style controls.
- path: "src/tui/**/*.tsx"
instructions: |
Review Ink terminal UI for responsive layout, keyboard flow, approval prompts, startup cleanliness, and small-terminal behavior. Flag browser UI assumptions, hardcoded terminal dimensions, and clutter that weakens the CLI agent experience.
- path: "tests/**/*.ts"
instructions: |
Review tests for Bun test idioms, deterministic behavior, and meaningful coverage of safety decisions, provider/runtime flows, session events, and TUI command behavior.
tools:
github-checks:
timeout_ms: 300000
auto_review:
enabled: true
drafts: true
auto_incremental_review: true
auto_pause_after_reviewed_commits: 10
ignore_title_keywords:
- "WIP"
- "DO NOT MERGE"
- "[skip review]"
labels:
- "!do-not-review"
ignore_usernames:
- "dependabot[bot]"
- "renovate[bot]"
- "github-actions[bot]"
# CodeRabbit reviews default-branch PRs by default. This extends automatic
# reviews to PRs targeting any branch, including release and stacked branches.
base_branches:
- ".*"