Would this be legal?
For example, if a SaaS corporation wanted to modify and sell a service using some AGPL project can they use AI to entirely rewrite that project effectively detaching it from its original creator and ownership?
Of course, the big AI companies blithely ignore moral and legal issues.
No.
The whole project (and some may argue that the LLM that trained on the AGPL code that is also running on the backend), should be open sourced as well.
Using LLMs to remove the licence and generating a derived project from the original AGPL code is not a 'clean room implementation' and is the equivalent of rewriting existing code from the original author.
https://fingfx.thomsonreuters.com/gfx/legaldocs/jnvwbgqlzpw/...
To me this makes the clean-room distinction very hard to assert, what am I missing?