Agile optimizes for predictability that something will be delivered. It's less concerned about the reliability of the thing delivered, or even if it was the right thing. It assumes that you can't optimize for delivering the right thing. But you can optimize to make sure that you are delivering something on a predictable timeline. Then you collect feedback on if it works and if it works well. Fixes are scheduled for future delivery.