An agent’s report: evidence instead of words, golden set
An agent's report is a claim to verify, not to take on trust. Demand the diff, the output of a reproducible command, a trace or video, and a list of what was not verified. Expectations come from a specification, not current behaviour. A change of model or instructions is measured on a golden set: a fixed task set with known defects, counting found defects and false green runs.
An agent writes: "Added 12 tests, all pass". The PR has nine tests, two of them under skip. An agent’s report is a claim, and it is checked like everything else.
What to demand instead of words:
- the diff of changes (how many files and which, whether there are foreign ones);
- the output of a check command that you can run yourself;
- a trace or video of the scenarios;
- a list of what was not verified and which assumptions were made.
An oracle from requirements. An agent reads the code and the interface, so it easily "confirms" the existing behaviour, bugs included. Expectations should come from a specification, acceptance criteria or an agreed rule, not only from observation.
Golden set. When you change the model or the agent’s instructions, the question "did it get worse?" needs a measurement. Build a fixed set of tasks and applications with known defects. After each change, see how many defects the tests found and how many green runs were false. The number of generated tests proves nothing.
Example. After instructions were replaced, the agent found 7 of 10 defects on the golden set against 9 before, although there were more tests. The change is rolled back.
Common mistakes: trusting the summary; checking five random tests and concluding about all; asking the agent whether it got better.
Short interview answer: "An agent’s words are a hypothesis: I ask for a diff, a reproducible run and a trace, and I measure the quality of changes on a golden set".