Introduction
A subagent verification loop sends the output of one agent to another agent with fresh context.
The reviewer sees the product, not the complete reasoning history. It can ask:
- Is this correct?
- What edge cases are missing?
- Can the solution be simplified?
- Are there security problems?
- Does it satisfy the specification?
- Are there obvious defects?
The reviewer has no need to defend the implementation because it did not create it.
A complete loop uses three roles:
Implementer
The implementer creates the first version of the code, workflow, report, design, or process.
Reviewer
The reviewer receives the output in a fresh context and evaluates it against explicit criteria.
Resolver
If the reviewer finds problems, a third fresh agent receives the output and the issue list. It resolves the defects without inheriting the implementer's full reasoning history.
The sequence is:
- Implement.
- Pass the output to a fresh reviewer.
- Review for correctness, edge cases, simplification, and security.
- If no problems are found, approve.
- If problems are found, pass them to a fresh resolver.
- Resolve the issues.
- Test the corrected output.
- Repeat verification if required.
This architecture creates cleaner separation of responsibilities.