Of course, otherwise Iran would have known about the attack beforehand.
Correct. Remember Mark Milley, and the fact that he actually (!) stated that he would give his Chinese counterpart an early notice if Trump were to launch an attack on China. This, by any measure, was outright treason. The harsh reality is that Milley should have been executed as a result. He wasn’t. So we now have to operate knowing that there are emboldened traitors at the highest levels.