Does the AI take into account the fact that you might be at war with another race in that sector when it looks at your military presence building up there?
Here is the situation I found myself in last night:
Playing a medium galaxy with 6 Tough AI. I have habitable planets set to Abundant so that more "sharing" of systems occurs. I do this to encourage hostile dynamics. For example a 5 planet system with 4 habitable planets usually has 3 different owners where borders are closeby. Anyway I end up at war with the Yor and plan to invade a system where I own 2 of the 4 planets, the Yor have one and the Drath the other. I build up some Transports and also move some fleets nearby to knockout the Yor defenses when the time is right.
Thing is, its early game so the build-up takes a while, my ships only move 4 speed etc. During this the Drath get on the blower with the "We know what you are up to! We see your build up near our worlds - prepare for war!" message.
They are absolutely right about the build up since they are also in the same system but they are wrong about the reason since I am at war with the pesky Yor.
So back to my question, does the AI know to take account of the current local situation? (ie I am at war and the buildup is to invade the enemy planet that is also there). I see quite a few possibilites playing out here, not least of which is the Drath just want an excuse to attack.