I'm running out of steam now on this thread, but here is our Cumulative Culture Theory (written by me and @anthrocypherAna Hevesi ) that includes some of this ecological validity in cognition work, and brings in what we consider a more holistic model to understand software developers' problem-solving specifically -- the people who work with computers are not, themselves, computers :)
https://osf.io/preprints/psyarxiv/tfjyw_v1
Hope this was fun, you could spend a lifetime learning about learning and memory!