Suggest that software types plus others caarefully read and understand I Asimov
A robot may not injure a human being or, through inaction, allow a human being to come to harm. A robot must obey orders given it by human beings except where such orders would conflict with the First Law. A robot must protect its own existence as long as such protection does not conflict with the First or Second Law.
And add a dash of Ernie Gann
RE a certain genie . . .
And following an aviation accident, investigators “…must never, regardless of their discoveries, write off a crash as simply a case of bad luck. They must never, for fear of official ridicule, admit other than to themselves, which they all do, that some totally unrecognizable genie has once again unbuttoned his pants and urinated on the pillar of science.”