43 / 108 · 03 Agentic Testing Architectures · The Critic-Actor Pattern← prev⊞ allnext →☰ Read as one page
6.2Architecture
+----------+ +----------+
| ACTOR |--------→| CRITIC |
| (writes | | (reviews |
| tests) |←--------| tests) |
+----------+ +----------+
|
| After critic approves
v
+----------+
| FINAL |
| SUITE |
+----------+
The flow:
- Actor generates tests from the specification
- Critic reviews each test against the specification
- Critic returns feedback: APPROVE, REVISE, or REJECT per test
- Actor revises based on feedback
- Repeat until the Critic approves 90%+ of tests (or max rounds reached)
- Final suite = all approved tests