Add repo-auditor and pr-ci-fixer review subagents#609
Conversation
Follow-up to the core six. Two optional specialists under .claude/agents/: - repo-auditor: structural/dead-code/import triage — findings are candidates, never an automatic delete list; verifies against routes, scripts, migrations, worker, and tests before proposing removal. - pr-ci-fixer: diagnoses CI/check failures and proposes the smallest fix; reruns, PR comments, pushes, and any GitHub/provider action stay confirmation-required per AGENTS.md pr-ci-fix routing. Both are read-only (Read/Grep/Glob/Bash) and inherit the AGENTS.md review-throttling protocol and provider-confirmation boundary. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01C2UrfPZrLNp8YhGZ6iqaui
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
Warning Review limit reached
Next review available in: 2 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. 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: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 848c15dd3d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| These are all confirmation-required (`AGENTS.md` — `pr-ci-fix`, and the API/provider boundary). Report the exact command and ask before doing any of them: | ||
|
|
||
| - rerunning hosted CI, posting PR comments, pushing commits, enabling auto-merge | ||
| - any GitHub/GitLab API write, live Supabase, OpenAI, or release gate |
There was a problem hiding this comment.
Require confirmation for GitHub log reads
When the check log is not already available locally, the diagnose step will naturally use PR/CI tooling such as gh run view --log, but this hard-rule list only requires approval for GitHub/GitLab API writes. That conflicts with the repo boundary in AGENTS.md lines 191-194, which makes any GitHub/GitLab or hosted-CI interaction confirmation-required; make read-only log/check access explicitly confirmation-required before telling the agent to read failing logs.
Useful? React with 👍 / 👎.
Summary
.claude/agents/:repo-auditor(Sonnet, read-only) — structural/dead-code/import triage. Findings are candidates only, never an automatic delete list; verifies against routes,scripts/*, migrations,worker/**, and tests before proposing removal.pr-ci-fixer(Sonnet, read-only) — diagnoses CI/check failures and proposes the smallest fix. Reruns, PR comments, pushes, and any GitHub/provider action stay confirmation-required per theAGENTS.mdpr-ci-fixrouting and the API/provider boundary.AGENTS.mdreview-throttling protocol (docs/codex-review-protocol.md,docs/branch-review-ledger.md) and the provider-confirmation boundary. Tools limited toRead, Grep, Glob, Bash.Verification
npm run verify:pr-localDocs-only change: adds two
.claude/agents/*.mddefinition files. No source, ingestion, retrieval, ranking, answer-generation, privacy, Supabase, or UI runtime code is touched — so the RAG/answer eval gates andcheck:production-readinessdo not apply.npm run verify:ui— n/a (no UI/routing/styling change)npm run verify:release— n/a (not a release/handoff PR)Clinical Governance Preflight
n/a — this change does not touch ingestion, answer generation, search/ranking, source rendering, document access, privacy, production env, or clinical output. It only adds Markdown agent definitions that encode the existing governance/provider boundaries as guidance for future reviews.
Notes
claude/subagents-clinical-rag-uqa5aawas restarted from the updatedmain(which now contains the six core agents) and this work committed on top, then force-pushed with--force-with-leaseover the already-merged tip. This is a new PR, not a reuse of Add core clinical-RAG review subagents #599.🤖 Generated with Claude Code
Generated by Claude Code