Fail-Loud Harnesses

Build harnesses that fail visibly — a harness that silently substitutes its own answer hides the agent's failure from you.

What it is

A test harness that handles agent failures "helpfully" — by falling back to a default answer, swallowing exceptions, or completing the task itself when the agent cannot — teaches you nothing about the agent. Worse, it creates the illusion of success where none exists. Fail-loud harnesses are designed with the opposite instinct: when an agent step fails, the harness surfaces that failure immediately and loudly, naming the file, the step, and the reason, rather than papering over it.

When to reach for it

When NOT to

Exemplars