> Every big company codebase with millions of lines devolves into a similar state.
Not really? A lot of companies have comparable codebases that are kept in check.
Service-oriented architecture helps at this scale by forcibly creating boundaries.