First of all I never claimed that organisms would receive mutations needed to meet environmental stress on demand so to speak. That would mean that the organism is guiding evolution. What I said was natural selection guides evolution based on changes in the ecology. When the climate became colder, the dinosaurs had to adapt. The bird dinosaurs did and the others did not. Mammals and other fauna took the place of the extinct dinosaurs in the new ecological niches created by the changed climate.
I am glad you make a place for the ecology in your scheme of evolution. While Wilson and some other do this also, others seem to effectively ignore it, using the excuse the mutations are random in relationship to need, which not an issue.
Did you know that not long ago and may be still in some places evolutionists were forbidden to say that some birds migrated south during the winter to avoid snow and cold, that is ecological factors? They had to say that birds migrated south to receive an “evolutionary advantage” without saying what that advantage was.