Ukraine is set to field its first officially codified domestically built grenade launcher armed ground robot, after the Ministry of Defense approved the Droid NW 40 robotic combat system for service with the country’s Defense Forces, developer DevDroid said on December 23.



I don’t think it will be programmed that way.
The writer of the laws himself made his career by writing an entire book series with stories about pointing out where the laws break down.
He did also do some stories about ‘fixing’ the laws but in every case that resulted in either limiting the robots capabilities in a restricting way or requiring them to have more power over people in ways that could be harmful to humanites self autonomy in the longrun.
In this case I think they’re broken down immediately because they won’t be used.
Spend months in a meeting room with everything from ethicists and philosopher to machine learning specialists and developers to figure out each nuance of the rules
or program it to kill everything until the batteries run down and send it out within the hour
The answer in a war is always the second option.
Screamers. Check it out.