in reality, you have customers that are very upset about the sudden spike in observable defects, you have other teams mad because they are triaging a bunch of bugs introduced by your refactor, and you have management wondering why the fuck you have spent multiple months working on stuff that has no clear connection to a marketable feature. you might also have a couple of seniors/principals who actively oppose your efforts because they benefit from being the only people who really understand the mess you are trying to clean up. and of course, all of that messy people stuff is probably a large part of why the system is so tangled up to begin with.
I certainly don't think political systems are exactly like computer systems, but it seems like a lot of the high-level lessons are applicable to both.
That's what I meant to capture by agreeing there is overlap in terms of backwards compatibility and entangled dependencies.
The difference is entrenched social systems have greater agency that goes beyond change induced instability and into being able to actively predict and favorably mold their environment.
Like biological agents, I'd argue any persistent and stable organization of humans makes predictions and inferences about the future and takes actions which maximize the probability of their future existence as a coherent entity.