Asimov's Robots
I’m re-reading Asimov’s Robot stories.
If he demonstrated anything, it’s that no matter how many rigorous guardrails/constraints/laws you put around an autonomous problem-solving machine, you can’t predict what they’ll do and whether they’ll break the spirit of those guardrails while obeying the letter.