Not really a bug, well kind of.
Payday came while I had a fleet inbound to an AI held star. AI immediately invested in Economy, Industry and Science 4 hours from losing the star. I was surprised, and pleased, but it was not a good idea from the AI standpoint.