Repository navigation
Expand file tree
/
Copy pathwarden.toml
More file actions
54 lines (43 loc) · 1.33 KB
/
Copy pathwarden.toml
File metadata and controls
54 lines (43 loc) · 1.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
version = 1
# Security and confidentiality review. warden-clearance.yml approves clean PRs;
# see .warden/README.md.
[defaults]
defaultBranch = "dev"
reportOn = "low"
ignorePaths = ["**/node_modules/**", "**/pnpm-lock.yaml", "**/dist/**", "**/*.min.js"]
[defaults.scan]
maxFileLines = 5000
# Warden's defaults (150 files, 10,000 changed lines) left big PRs half
# reviewed, and a partial review never clears. PRs beyond these still come
# back incomplete: split them.
maxFiles = 400
maxChangedLines = 60000
# Keep every eligible diff line, but amortize prompts and extraction across
# slightly larger chunks. No generated-file exclusions: see .warden/README.md.
[defaults.chunking.coalesce]
enabled = true
maxGapLines = 30
maxChunkSize = 12000
[defaults.agent]
model = "openai/gpt-6-luna"
[defaults.auxiliary]
model = "openai/gpt-6-luna"
[[skills]]
name = "diff-security-review"
[[skills.triggers]]
type = "pull_request"
actions = ["opened", "synchronize", "reopened", "ready_for_review"]
[[skills.triggers]]
type = "local"
failOn = "info"
minConfidence = "low"
# Keep the public-repository confidentiality rule in AGENTS.md.
[[skills]]
name = "confidentiality-review"
[[skills.triggers]]
type = "pull_request"
actions = ["opened", "synchronize", "reopened", "ready_for_review"]
[[skills.triggers]]
type = "local"
failOn = "info"
minConfidence = "low"