Afforess
The White Wizard
Not sure if this has been reported yet, but "Automate border patrol" and "Automate national defense" do not attack foreign (at war) units within my borders for some reason. I remember it working in the past.
Automated units will not attack if the odds of success are poor. Check the automations tab in BUG to see settings to control that.