Of course, using the implications of canon acknowledgement of HK-47 providing progenitor code for all 'elite' assassin droids... One could conclude that all original AI droid code was created by tech aligned force sensitives. Waayyy back in pre-history. Which could also be an explanation for why they are stable and not: 'MDK! EXTERMINATE!' Because, they were designed by somebody channeling the force.