I believe that Moses essentially was given lectures by God. And God told Moses to take notes on the lectures and God told Moses exactly what to write in those notes, each word, each letter, each little mark, the spacing of the words and letters, even mispellings, everything came directly from God. Then Moses took those lectures and the notes and taught the Jewish people, and they wrote their own scrolls, and taught each other, correcting each other, Moses was in charge, directing the whole operation. And that's what was happening in the wilderness that entire time.
The written Torah that we have now are those notes that were given by God to Moses, word for word, letter for letter, mark for mark, space for space that can be used to reconstruct the entire lecture given by God to Moses if the teacher knew the Oral Torah, the verbal teachings, that went along with the written words, letters, marks, and spaces.
Just to be clear, extra clear, if you have been reading my posts, there is a question, a problem, that comes up when comparing the LXX and the DSS to the written Torah that we have today. These problems / questions are minor. And I have said, "whoever made those changes opened pandoras box". But it's unknown who made the changes. It's unknown which is the original, and which is the "updated / corrupted" version. I trust the Torah. I think if there was a change made, it was when the LXX was made, or when the DSS were made. Those scribes or translators, maybe they were Jews, I don't know, who made the LXX and the DSS opened pandora's box. That's what I think.