Deep-space missions need AI that decides without waiting for Earth. How much autonomy is safe when a mistake can't be fixed?