So the last item in my plant improvements file is a new trade good. Here's the freaky thing -
When the player or AI gets the tech that unlcoks this trade good it gets plopped into locked tiles (either habitat improvement tiles or terraforming tiles, not sure which, but not soil enhancement tiles) as if it were being treated as a tile unlocking improvement. Whether it be the player or AI, when the build on a tile completes everyone is informed that a new trade good has been developed, and the AI proceeds to keep doing this. It's obviously some confusion with the auto-upgrading.
What's even odder is that with some fiddling I think I may have cracked it. I looked at tags obviously and that wasn't the problem. I thought it might be something to do with the SpecialID (anybody know what this is for trade goods?) or the internal name, but I don't think so - the internal name is new and yup it's unique. Anyway, the solution seems to be don't have this trade good as the last trade good. That's it. That's just freaky. Testing continues of course.
If anyone can shed some light on this, that'd be great!