1. Let the AI take into account the strength of mobile military units on adjacent planets, IF the AI has scouting units on those. (Yep, I want scouting for the AI)
Still on the fence about the AI scouting thing, but they should at least take into consideration some portion of the hostile, mobile firepower on planets adjacent to the planet they are planning on entering.
2. After a random (long-ish) amount of time spent sitting at the wormhole, waiting in vain...all mobile threat units in the galaxy gather together to form an impromptu strike force. Cue Exo SF logic.
That seems a bit harsh, and too easy to form a "bottleneck" and trick the AI into entering a "trap".
How about special forces units and freed units that have not yet decided which planet to attack/stalk are more likely to choose planets via wormholes with lots of other units already "stalking" it, with preference towards large groups of "stalking" units or groups of "stalking" units that are closer to gathering enough firepower to safely enter the planet?
Again, it should be randomized (though a weighted, "intelligent" randomized), and not just a "grab everything" or "concentrate into one location" choice. As Chris has posted about his lessons with AI, just always going for the "greedy" approach tends to make the AI too easy to manipulate.
For this to work effectively though, the AI needs to
start taking turrets a bit more seriouslyAlso, the "stalking" behaviour of special forces ships needs to be looked at. Right now, they are not waiting for as much build up as they should be.