Upgrade the city when it protects or improves the next cash loop
The official loop confirms city upgrades, missiles, building destruction, cash, and rewards. Exact upgrade math is still missing, so use bottleneck-based choices.
A good city upgrade should make the next few cycles safer or more productive. If an upgrade does not improve recovery, cash stability, or attack setup, wait and compare the other paths.