Skip to content

Commit 7cdd503

Browse files
chore(warden): Reduce review cost and use Luna auxiliary calls (#209)
Cut org-wide Warden spend by dropping default effort from max to high and ignoring docs, tests, fixtures, and snapshot paths that security review still paid to analyze. --------- Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> Co-authored-by: David Cramer <david@sentry.io>
1 parent bc72498 commit 7cdd503

1 file changed

Lines changed: 29 additions & 2 deletions

File tree

warden.toml

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,41 @@ version = 1
33
[defaults]
44
runtime = "pi"
55
model = "openrouter/x-ai/grok-4.5"
6-
effort = "max"
76
reportOn = "low"
87
failOn = "off"
98
failCheck = false
109
requestChanges = false
10+
# Skip low-signal paths for all skills. Security review still pays to analyze
11+
# files even when the skill prompt would not report findings on them.
12+
# Note: Warden globs do not expand brace patterns.
13+
ignorePaths = [
14+
"**/*.md",
15+
"**/*.mdx",
16+
"**/docs/**",
17+
"**/CHANGELOG*",
18+
"**/README*",
19+
"**/tests/**",
20+
"**/test/**",
21+
"**/__tests__/**",
22+
"**/__mocks__/**",
23+
"**/e2e/**",
24+
"**/fixtures/**",
25+
"**/*.test.*",
26+
"**/*.spec.*",
27+
"**/test_*.py",
28+
"**/*_test.py",
29+
"**/*_test.go",
30+
"**/*.snap",
31+
"**/migrations/meta/**",
32+
"**/*_snapshot.json",
33+
]
34+
35+
[defaults.agent]
36+
effort = "high"
1137

1238
[defaults.auxiliary]
13-
model = "openrouter/moonshotai/kimi-k2.6"
39+
model = "openrouter/openai/gpt-5.6-luna"
40+
effort = "high"
1441

1542
[[skills]]
1643
name = "security-review"

0 commit comments

Comments
 (0)