forked from mm7894215/TokenTracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.coderabbit.yaml
More file actions
43 lines (43 loc) · 1.7 KB
/
Copy path.coderabbit.yaml
File metadata and controls
43 lines (43 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
40
41
42
43
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
language: en-US
early_access: false
reviews:
profile: chill
request_changes_workflow: false
high_level_summary: true
poem: false
review_status: true
auto_review:
enabled: true
drafts: false
base_branches:
- main
# Don't waste review on generated / vendored / lockfile noise.
path_filters:
- "!**/package-lock.json"
- "!dashboard/dist/**"
- "!**/*.min.js"
- "!TokenTrackerBar/EmbeddedServer/**"
- "!TokenTrackerWin/EmbeddedServer/**"
# Project-specific review focus — the load-bearing conventions from CLAUDE.md.
path_instructions:
- path: "src/lib/rollout.js"
instructions: >
Provider parsers. Flag any dedup using a bare `if (msgId && reqId)`
instead of the shared `claudeMessageDedupKey()` helper — it over-counts
1.6-3.7x on providers without reqId (DeepSeek / Kimi / Mimo / MiniMax /
Claude sub-agents). Also verify input_tokens semantics: some providers
(Codex / every-code) fold cached tokens into `input`, which inflates
cost 6-7x if copied naively.
- path: "src/lib/pricing/**"
instructions: >
Pricing must stay in sync across ALL locations (curated-overrides.json,
every edge-patch, and the seed snapshot). Flag a price change that only
touches one location — the cloud silently bills $0 otherwise.
- path: "dashboard/src/**"
instructions: >
User-facing strings must come from dashboard/src/content/copy.csv — flag
hardcoded UI text. This is a Vite SPA (NOT Next.js): do not suggest
"use client" directives or Next.js-specific patterns.
chat:
auto_reply: true