> how many engineers are going to publish their FOSS with a “using this as AI training input is forbidden” clause
That clause would make their software not Free and Open Source by definition.
That clause would make their software not Free and Open Source by definition.
> The license must allow modifications and derived works, and must allow them to be distributed under the same terms as the license of the original software.
So AI training would be allowed, but all code subsequently generated by the AI would have to be under a compatible license.