There are naval mines which can detect a vessel nearby and launch an autonomous homing torpedo. All with no human in the loop.
https://www.thedrive.com/the-war-zone/25235/the-u-s-is-getti...
https://www.thedrive.com/the-war-zone/25235/the-u-s-is-getti...
You don’t have a case of no human in the loop until that mine is capable of exploding or not exploding and it’s responsible on a case by case basis for deciding which to do.