chore(pr-ready): remove local CodeRabbit pre-flight gate repo-wide#2020
chore(pr-ready): remove local CodeRabbit pre-flight gate repo-wide#20200xDEnYO wants to merge 2 commits into
Conversation
The coderabbit CLI has been hitting rate limits and wasting review cycles across the SC team. Removes /pr-ready (skill + symlinks), the PreToolUse gate hook and its script, the CodeRabbit CLI auto-install in preinstall.sh, and all references in 099-finish.md, create-pr.md, deploy-contract.md, multisig-rollout.md, check-open-prs.md, the PR template, the aikido false-positive catalog, and the README command table. Cloud CodeRabbit still runs in GitHub CI, unaffected. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
WalkthroughThis PR removes the local ChangesRemove /pr-ready command and enforcement
Estimated code review effort: 3 (Moderate) | ~25 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…cklist Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Which Linear task belongs to this PR?
Why did I implement it this way?
The local CodeRabbit CLI pre-flight (
/pr-ready) has been hitting rate limits andwasting review cycles across the whole SC team, so it's being removed entirely rather
than patched — there's no separable non-CodeRabbit functionality in the skill worth
keeping. This PR:
.agents/commands/pr-ready.mdand its Cursor/Claude Code symlinks..claude/scripts/pr-ready-gate.tsand thePreToolUsehook in.claude/settings.jsonthat enforced it.preinstall.sh(it existed onlyto support
/pr-ready)..agents/rules/099-finish.md,.agents/commands/create-pr.md,deploy-contract.md,multisig-rollout.md,check-open-prs.md, theaikido-false-positive-catalog.md, and.github/pull_request_template.mdto dropall references to the removed gate/skill.
.agents/README.md's command table.Cloud CodeRabbit still runs in GitHub CI on every PR, unaffected — only the local
pre-flight step is removed.
self-review-pass(a separate mechanical/semantic/executable sweep, unrelated to CodeRabbit) is untouched and remains the mandatory
step before pinging for review.
On
/autofix-pr(raised in the#dev-sc-reviewthread on this PR): evaluated as areplacement mechanism and declined for now.
/autofix-pris a built-in Claude Code CLIcommand (not a plugin/skill) that hands a PR off to a Claude Code on the web session and
turns on a persistent per-PR auto-fix toggle — Claude then reacts to CI failures and
review comments via GitHub webhooks until turned off. It (a) requires installing the
Claude GitHub App on the
lifinanceorg, which we haven't done, and (b) its cloudsessions draw from the same shared Claude/Claude Code rate-limit pool as everything else
on the account — no separate dollar charge, but continuous webhook-triggered fixing
across multiple open PRs is unpredictable quota consumption we'd rather not take on.
Individuals who want an async safety net for catching CodeRabbit's cloud comments can
build a personal scheduled task instead (no new org-level dependency); this isn't made a
team requirement since it needs per-user schedule setup.
Bootstrap note: this PR removes the very gate hook that would otherwise block
gh pr create/git pushon this branch (the hook is still present inmainuntilthis merges). Pushed/opened with the documented
PR_READY_OK=1bypass per~/.claude/CLAUDE.md's emergency-bypass provision — this is exactly thebootstrapping case that provision exists for, not a general habit.
Checklist before requesting a review
Checklist for reviewer (DO NOT DEPLOY and contracts BEFORE CHECKING THIS!!!)