"A reliable script does not assume that the world will behave perfectly. It checks, validates, handles failure, records what happened, and verifies the result."