Approaches to working with a harnessThe answer loop and review that fixes the original request
When an AI answer misses, there are three ways: clarify in the same chat, rewrite the original request, or first ask the model for questions. When a review finds a gap, it goes into the original request and the whole cycle runs again: edit, tests, review. The request becomes complete, and the next similar task starts from it. Below are both approaches per the Anthropic, OpenAI and Google guides.
[task description]
Before doing the task, ask me 3 questions whose answers would improve the result the most. Do not start the work until I answer.
Step 2
Answer the model's questions in your own words, in the same chat.
Step 3
Build a final prompt from the task and my answers: role, who and why, data, example, format, question at the end. Output only the prompt text.
Takeaway
In this exampleThree situations and one action for each: refine in the same chat, redo the prompt, or get questions from the model first.
In generalRefining keeps the context already given and fits when the task was understood. If the task was misread, redoing the prompt is faster. If the model made facts up, give it the needed data in the new request and allow it to say “I don’t know”. The new answer is checked the same way, and the loop repeats until it fits. Questions from the model help when it is unclear what context is needed: ambiguity gives the model room to misinterpret, and when intent is unclear, models ask for clarification more often.
Next stepFor a new task where you are unsure of the context, start by asking for three questions. Send the final prompt built from the answers as a new request in a new chat.
Answer review: fix the original request
The “rewrite the request” path as an example: the review found gaps, the original request lost what was wrong and gained what was missing, and everything ran again.
Takeaway
In this exampleThe review found two cases that were not in the task: an international prefix without a plus and an empty string. The needless “Russian numbers only” limit was removed from the original request, the two cases were added, and the whole pipeline ran again.
In generalA gap the review finds goes into the original request, and the cycle starts over: the agent writes the code again, tests and review check the new cases, and the clarification stays in the task for future runs. A separate review pass with its own instruction is described in Google’s prompting guide.
Next stepWhen the review finds something, add it to the original request and rerun the whole cycle: change, tests, review.