Even if the model was open source, nobody would still know how the generated code works. You wouldn't even really know in want interesting sense of the word why the model produced the output you got.
Open source really should mean open training dataset, not merely open weights. There are some truly open source models and you can reproduce their training process if you have the compute. I can't think of a reason why those kinds of models would be incompatible with Stallmanism. Presumably they will get better and more widespread over time, like free software
Actually, this one also excludes nonfree data from the training set; there are probably more capable models that include downloadable nonfree data. I'm not sure if the dataset also needs to be free in order for the model to be considered free.
LLMs are even more proprietary than regular proprietary software, I think you've got it right here. They are destroying the free software movement and it seems like most people don't even realize what's happening.
I definitely agree on this. You don't program an LLM and thus come to an understanding of what it does in the same way you do for a compiler, an operating system, a game engine, a CRUD app, or a web front-end.
Something that's the output of mass-effort machine learning algorithms is categorically different to human-made-and-understandable software. Do we have terms for these different categories?
For now. But it may well become common practice to construct weights directly, or at least to directly adjust weights in trained models, rather than exlcusively train them from prior datasets.