Skip to content

Commit 0affa20

Browse files
committed
chore: refine CodeRabbit checks
1 parent 2ecbf35 commit 0affa20

1 file changed

Lines changed: 35 additions & 7 deletions

File tree

‎.coderabbit.yaml‎

Lines changed: 35 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ chat:
1111
knowledge_base:
1212
web_search:
1313
enabled: true
14+
learnings:
15+
scope: local
1416

1517
reviews:
1618
profile: assertive
@@ -27,7 +29,7 @@ reviews:
2729
enabled: false
2830
drafts: false
2931
auto_incremental_review: true
30-
auto_pause_after_reviewed_commits: 0
32+
auto_pause_after_reviewed_commits: 5
3133
labels:
3234
- "coderabbit-review-active"
3335

@@ -128,8 +130,20 @@ reviews:
128130
during release preparation. Verify documentation describes real behavior and contracts,
129131
and deprioritize prose-only nits that do not affect correctness or usability.
130132
133+
finishing_touches:
134+
docstrings:
135+
enabled: false
136+
131137
pre_merge_checks:
132138
override_requested_reviewers_only: true
139+
docstrings:
140+
mode: off
141+
title:
142+
mode: warning
143+
description:
144+
mode: warning
145+
issue_assessment:
146+
mode: warning
133147
custom_checks:
134148
- name: Regression evidence
135149
mode: warning
@@ -140,18 +154,32 @@ reviews:
140154
snapshot. Do not demand tests for unchanged behavior, mechanical configuration, or every
141155
branch without a plausible regression scenario. Cite the changed behavior and missing
142156
evidence.
143-
- name: Trust and persistence invariants
157+
- name: Security boundaries
158+
mode: error
159+
instructions: >-
160+
Fail only when a concrete changed path leaks secrets or PII, trusts or executes
161+
unvalidated input, or bypasses approval or allowlist controls. Cite the changed path
162+
and a plausible triggering scenario; pass when no such changed path exists.
163+
- name: Persistence integrity
144164
mode: error
145165
instructions: >-
146-
Fail only for a concrete changed path that leaks secrets or PII, trusts or executes
147-
unvalidated input, bypasses approval or allowlist controls, can lose persisted state due
148-
to a missing await, non-atomic write, or omitted default propagation, or leaks lifecycle
149-
resources. Cite the path and a plausible triggering scenario; pass when no such changed
150-
path exists.
166+
Fail only when a concrete changed persistence path can lose or corrupt state because an
167+
operation is not awaited, a write is non-atomic, rollback or explicit partial-failure
168+
behavior is missing, or a persisted default is not propagated to a consumer. Cite the
169+
changed path and a plausible triggering scenario; pass when no such changed path exists.
170+
- name: Lifecycle resource cleanup
171+
mode: error
172+
instructions: >-
173+
Fail only when a concrete changed lifecycle path can leak a listener, watcher, provider,
174+
timer, task, or other resource, or can duplicate work after cancellation, disposal, or
175+
restart. Cite the changed path and a plausible triggering scenario; pass when no such
176+
changed path exists.
151177
152178
tools:
153179
eslint:
154180
enabled: true
181+
github-checks:
182+
enabled: true
155183
actionlint:
156184
enabled: true
157185
shellcheck:

0 commit comments

Comments
 (0)