Two reviewers receive the same request to check mobile search. One reads the code before a fix and the other sees the fixed version. Each can produce a useful report, but the coordinator needs to know which revision each report describes before combining them. A local setup can establish that contract before choosing a protocol.
What to send a reviewer
The orchestrator records the base and target commits and produces the diff between them. Both reviewers receive the same task ID, acceptance criterion, revision, diff, and access to the corresponding file snapshot. The package can include test output and a screenshot labelled with the run that produced it. The diff identifies changes. The snapshot lets reviewers follow callers and tests beyond the changed lines. Git diff
A reply includes the task ID and revision. A finding identifies a file and location, the conditions under which the problem appears, and its observable effect. The orchestrator validates the reply schema and revision. A subsequent fix begins a new round. A comment tied to the old snapshot stays with the previous round.
Three connections
- ACP describes how a client such as an editor connects to a coding agent. An editor can send prompts and receive session events. ACP
- MCP exposes server capabilities to a client. For a review, that might be a tool that reads pull request information. MCP
- A2A describes interaction with another agent. Messages can convey requests and follow-up questions. A task has a lifecycle, and an artifact can carry a structured report, document, or image. A2A
If the coordinator and both CLIs share a machine, pass files at known paths and read results from standard output. Moving a reviewer to a separate service changes the delivery mechanism. The snapshot identifier, acceptance criterion, and finding schema still belong in the contract.