Repository navigation
Expand file tree
/
Copy pathwarden.toml
More file actions
70 lines (59 loc) · 1.43 KB
/
Copy pathwarden.toml
File metadata and controls
70 lines (59 loc) · 1.43 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
version = 1
[defaults]
runtime = "pi"
model = "openrouter/x-ai/grok-4.5"
reportOn = "low"
failOn = "off"
failCheck = false
requestChanges = false
# Skip low-signal paths for all skills. Security review still pays to analyze
# files even when the skill prompt would not report findings on them.
# Note: Warden globs do not expand brace patterns.
ignorePaths = [
"**/*.md",
"**/*.mdx",
"**/docs/**",
"**/CHANGELOG*",
"**/README*",
"**/tests/**",
"**/test/**",
"**/__tests__/**",
"**/__mocks__/**",
"**/e2e/**",
"**/fixtures/**",
"**/*.test.*",
"**/*.spec.*",
"**/test_*.py",
"**/*_test.py",
"**/*_test.go",
"**/*.snap",
"**/migrations/meta/**",
"**/*_snapshot.json",
]
# Review only hunks changed since the last clean run on the PR.
incremental = true
incrementalApp = "sentry-warden"
[defaults.agent]
effort = "high"
[defaults.auxiliary]
model = "openrouter/openai/gpt-6-luna"
effort = "high"
[[skills]]
name = "security-review"
# Re-review every hunk on every push.
incremental = false
[[skills.triggers]]
type = "pull_request"
actions = ["opened", "synchronize", "reopened", "stacked"]
[[skills]]
name = "integrity-review"
# Re-review every hunk on every push.
incremental = false
[[skills.triggers]]
type = "pull_request"
actions = ["opened", "synchronize", "reopened", "stacked"]
[[skills]]
name = "code-review"
[[skills.triggers]]
type = "pull_request"
actions = ["opened", "synchronize", "reopened", "stacked"]