Skip to content

Commit 7a2793c

Browse files
committed
chore: add formal verification review guidance
1 parent 2561d82 commit 7a2793c

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.coderabbit.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ reviews:
5151
для заявленного поведения и security-риск. Если спека не видна,
5252
попроси автора добавить ее в issue или PR description.
5353
54+
Проверь решение с точки зрения формальной верификации: какие инварианты,
55+
предусловия и постусловия можно доказать математически, а где доказуемость
56+
слабая. Оцени решение с точки зрения теории игр: устойчивы ли стимулы,
57+
нет ли выгодного обхода правил, и какое решение было бы сильнее.
58+
5459
pre_merge_checks:
5560
issue_assessment:
5661
mode: "warning"
@@ -61,7 +66,8 @@ reviews:
6166
Fail if the diff contradicts the visible spec/TZ, linked issue, PR
6267
discussion, README/docs, or changes behavior without documenting it.
6368
Fail if promised behavior has no relevant tests. Return Inconclusive
64-
when the spec is missing and ask the author to add it.
69+
when the spec is missing and ask the author to add it. Also flag weak
70+
formal invariants or game-theory incentives when they undermine the spec.
6571
- name: "Security regression"
6672
mode: "warning"
6773
instructions: |

0 commit comments

Comments
 (0)