Evaluation harness
An evaluation harness is a repeatable set of test cases, with expected outcomes, that an AI system is run against before every change so that its quality is measured rather than felt.
For an assistant, the cases are real questions and acceptable answers. For an agent, they are scenarios and the actions it should and should not take, including adversarial ones. A pass rate that is tracked over time is what makes it safe to change prompts, models or data.