There was a lot of maneuvering on the part of the Roosevelt administration to get the stars aligned so that that attack would happen. There's just no question about that; you don't even have to look at the decoding of diplomatic cables or anything else. FDR's own admiral thought it was a bad idea to have the fleet confined in one place way out in the middle of the Pacific.