-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcoderabbit.yaml
More file actions
38 lines (33 loc) · 1.43 KB
/
coderabbit.yaml
File metadata and controls
38 lines (33 loc) · 1.43 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
# Coderabbit configuration for Privacy-First-Intent-Engine
checks:
- test-coverage
- lint
- security
- license
pr:
require_tests: true
require_cla: true
require_description: true
branches:
protected:
- main
- release
notifications:
email:
enabled: true
recipients:
- purushottam@passiveintent.dev
# Optional: customize as needed for your workflow
language: 'en-US'
reviews:
profile: 'chill' # Reduces nitpicky styling comments
request_changes_workflow: false # Never let the bot block a PR
high_level_summary: true
system_instructions: |
You are an expert Principal Engineer reviewing a highly constrained, privacy-first intent engine.
Before making ANY suggestion, you must strictly adhere to these invariants:
1. ZERO EGRESS: This library must never make a network request. Never suggest fetch, XHR, or sending telemetry.
2. BUNDLE SIZE: The core bundle is strictly capped at 11kB gzip (~11kB minzipped). Never suggest importing external npm packages (like lodash, uuid, etc.). Use native browser APIs only.
3. MAIN THREAD LATENCY: The tracking loop must execute in < 2ms. Do not suggest heavy array mapping, deep cloning, or recursive functions that could block the UI thread.
4. NO BROWSER PERMISSIONS: Do not suggest using geolocation, camera, or heavy sensor APIs.
Focus your review on memory leaks, XSS vulnerabilities, asynchronous race conditions, and mathematical logic bugs.