Skip to content

ci(review): canary Claude reviews on claude-sonnet-5 (harper only)#1759

Open
heskew wants to merge 1 commit into
mainfrom
ci/sonnet-5-review-canary
Open

ci(review): canary Claude reviews on claude-sonnet-5 (harper only)#1759
heskew wants to merge 1 commit into
mainfrom
ci/sonnet-5-review-canary

Conversation

@heskew

@heskew heskew commented Jul 11, 2026

Copy link
Copy Markdown
Member

What

One-input canary: harper's Claude reviews run on claude-sonnet-5 while the fleet default stays claude-sonnet-4-6 (the reusable's default is untouched; this is a caller-side `model:` override).

Why harper, why now

  • Sonnet 5's largest gains over 4.6 are coding/agentic work — our review workload. Intro pricing ($2/$10 per MTok through 2026-08-31) roughly offsets the new tokenizer (~30% more tokens per equivalent text); post-intro cost is ~1.3x.
  • harper has the highest review traffic (~15 log entries/day), so the A/B converges fastest. Every ai-review-log entry records `Model:`, so calibration can slice sonnet-5 vs sonnet-4-6 verdict mix directly at the same prompt ref.

Watch item (decides promote vs revert)

Sonnet 5 follows blocker-only severity instructions more literally — a documented code-review-harness effect where precision rises but measured recall can fall. Our dominant calibration failure is already severity deflation, so the metric to watch in the next calibration cycle is the deflation-partial rate for sonnet-5 entries vs 4.6. If it rises: add coverage-first reporting to the run-notes surface (findings with confidence/severity in the log, blocker-only on the PR) and re-measure. If clean or better: promote to the reusable default and drop this override.

Note: this PR edits the caller workflow, so its own Claude review check fails with the expected anti-tamper guard; clears on merge.


🤖 Generated with Claude Code

Override the reusable's model default (claude-sonnet-4-6) for this
repo's claude-review caller. harper is the A/B canary: highest review
traffic, and every ai-review-log entry records Model:, so calibration
can compare sonnet-5 vs sonnet-4-6 verdict mix directly at the same
prompt ref (9cf49d2). Intro pricing ($2/$10 through 2026-08-31) offsets
the new tokenizer (~30% more tokens for equivalent text).

Watch item: Sonnet 5 follows blocker-only severity instructions more
literally (documented code-review-harness effect) — if the deflation
rate rises in the next calibration cycle, add coverage-first reporting
to the run-notes surface before fleet rollout; if clean, promote to the
reusable default.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

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