Agent Review Pipeline banner
onchainyaotoshi onchainyaotoshi

Agent Review Pipeline

Data community

Description

Autonomous code review pipeline for Claude Code. Asymmetric dual-engine dispatch — Codex (correctness + adversarial) + Gemini (/ce:review compound-engineering pipeline). Fingerprinted consensus, bounded auto-fix, loop-thrash kill switch, safe-off defaults.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

agent-review-pipeline

Autonomous dual-engine code review pipeline for [Claude Code](https://claude.ai/code). **Asymmetric dispatch** — [Codex](https://github.com/openai/codex-plugin-cc) runs ARP's dual-framing (correctness + adversarial) while [Gemini CLI](https://github.com/google-gemini/gemini-cli) runs its own `/ce:review` compound-engineering pipeline. 3 parallel perspectives per iteration. Dedups findings by confidence, auto-fixes inline, escalates unresolvable findings. Verification delegated to your CI.

What It Does

  1. Asymmetric Dual-Engine Review — 3 parallel dispatches per iteration: Codex × correctness, Codex × adversarial, Gemini × /ce:review. Codex gets ARP's framing discipline; Gemini uses its own multi-persona compound-engineering pipeline (P0-P3 tiering) because it already has one. No redundancy.
  2. Confidence-Weighted Consensus — Findings fingerprinted by file:line:severity:normalize(issue):sha1(fix_code[:200]). Multi-source agreement boosts confidence by +0.15 per extra source. Findings below 0.60 confidence are dropped.
  3. Bounded Auto-Fix Loop — Applies fix_code inline, re-runs until PASS or maxIterations (1-10, default 3). Unlimited loops are intentionally not supported.
  4. Loop-Thrash Kill Switch — If a fingerprint reappears after its fix was applied, the fix didn't work. The finding is escalated to human review instead of looping forever.
  5. Safe DefaultsautoCommit and postPrComment default to false. --dry-run previews findings without editing. Dependency precheck fails fast if Codex / Gemini CLI missing.
  6. Agreement Telemetry — Per-run .arp_session_log.json records Codex↔Gemini agreement rate. Tune dual-engine cost/value over time.

How It Works

flowchart TD
    Start([/arp PR]) --> Pre

    subgraph Stage0["Stage 0: Pre-flight"]
        Pre[deps · flock · gh auth · PR resolve
+ PR conversation context fetch] end subgraph Stage1["Stage 1: Review (dispatch →