While what you say is mostly correct, the lifestyle switch to farming was determined not by some random gradual accumulation of knowledge during the previous million years, but by accelerated accumulation of knowledge during a few thousand years at most, which was caused by the dwindling hunting resources, which forced humans to abandon the lifestyle that they had for a couple million years and switch to a lifestyle where the staple food consisted of plant seeds, with anything else providing much less of the nutrient intake. Only after a few more thousand years, raising domestic animals allowed the return to a more diverse diet.
Switching to a farming lifestyle was certainly not done by choice, but to avoid death by starvation, as we now know that this has caused various health problems, especially in the beginning, presumably until experience has taught them to achieve a more balanced diet, by combining at least 3 kinds of plant seeds, 2 with complementary amino acid profile and 1 kind of oily seeds for essential fatty acids (the most ancient farming societies have combined barley or einkorn or emmer wheat with lentils or peas or a few other legumes less used today and with flax seeds).
Yes, your description of how farming and sedentary lifestyle progressed is much more accurate than my somewhat clumsy attempt. My intention was to emphasise that such a transformative event in human history did not take place thanks to visionaries going against the grain [0] , but rather through a long and complex process.
[0] Well, technically in favour of the grain! Pun not initially intended: https://en.wikipedia.org/wiki/Against_the_Grain:_A_Deep_Hist...