Google promises ethical principles to guide development of military AI

The ethical questions raised by Google's (small) contract with the US military to develop AI are difficult and controversial, but they have to be asked, and i'd much rather they're asked in a form open to public debate than behind closed doors.
Where will Google draw the line on weaponized AI?