I usually set my military units to alert along my borders to protect me from aliens. If there is one or two, cool. If there is more of a threat, I know to pump or move more units. However, an alert unit only wakes up to non-alien units if you're at war with them. This means that I must constantly check my borders in order to be prepared. Basically, why can't I be alerted when my guard sees an army?