forked from cometbft/cometbft
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathcodegenie.toml
More file actions
108 lines (89 loc) · 3.08 KB
/
Copy pathcodegenie.toml
File metadata and controls
108 lines (89 loc) · 3.08 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# codegenie AI code review config. See https://github.com/0xPolygon/codegenie
#
# Provider credentials and model selection live in the workflow
# (.github/workflows/codegenie-review.yml) for CI and in ~/.codegenie/ locally;
# only repo-safe review/classification keys belong here.
#
# baseBranch applies to local `codegenie review` on a branch. CI runs in PR
# mode, where the base comes from the PR itself and this key is unused.
#
# This is a fork that tracks upstream CometBFT. Reviews are on-demand, so
# upstream-merge PRs are simply never triggered; priorities below are tuned for
# PoS-authored changes.
[git]
baseBranch = "develop"
[review]
depth = "normal"
# Generated code — regenerated by tooling, not hand-reviewed.
[[classification.pathRules]]
pattern = "**/*.pb.go"
processingMode = "skip"
reason = "protoc-generated protobuf bindings"
[[classification.pathRules]]
pattern = "**/mocks/**"
processingMode = "skip"
reason = "mockery-generated test doubles (.mockery.yml)"
# Consensus and liveness zones. A bug here halts the chain or splits it.
[[classification.pathRules]]
pattern = "consensus/**"
reviewPriority = "critical"
labels = ["consensus"]
reason = "consensus state machine, voting, timeouts, WAL replay"
[[classification.pathRules]]
pattern = "state/**"
reviewPriority = "critical"
labels = ["consensus"]
reason = "block execution, validator-set updates, app-hash determinism"
[[classification.pathRules]]
pattern = "types/**"
reviewPriority = "critical"
labels = ["consensus", "wire"]
reason = "vote, block, and validator-set types; voting-power validation and signature bytes"
[[classification.pathRules]]
pattern = "blocksync/**"
reviewPriority = "critical"
labels = ["sync"]
reason = "catch-up path and peer-height reporting; catching_up correctness lives here"
[[classification.pathRules]]
pattern = "privval/**"
reviewPriority = "critical"
labels = ["keys"]
reason = "validator signing service; double-sign protection"
[[classification.pathRules]]
pattern = "mempool/**"
reviewPriority = "critical"
labels = ["mempool"]
reason = "tx admission, eviction, and gossip; DoS and liveness surface"
[[classification.pathRules]]
pattern = "abci/**"
reviewPriority = "critical"
labels = ["consensus"]
reason = "ABCI++ contract with the application; must stay deterministic"
[[classification.pathRules]]
pattern = "store/**"
reviewPriority = "high"
labels = ["state"]
reason = "block store and pruning/compaction behavior"
[[classification.pathRules]]
pattern = "evidence/**"
reviewPriority = "high"
labels = ["consensus"]
reason = "evidence validation and gossip; slashing input"
[[classification.pathRules]]
pattern = "statesync/**"
reviewPriority = "high"
labels = ["sync"]
reason = "snapshot restore path"
[[classification.pathRules]]
pattern = "p2p/**"
reviewPriority = "high"
labels = ["p2p"]
reason = "peer lifecycle and channel handling; reactor bugs surface as liveness loss"
[[classification.pathRules]]
pattern = "light/**"
reviewPriority = "low"
reason = "light client not used in the PoS stack"
[[classification.pathRules]]
pattern = "test/**"
reviewPriority = "low"
reason = "upstream e2e harness"