Commit 2a1cb01
ci: switch wheels-bot triage from Sonnet to Opus (#2589)
* ci: switch wheels-bot triage from Sonnet to Opus
Triage's job is now harder than pure classification — it reads the
issue body, optionally greps the codebase, and self-rates confidence
that downstream Opus stages (propose-fix, research, write-docs) auto-
fire on. The auto-downgrade rules force `medium` for sensitive
surfaces regardless of model, so the gate's guard-rails stay intact;
upgrading the model just gives the bot a better chance of resolving
genuine uncertainty (vs. hedging to `medium` when a deeper read of
the code would have produced a clean `high`).
Concrete example from #2582 today: triage rated `medium` because the
reporter listed `/env` as working even though it routes through the
same `consoleExec` function as the failing commands. An Opus pass on
that issue would have either read `consoleExec` to resolve the
inconsistency (likely `high`) or confirmed it as a genuine scope-
initialization nuance (justified `medium` with sharper rationale).
Tools and turn budget unchanged — same read-only allowlist (`gh`,
read-only `git`, `Read`/`Grep`/`Glob`), same 200-turn ceiling. Cost
delta is roughly 5× per triage; volume is modest (~3-4 issues/day).
Also synced the model column in CLAUDE.md's bot stages table.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* docs: address Reviewer A/B consensus findings (round 1)
- docs/contributing/wheels-bot.md:260 — replace stale "only stage that
runs Opus on a non-coding task" claim with advisor+triage framing
(A's main finding; B confirmed)
- docs/contributing/wheels-bot.md:224 — clarify "analytical Sonnet
stages above" by naming Reviewer A and B explicitly (B's missed-issues
finding)
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>1 parent b6d6502 commit 2a1cb01
3 files changed
Lines changed: 9 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1057 | 1057 | | |
1058 | 1058 | | |
1059 | 1059 | | |
1060 | | - | |
| 1060 | + | |
1061 | 1061 | | |
1062 | 1062 | | |
1063 | 1063 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
224 | | - | |
| 224 | + | |
| 225 | + | |
225 | 226 | | |
226 | 227 | | |
227 | 228 | | |
| |||
257 | 258 | | |
258 | 259 | | |
259 | 260 | | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
265 | 266 | | |
266 | 267 | | |
267 | 268 | | |
| |||
0 commit comments