How would you enforce that? I'm genuinely curious. It's nearly impossible to conclusively prove someone rewrote your codebase with AI.
I don't think you can, which is also why Open Source is effectively dead thanks to AI.
Plenty of rules and laws exist in which enforcement is difficult, and nonetheless exist. I think it’s enough to make some legal departments say no, and there are also companies stupid enough to brag about it regardless if it breaks the law.
Unless they proudly claim it as they seem so keen to do