I'm in a major war with the Drengin. Deep inside my own territory, I am assembling a fleet of ships and transports. The terrans build an economy base near my home planet, and promptly declare war on me since my attack fleet was near where they placed a starbase.
I've had two winnable games in a row get shot because of the AI building bases in my territory near my attack fleets. This is annoying.