chore(design-system): tighten seven ratchets to their measured values - #1988
Conversation
Every metric here measured BELOW its pin on current main, which is the failure mode GATES.md section 5 names: a file that pays debt down without a baseline refresh silently leaves headroom, and the next regression in that file lands free. Measured on the exact tree after PRs #1982-#1986: edgeOwnershipConflicts 25 -> 19 (12 -> 10 files) interactiveTapFloorDeclarations 43 -> 40 (17 -> 16 files) legacyShadowAliases 118 -> 114 hardcodedCssMotionDurations 42 -> 41 rawGapLiterals 32 -> 31 rawRadiusLiterals 24 -> 23 statusColouredNumerals 2 -> 1 Seventeen units of headroom across seven metrics, plus six per-path pins for files that no longer contribute at all — including favourites-library-nav.tsx, which no longer exists, and pwa-lifecycle.tsx, whose border+ring card recipe PR #1976 removed. The paydown was other people's merged work; only the bookkeeping lagged. Mutation-verified against the tightened value rather than assumed: lowering the shortlist Clear button to min-h-9 now fails with `interactiveTapFloorDeclarations increased from 40 to 41` plus the per-path line. Under the previous pin of 43 that same regression passed silently, which is the whole point. No metric increased, so nothing here is a relaxation. GATES.md's quoted figures are updated to match in both the gate rows and the section 3 prohibition table; the numbers had drifted in seven places. Corroborates the correction another reviewer queued against #265 during PR #1987 review, which independently measured 40 and 19. That request is already pending in the inbox and is deliberately not duplicated here. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XYphQZmsBBeqnidpSnAtjE
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XYphQZmsBBeqnidpSnAtjE
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 7 minutes Your organization has reached its usage spending cap. Adjust your spending cap in the billing tab. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
Comment |
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
Final review summary
GitHub merged the PR through its existing merge workflow during the final recheck. Auto-merge settings were not changed. |
Summary
Every metric below measures under its committed pin on current
main. That gap is not cosmetic — it is the failure modeGATES.md§5 names: a file that pays debt down without a baseline refresh silently leaves headroom, and the next regression in that file lands free.Measured on the exact tree after PRs #1982–#1986:
edgeOwnershipConflictsinteractiveTapFloorDeclarationslegacyShadowAliaseshardcodedCssMotionDurationsrawGapLiteralsrawRadiusLiteralsstatusColouredNumerals17 units of headroom across seven metrics, plus six per-path pins for files that no longer contribute at all — including
favourites-library-nav.tsx, which no longer exists, andpwa-lifecycle.tsx, whoseborder+ring-1card recipe PR #1976 removed. The paydown was other people's merged work; only the bookkeeping lagged.No metric increased, so nothing here is a relaxation — this only removes slack.
Verification
Mutation-verified against the tightened value rather than assumed. Lowering the shortlist Clear button to
min-h-9:Under the previous pin of 43 that identical regression passed silently. That is the entire point of the PR.
npm run verify:pr-localGATES.md's quoted figures are updated to match in both the §2 gate rows and the §3 prohibition table — the numbers had drifted in seven places, which matters because those tables are what a reader consults instead of running the checker.Risk and rollout
Notes
#265during PR docs(issues): reconcile 17 queued ledger requests #1987 review, which independently measured 40 and 19 on the same tree. That inbox request is already pending and is deliberately not duplicated here — it will apply on the nextissues:reconcile. Two independent measurements agreeing is worth more than one, so I verified rather than took it on trust.#265: this is now the second time the gate-2 figure has needed correcting in a day (41 → 43 → 40), because the baseline moves whenever unrelated UI merges. The durable fix is probably a scheduled re-measure that opens a tightening PR automatically, rather than relying on someone noticing.Generated by Claude Code