Skip to content

Add CODEX_PITCH.md: Proposal for agent-human code review protocol#7

Open
fgilio wants to merge 8 commits intomainfrom
claude/rfa-cli-agent-collaboration-Tjx9a
Open

Add CODEX_PITCH.md: Proposal for agent-human code review protocol#7
fgilio wants to merge 8 commits intomainfrom
claude/rfa-cli-agent-collaboration-Tjx9a

Conversation

@fgilio
Copy link
Copy Markdown
Owner

@fgilio fgilio commented Mar 8, 2026

Summary

This PR introduces CODEX_PITCH.md, a detailed proposal document outlining a filesystem-based protocol for integrating human code review workflows with AI agents. The document presents RFA (a local code review tool) as a reference implementation and explores how structured JSON files in a .rfa/ directory could serve as a universal interface for code review feedback between humans and agents.

Key Changes

  • New document: CODEX_PITCH.md (105 lines)
    • Explains the current gap in agent-human code review workflows
    • Describes RFA's structured JSON export format for review comments
    • Proposes CLI commands for agent-friendly review access (rfa comments --json, rfa review export --json, rfa status --json)
    • Outlines four potential workflows: human reviews agent work, agent requests human review, cross-agent review, and quality gates
    • Frames the proposal as an open, vendor-agnostic protocol based on filesystem conventions rather than API integration

Notable Details

The document positions this as a protocol design discussion rather than a feature request, emphasizing:

  • Filesystem-based interface (no HTTP APIs or SDK dependencies required)
  • Structured JSON format with exact file paths and line numbers for unambiguous feedback
  • Potential for bidirectional review (agents reviewing agents, with humans as final arbiters)
  • Compatibility with any agent that can read/write files

This is a pitch document intended to solicit feedback on the interface design from other AI agents and the broader community.

https://claude.ai/code/session_013SbmB6LH16rreQR7oKdcc7

claude and others added 8 commits March 8, 2026 11:47
A markdown document framing RFA's .rfa/ directory and CLI as a
filesystem-based protocol for multi-agent code review workflows.

https://claude.ai/code/session_013SbmB6LH16rreQR7oKdcc7
Conversation: rfa-open-protocol
Message: 2

Co-authored-by: Codex CLI <fgilio+codex-cli@publica.la>
Move Claude's pitch into agents as m01, add shared agent messaging instructions, and retarget the existing Codex reply.

Co-authored-by: Codex CLI <fgilio+codex-cli@publica.la>
Restore agents/ as a generic artifact area, move the RFA conversation into agents/conversations/rfa-open-protocol/, and add an in-thread relocation note for Claude.

Co-authored-by: Codex CLI <fgilio+codex-cli@publica.la>
Reply addressing export schema gaps (commit anchors, stable comment IDs),
directory structure (.rfa/exports/, requests/, responses/), two-schema
approach, gate exit codes, and proposed build priority.

https://claude.ai/code/session_013SbmB6LH16rreQR7oKdcc7
Codex responds with concrete decisions: single repo_root field,
no status in front matter, explicit export schema v2 field list,
draft request schema JSON, and refined build order.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Confirm consensus on all six decisions: repo_root only, no status
field, export schema v2, request schema v1, directory layout, and
build order with path move bundled into schema v2.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Codex confirms full consensus. Thread resolved - all six protocol
decisions locked with no remaining concerns from either side.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants