AFAIK it's generally assumed (but not(?) tested in court, that LLMs can't be assigned copyright, and that copyright for work generated by LLMs can't be claimed by a human just for being in the loop.
Is there going to be an avalanche of code that is legally in the public domain, going forward?
Even if AI output isn't copyrightable, could you really argue a solid case if I taint random parts of the source code with my own isms? Which this is something I do, I don't care if the AI generated portions of my code base are copyrightable, perhaps my licensing is not valid for those portions, but throughout my code is going to be parts I hand crafted or patterned out because the AI just can't get it right. Those snippets are just proverbial land mines in waiting for a copyright infringer in waiting.