retooted John Hardy
It doesn't seem to be widely understood that copyright is the basis of all software licencing and open source.
Without copyright you own nothing therefore you can't licence it. That means you can't open source it either.
AI generated code CANNOT be copyrighted because it has no human author.
AI generated code CANNOT be open sourced either because it is unowned and unownable.
So there are really only two options with AI generated code. Either you keep it locked up as a trade secret and don't share it with anybody (including presumably your own employees) OR you share it with the public in which case it is by definition PUBLIC DOMAIN.