> From my PoV, pretending you can feed outputs, test suites or APIs from existing code and have AI "rewrite it" so you can call it your own is just theft.
If you replace “AI” with “a software engineering team”, does that change your argument? It seems like you’re essentially arguing that APIs should be copyrightable, which seems like a Bad Thing to me.
A "software engineering team" is human, so that does change the argument. It becomes a human-human problem, not a human-machine problem. Or in OSHA terms, a problem to be solved with administrative controls rather than engineering controls.