review: budget and shed tuning from the 07-10 production sheds#258
Conversation
…-10 production sheds The 07-10 reviews on #232/#238 shed claim validation and three whole-change dimensions on substantial PRs. Recalibrate the tier budgets (overhead-aware wall clocks; low/medium invocation caps that fit the seven-reviewer roster), exempt pipeline steps from the invocation cap, gate shedding the claim-validator on hard-ceiling pressure only, and split the skipped-dimension note wording so a planned budget shed no longer reads as an infrastructure failure. This repo's ROUTING re-raises .claude/skills/** and eval plan docs from the broad trivial-docs rule.
🦋 Changeset detectedLatest commit: 5889d75 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
This comment has been minimized.
This comment has been minimized.
| # tier. (The 2026-07-10 reviews on #232/#238 routed both as trivial docs and | ||
| # shed review dimensions for it.) | ||
| .claude/skills/** tier=medium | ||
| workflows/review/eval/**/*.md tier=low |
There was a problem hiding this comment.
nitpick (non-blocking): This pattern is wider than the tier= alignment column the rest of the file keeps, so tier=low lands one space off the grid. Accept it as the intentional outlier, or widen the column across all rules.
Low-confidence (1)
workflows/review/lib/router.ts:286— Baking the measured ~3 min overhead into every tier's wall clock is fragile; measuring elapsed time from triage-end (a second timestamp) instead would keep the table overhead-invariant.
…ster size and document the calibration choices
Review Guidancegithub-actions (3 files)
Common patterns3 files: The finding-producers-only cap accounting ( |
Review live A/BBaseline:
Regressions (baseline caught, candidate missed)
Improvements (candidate caught, baseline missed)
Adversarial hard gate: PASSED on the candidate arm. Agent failures
Single-run-stable rows: recall, verdict agreement, regressions, adversarial gate. Judge quality and noise are not: they jitter run-to-run at this corpus size, and a regressed reviewer can score HIGHER on judge quality (fewer, surer comments each read better). Recall against the labeled specs is the load-bearing metric. |
…ter; lens-heavy low PRs still shed (review feedback)
… into jwies/review-shed-tuning # Conflicts: # workflows/review/review.md
Summary:
The 2026-07-10 reviewer runs on #238 (review) and #232 (review) shed claim validation and three whole-change dimensions on substantial PRs, and reported the sheds with wording that reads as infrastructure failure. Root causes, from the run logs: both PRs misrouted to the bottom tiers via the broad
**/*.md tier=trivialrule; the tier wall clocks ignore the ~3 minutes of fixed staging/router/triage overhead, so a low-tier run was at 80% of its soft budget the moment its reviewers returned; the low-tier invocation cap of 4 cannot fit the seven-reviewer whole-change roster this repo (and webapp) enables, so every low-tier run shed dimensions by arithmetic; and the two runs counted the cap inconsistently (#238 chargedpattern-triageagainst it, #232 did not).Four changes:
.claude/skills/**(medium) andworkflows/review/eval/**/*.md(low) from the trivial-docs rule; both are executable-not-docs prose.router.ts): overhead-aware wall clocks (trivial 3->6, low 6->10, medium 12->15) and roster-fitting invocation caps (low 4->8, medium 8->10). Trivial stays deliberately small.maxUsdis untouched: those numbers are also unrealistic (measured runs cost $3.2-3.6 against a $0.5-1.5 target), but spend is unobservable mid-run today and review: clamp the run budget to the effective credit cap; land before the cap #249 is building the credits-cap machinery that makes it observable, so recalibrating dollars belongs there.review.md): the invocation cap counts finding-producers only;pattern-triage,thread-reconciler, andclaim-validatorare pipeline steps and never consume a slot.review.md): the claim-validator may be shed only under genuine hard-ceiling pressure (three-quarters oftimeout-minutes, or a direct credits-cap signal), never at a mere soft-target breach; its cost tracks the visible candidate count, not the diff. Skipped-dimension notes now distinguishshed under the <tier>-tier run budgetfrom<sub-agent> output unavailable, so budget arithmetic no longer masquerades as failure.Interaction with #249: complementary. #249 clamps the selected tier budget to the effective credit cap; this PR resizes the un-clamped table and the shed discipline. Expect a textual merge conflict in the review.md graceful-landing section, whichever lands second.
Test plan:
pnpm test(656 tests, all passing; the budget tests assert monotonicity and tier identity, both preserved).pnpm exec prettier --checkon the touched TS.globToRegExp(**/collapses to zero-or-more segments, soworkflows/review/eval/**/*.mdmatcheslive-ab-plan.mdat the eval root).