@nyrath, may I crush your scifi dreams about a plastic pal who's fun to be with?
Get a robot that does what you mean because you have written down all of your infinite unspoken assumptions about what it should do.
Simple proof of infinity: Write down everything you're assuming and I'll point out either a conflict in your rules or one more thing that's important and not covered. I can do this forever because logic is either inconsistent or incomplete.
@nyrath Hence #KillerRobots don't crush humans because there is some absolute rule that prevents this, but rather because they simply don't care to do so. (Most of the time.)