Skip to content

v2.0.8 — cost opt: Opus + first-open + no MCP + simpler prompt

Choose a tag to compare

@nsportsman nsportsman released this 19 Apr 19:32
98b351a

Summary

Cost-optimizes the Claude reviewer to ~3x cheaper while raising review quality:

  • Opus 4.7 hardcoded — senior-engineer model for the single review
  • First-open only — drops synchronize trigger; CodeRabbit + Codex handle per-push
  • No MCP inline tool — cuts 3-5k tokens/turn overhead; CodeRabbit covers inline review
  • Simpler prompt — 3 sections (Critical / Security / Test coverage), defers style nits to CodeRabbit + Codex
  • --max-turns 15 — headroom for Opus to complete simpler prompt

Caller pin

uses: praetorian-inc/public-workflows/.github/workflows/claude-code.yml@98b351a8f9a0876d65c8c80c4d5a273d2310ba99  # v2.0.8

Cost estimate (46 repos × 10 PRs/week)

  • Before v2.0.8 (Sonnet + MCP + every push): ~$60-72k/yr
  • After v2.0.8 (Opus + first-open + no MCP): ~$15-25k/yr

Security posture unchanged — same head.repo check, --disallowedTools floor, defensive system prompt, CODEOWNERS.