Skip to content

chore(warden): Reduce review cost and use Luna auxiliary calls - #209

Merged
dcramer merged 3 commits into
mainfrom
chore/warden-cost-defaults
Aug 12, 2026
Merged

chore(warden): Reduce review cost and use Luna auxiliary calls#209
dcramer merged 3 commits into
mainfrom
chore/warden-cost-defaults

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Cut org-wide Warden spend after we burned through the daily budget.

Changes

  • Set primary analysis reasoning to high under [defaults.agent]
  • Add default ignorePaths for docs, tests, fixtures, snapshots, and similar low-signal files
  • Switch auxiliary model to openrouter/openai/gpt-5.6-luna
  • Set auxiliary reasoning to high

Telemetry showed security-review spending heavily on low-signal paths. The skill prompt treats many of these files as out of scope, but Warden still pays to analyze them without path filters.

[defaults.auxiliary].effort depends on getsentry/warden#469 and must land in a Warden release before this PR can merge.

Requested by David Cramer.

--

View Junior Session [Sentry]

sentry-junior Bot and others added 2 commits August 12, 2026 21:50
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: David Cramer <david@sentry.io>
Use OpenAI gpt-5.6-luna via OpenRouter for auxiliary structured calls
instead of kimi-k2.6.

Co-Authored-By: David Cramer <david@sentry.io>
@sentry-junior sentry-junior Bot changed the title chore(warden): lower effort and skip low-signal paths chore(warden): lower effort, skip low-signal paths, aux luna Aug 12, 2026
@dcramer
dcramer marked this pull request as ready for review August 12, 2026 22:01
Use the supported agent effort block and set Luna auxiliary calls to high
reasoning once auxiliary effort support lands in Warden.

Co-Authored-By: David Cramer <david@sentry.io>
@sentry-junior sentry-junior Bot changed the title chore(warden): lower effort, skip low-signal paths, aux luna chore(warden): Reduce review cost and use Luna auxiliary calls Aug 12, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit ee2e1ad. Configure here.

Comment thread warden.toml
[defaults.auxiliary]
model = "openrouter/moonshotai/kimi-k2.6"
model = "openrouter/openai/gpt-5.6-luna"
effort = "high"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unsupported auxiliary effort setting

Medium Severity

effort under [defaults.auxiliary] is not a supported field for that lane. Warden documents effort only on [defaults.agent]; auxiliary accepts model and maxRetries. This key will not control Luna’s reasoning effort as intended, and may fail strict config validation on the org-wide base config.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit ee2e1ad. Configure here.

@dcramer

dcramer commented Aug 12, 2026

Copy link
Copy Markdown
Member

blocked on getsentry/warden#469

@dcramer
dcramer merged commit 7cdd503 into main Aug 12, 2026
10 of 11 checks passed
@dcramer
dcramer deleted the chore/warden-cost-defaults branch August 12, 2026 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant