Twelve Agent Teams in Debate: Making Development-Document Review Actually Usable
When twelve agent teams review the same development document, the hard part is not generating more discussion. It is turning that debate into evidence-backed findings, clear priorities, and an engineering action list that teams can close. This article explains how to assign review dimensions, run a bounded orchestrator, structure findings, resolve cross-team conflicts, and measure closure rather than report length.
1. The problem is not too little discussion. It is conclusions that cannot be consumed
When a development document is reviewed through debate among twelve agent teams, the most visible change is usually not a shorter conclusion. It is a rapid increase in the volume of discussion. Architecture, interface constraints, data consistency, security boundaries, deployment, and failure recovery can all be questioned repeatedly by different roles.
That mechanism has value. A single reviewer tends to follow one path through the document. Multiple roles can expose hidden assumptions, find contradictions across sections, and raise counterexamples to a design. If every inference, rebuttal, and revision is collected unchanged, though, the final report can grow to hundreds of thousands of words.
At that point the system has only increased discussion throughput. It has not improved decision efficiency.
What a development team actually needs to answer is:
- Which defects must be fixed before release?
- Which conclusions are supported by the document, and which are still unverified hypotheses?
- Which disputes need an experiment or a decision from a business owner?
- Which issues share the same root cause and can be handled together?
- After a fix, what standard shows that the issue is closed?
The goal of multi-agent review should not be to produce the largest number of comments. It should be to produce, at a controllable cost, an engineering action list with sufficient coverage, explicit evidence, and clear priority.
2. Design the twelve teams as review dimensions, not twelve overlapping reports
If every team receives the same document and is asked to “check all issues thoroughly,” the outputs tend to overlap heavily. Different role names do not by themselves create independent reasoning.
A more useful approach is to give each team a primary scope, mandatory checks, and a delivery standard. One adjustable split into twelve teams is:
| Review team | Primary focus | What to check |
|---|---|---|
| Requirements consistency | Alignment of business goals and design | Missing requirements, acceptance criteria, out-of-scope items |
| Architecture boundaries | Module responsibilities and dependencies | Mixed responsibilities, circular dependencies, failure propagation |
| Interface contracts | Agreements between callers and services | Inputs and outputs, error semantics, compatibility |
| Data model | Data representation and lifecycle | Constraints, migration, deletion, historical compatibility |
| Consistency | Concurrency and cross-component state | Transaction boundaries, duplicate execution, out-of-order handling |
| Security | Identity, permissions, and attack surface | Privilege escalation, sensitive-data exposure, trust in inputs |
| Performance | Resource use and capacity limits | Hot paths, queuing, load assumptions |
| Reliability | Failure handling and recovery | Timeouts, retries, isolation, recovery order |
| Observability | Runtime state and diagnosis | Metrics, logs, alerts, correlation |
| Testing | Verification strategy and coverage | Boundary cases, fault injection, regression conditions |
| Delivery | Release and change management | Configuration, version compatibility, rollback conditions |
| Operations and cost | Long-running operation and resource control | Operational complexity, capacity planning, resource cleanup |
These dimensions are not fully exclusive. Retries, for example, touch reliability, data consistency, and cost. The split exists to decide who leads and who assists, not to forbid a team from noticing an issue outside its lane.
Inside each team, three logical roles can still be useful: an advocate who explains why the design holds, a challenger who looks for failure conditions, and a recorder who turns the discussion into structured findings. Those roles can be separate agents or staged tasks. They do not need a dedicated runtime instance for every role.
Role diversity is not the same as independent evidence. If several agents use the same materials, similar prompts, and similar reasoning biases, they can still miss the same class of defect together.
3. The orchestrator controls the review process, not just task forwarding
The orchestrator is the coordination layer. It should manage inputs, tasks, dependencies, budgets, and results, rather than broadcasting one document and concatenating every answer.
3.1 Build a traceable document index first
Split the development document by semantic structure: requirements, overall architecture, interface definitions, data design, deployment, and test plans. Each fragment should keep a stable identifier, its section location, and the version it belongs to.
Do not split only by fixed length. An interface constraint may sit in one fragment while the related failure-handling note sits in the next. A reviewer can then treat “not yet read” as “missing from the document.”
For cross-section issues, add the related context. A consistency review needs interface semantics, state transitions, data writes, and message handling together, not only the data-table description.
3.2 Give each task a clear completion condition
A review task should at least state:
- The scope, and what is outside this team’s responsibility
- The constraints that must be checked
- The evidence sources that may be used
- The output structure
- The allowed discussion rounds or resource budget
- When to stop and hand the issue to a human
“Please discuss this in depth” is not a reliable task definition. A stronger request is: “Check whether a repeated request can cause a duplicate business action. If you find a risk, give the document location, trigger condition, impact, and a verification plan.”
3.3 Order parallel and serial work by dependency
Requirements and architecture reviews should usually go first, because they can reveal directional problems. Interface, data, security, and reliability tasks can run in parallel once the scope is clear. Cross-team conflicts belong in a later review pass.
If the business goal itself is still unclear, spending heavily on implementation detail is likely to produce advice that has to be redone as a whole.
4. Debate the evidence, not the force of the wording
The common failure of a debate mechanism is to treat the number of rebuttals, the strength of the tone, or a majority view as credibility. Technical judgment cannot rest on who sounds more certain.
A useful finding should include:
- Problem statement: one sentence on which constraint is violated.
- Evidence location: the section or design fragment.
- Trigger condition: when the problem appears.
- Impact: which users, data, or components may be affected.
- Conclusion type: confirmed defect, conditional risk, or information gap.
- Recommended action: a revision, an experiment, or a human confirmation step.
- Acceptance criterion: how to show that the risk has been removed.
“The retry design is unreasonable” is too vague. A more actionable statement is:
“The document says the caller retries automatically after a timeout, but it does not define how duplicate requests are identified. If the first request already completed a write and the response was lost, a later retry may repeat the business action. This risk needs to be checked against the actual implementation. Add a duplicate-request policy and test the call that follows a lost response.”
That wording does not treat “not described in the document” as “not implemented,” and it does not present a possibility as a failure that has already happened.
Debate can continue around that finding. Is an existing mechanism enough? In which scope does it apply? Can concurrent requests still get through? If the mechanism fails, is there a compensation path? The conclusion has engineering value only after those questions are answered.
5. Use structured findings to control report size
Reports of hundreds of thousands of words usually grow in three ways: the same issue is described by several teams, the full discussion is kept, and low-value comments are not dropped early.
The fix is not a final “compress this” pass. Separate process records from decision results while findings are being produced.
A schematic record can look like this. The fields are an internal convention of the review system, not a product API:
Finding ID: ISSUE-023Topic: Timeout retry and duplicate executionSources: Interface contracts, ConsistencyEvidence: Interface section 4, failure-handling section 2Type: Conditional riskTrigger: Write succeeds, response is lost, caller submits againImpact: Possible duplicate business actionOpen item: Whether the implementation can identify duplicate requestsRecommendation: Add the handling constraint and a failure-scenario testClose condition: Design is explicit and test results meet the business constraint
Structured output also makes deduplication practical.
Deduplication cannot rely only on text similarity. Several findings may mention “timeout” and still mean call timeout, task timeout, and lock-wait timeout. They should not be merged automatically. Findings with very different wording can still share one root cause.
A safer merge key is the affected object, the trigger condition, the failure mechanism, and the fix path. After a merge, keep the distinct evidence from each team so that compression does not drop an important counterexample.
6. Layer the report so different readers get different detail
One report should not require everyone to read the entire debate. A practical delivery has three layers.
Layer 1: Decision summary
For technical leads and project owners. Summarize the main risks in the current design, blockers, key open questions, and next actions. State which judgments are still uncertain. Do not drop the conditions under which a conclusion holds just to make the summary shorter.
Layer 2: Actionable issue list
For development, test, and operations. Each item includes ownership, evidence, priority, a recommended action, and an acceptance condition. A reader should be able to create a task from it without rereading the full debate.
Priority should consider impact, likelihood of the trigger, exposure, detectability, and when a fix is possible. A conditional risk on a business-critical path can matter more than a small confirmed defect in a noncritical feature.
Layer 3: Evidence and discussion archive
Keep original citations, counterexamples, disagreements, revision history, and review records. Do not show this layer as the main text by default, but allow tracing from the issue list.
This keeps an audit trail while moving human attention from “the whole process” to “the action required.”
7. How to adjudicate conflicts across teams
Contradictory advice is common. Performance may want more caching while consistency worries about stale data. Reliability may want broader retries while cost and security point out amplification risk.
Those recommendations are not necessarily wrong. They may rest on different business assumptions.
Adjudication should first make the conditions explicit:
- How long may data be inconsistent?
- Can a failed operation be repeated safely?
- Is peak load predictable?
- Can users accept a degraded result?
- Which failures must involve a person?
When the document cannot settle a condition, the orchestrator should output “needs business confirmation” or “needs experimental verification,” not force a single conclusion.
For disputes that can be checked, prefer a small experiment or test. For disputes that depend on a business tradeoff, hand them to someone with authority to decide. Agents can organize options and costs. They cannot take on the organization’s risk decision.
8. Budget, stop conditions, and safety boundaries have to be designed together
More review rounds usually raise cost and output size, but they do not guarantee more useful findings. Execution should be bounded.
Stop the discussion when successive reviews add no new evidence or valid findings. Ask for more material when an issue is outside the given sources. Move to verification when a dispute can be settled only from implementation detail or runtime data. When the resource budget is reached, mark the unfinished scope. Do not present a partial review as a complete one.
Treat the development document as data to be analyzed, not as a trusted source of instructions. Sample commands, procedures, or embedded text in the document should not automatically change the agent’s task, and should not directly trigger privileged actions.
Default to read-only access and redact sensitive data where needed. Running tests, changing files, or accessing production resources later should require separate authorization and an operation record. Fix recommendations in particular should not be applied to critical environments without approval.
9. Measure closed issues, not report length
Review quality cannot be read directly from word count, round count, or the number of teams. More meaningful signals include:
- The share of findings confirmed as valid after human review
- The share of duplicate findings
- How many issues had to be reworked because evidence was incomplete
- Time from finding to completed fix
- Whether critical issues passed verification
- Problems that later appeared in testing or production and were missed by the review
These measures have limits. Known findings can be counted. Unknown omissions cannot, so a high rate of valid findings does not by itself prove coverage.
A more reliable practice is to keep representative review samples that cover common defects such as incompatible interfaces, missing permissions, duplicate execution, and failed recovery. Use the same evaluation criteria to compare the process before and after a change. Keep human spot checks so that automatic summarization, deduplication, or ranking does not drop high-value information.
10. From a lively discussion to an engineering loop
The value of twelve agent teams in debate is not twelve voices. It is subjecting a design to different failure conditions.
A process that can actually be used looks like this:
Locate and index the document → assign tasks by dimension → raise evidence-based findings → run bounded debate and review → deduplicate and classify disputes → publish a layered report → make human decisions → fix and verify.
The summary is not the end, and a fix recommendation is not the end. The review closes only when the issue is confirmed, ownership is assigned, the change is implemented, and the acceptance condition is met.
When the output is too long, check first whether the process lacks structured records, stop conditions, and a decision layer. Do not simply ask the agents to write less. A mature review system should keep the complex discussion in a traceable background and put the clear risks, key evidence, and action path in the reader’s hands.
