That's just a formality. The implementation is trivial and left to the reader of any good DARPA project as an exercise.
Killing the wrong people isn't DARPA's problem, we have bombs that we can drop out of a plane and down a chimney. Blame the elected officials that ordered the bomb dropped in the first place and the intelligence apparatus that convinced them it was good idea.
And the venal election system that put them in charge, and the social order that creates vast power and wealth imbalances.