-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.coderabbit.yaml
More file actions
39 lines (39 loc) · 1.7 KB
/
Copy path.coderabbit.yaml
File metadata and controls
39 lines (39 loc) · 1.7 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
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
language: en-US
reviews:
profile: assertive
auto_review:
enabled: true
drafts: false
base_branches:
- main
- master
- develop
- beta
- "clawbox-*"
path_instructions:
- path: "src/app/**/*.ts*"
instructions: |
Next.js 16 App Router (TypeScript) running on an embedded NVIDIA Jetson device with bun runtime.
Review for:
- Proper async/await error handling
- Shell command injection risks (execFile usage with nmcli, iptables)
- Resource constraints (limited memory/CPU on embedded hardware)
- Security of network management operations
- path: "src/app/**/route.ts"
instructions: "Next.js Route Handlers. Ensure proper input validation, HTTP status codes, and error responses"
- path: "src/lib/network.ts"
instructions: "Critical system file — manages WiFi AP and client mode via nmcli. Review for race conditions and proper cleanup on failure"
- path: "src/lib/**"
instructions: "TypeScript server-side libraries. Review for proper error handling and type safety"
- path: "src/components/**"
instructions: "React 19 components with Tailwind CSS v4. Review for accessibility, proper state management, and XSS prevention"
- path: "scripts/**/*.sh"
instructions: "Bash scripts managing NetworkManager and iptables. Review for proper error handling, quoting, and idempotency"
- path: "config/**"
instructions: "Systemd service units and dnsmasq config for embedded deployment. Review for correct dependencies and security settings"
tools:
gitleaks:
enabled: true
chat:
auto_reply: true