-
Notifications
You must be signed in to change notification settings - Fork 596
Expand file tree
/
Copy pathcodegenie.toml
More file actions
83 lines (67 loc) · 2.33 KB
/
Copy pathcodegenie.toml
File metadata and controls
83 lines (67 loc) · 2.33 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
# 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.
[git]
baseBranch = "develop"
[review]
depth = "normal"
# Generated code — regenerated by tooling, not hand-reviewed.
[[classification.pathRules]]
pattern = "**/gen_*.go"
processingMode = "skip"
reason = "gencodec-generated marshaling (go:generate gencodec), marked do-not-edit"
[[classification.pathRules]]
pattern = "**/*.pb.go"
processingMode = "skip"
reason = "protoc-generated protobuf bindings"
[[classification.pathRules]]
pattern = "**/*_mock.go"
processingMode = "skip"
reason = "mockgen-generated test doubles"
[[classification.pathRules]]
pattern = "tests/bor/mocks/**"
processingMode = "skip"
reason = "generated Heimdall client mocks"
[[classification.pathRules]]
pattern = "docs/cli/**"
processingMode = "skip"
reason = "generated CLI reference (make docs)"
# Consensus-critical zones, mirroring the scopes in .claude/rules. Bugs here
# can halt the chain, split consensus, or lose funds.
[[classification.pathRules]]
pattern = "consensus/**"
reviewPriority = "critical"
labels = ["consensus"]
reason = "validator auth, sprint/span block production, Heimdall trust, fork choice"
[[classification.pathRules]]
pattern = "miner/**"
reviewPriority = "critical"
labels = ["consensus"]
reason = "block production and pending-gate liveness"
[[classification.pathRules]]
pattern = "core/vm/**"
reviewPriority = "critical"
labels = ["evm"]
reason = "gas accounting, opcodes, precompile safety, EIP and fork gating"
[[classification.pathRules]]
pattern = "params/**"
reviewPriority = "critical"
labels = ["hardfork"]
reason = "hardfork activation wiring and chain config; runtime/genesis parity"
[[classification.pathRules]]
pattern = "core/txpool/**"
reviewPriority = "critical"
labels = ["txpool"]
reason = "pool limits, validation ordering, eviction, blob handling"
[[classification.pathRules]]
pattern = "core/state/**"
reviewPriority = "critical"
labels = ["state"]
reason = "state root determinism and journal correctness"
[[classification.pathRules]]
pattern = "core/blockstm/**"
reviewPriority = "critical"
labels = ["state"]
reason = "parallel execution safety and determinism"