AI agents do not usually fail in mysterious ways; they fail through a small set of recurring patterns that developers can observe, test, and reduce. In...