I think this is the implicit motivation for a lot of research and tech choices. Languages trying to be predictable (Go) are focused on maintenance. Rhetoric about readability, how programs are read a lot more than modified, Literate Programming and how programs should be written for people to read. Automated testing and version control are arguably the biggest recent advances.
In spite of all the research it remains a problem. I think it'll never be completely solved because better tools just cause people to take on more complex projects, the way building more roads never seems to eliminate traffic jams. And those local complexifying choices pollute our shared commons.
Dijkstra said his brain is very small and can only handle small programs. Dennis Ritchie said if you write programs using all of your brain you won't be smart enough to debug them. Illich warned us of the consequences of adopting tools too quickly. Unfortunately the world doesn't listen to any of these prophets. After 10k years the prisoner's dilemma continues to reign supreme.