I know 1.7 AI is complete garbage when it comes to attacking/defending; but somehow Bullfrog gave them a fail-safe for building dungeons; for example if you have one or more gem seams in the way of one of their rooms being built; they will eventually build other rooms after a short while like the gems aren't there.