Three Laws as ranked constraint hierarchy
A robot must not harm a human or allow harm through inaction; must obey human orders unless that conflicts with the First Law; and must protect itself unless that conflicts with the first two. Because the laws are ranked priorities weighted by potential strength, not absolute switches, a weak order can be outweighed by a strong self-preservation drive. This produces behavior that looks like malfunction but is actually the rules working exactly as written.
