46 / 108 · 03 Agentic Testing Architectures · The Critic-Actor Pattern← prev⊞ allnext →☰ Read as one page
6.5The Actor's Revision Prompt
When the Critic returns REVISE feedback, the Actor receives targeted instructions:
The following tests need revision based on code review feedback.
For each test, apply the suggested changes while maintaining the test's intent.
Original test:
{original_test_code}
Reviewer feedback:
{critic_feedback}
Requirements:
1. Apply the specific feedback
2. Do not change other aspects of the test
3. Maintain the same naming convention
4. Keep the test self-contained (no new external dependencies)
Also generate new tests for these identified gaps:
{gaps}