mirror of
https://github.com/codeflash-ai/codeflash-agent.git
synced 2026-05-04 18:25:19 +00:00
1.2 KiB
1.2 KiB
PR Review Roadmap
Phase 1: Codex CLI Integration (current)
Spawn the real Codex CLI for adversarial PR review. Runtime copied from openai/codex-plugin-cc into codex/ subdirectory. Commands (/codex-review, /codex-setup, /codex-status) call codex-companion.mjs. Stop-review-gate hook runs Codex review before session ends. Deep agent runs adversarial review as a mandatory gate before [complete].
Phase 2: Claude-Native PR Review (future)
Replace Codex CLI dependency with native Claude Code agents:
- Create
codeflash-pr-reviewagent — adapts codex adversarial review prompt for Claude, with attack surface taxonomy and structured JSON output. Focused on general PR review (not optimization-specific like existingcodeflash-reviewagent). - Create
/codeflash-pr-reviewcommand — handles scope selection (working-tree/branch/PR number), gathers git context, launches the agent. Replaces codex-companion.mjs logic with native git commands. - Add review output schema to
agents/references/shared/review-output.schema.json. - Create stop-review-gate hook — uses the stop-review-gate prompt concept, still powered by Codex CLI (OpenAI models are better reviewers, Claude is better at implementing the fixes).