I feel like if there's one thing AI will do, it's that it will phase out this entire thing of "tribal knowledge" entirely. Which will probably be a good thing, long term. This entire idea of "someone can design a system that is extremely complicated, thereby not understanding the system in it's entirety (because how could they if it's 2m loc for example?) but absolutely nothing is written down because all the important stuff is passed by word of mouth" is a massive problem, and the "well nobody can understand the system" problem exists for those kinds of systems when new people have to (eventually) take over development of them.
Sure, the "tribal knowledge" will be gone, and "no knowledge" will replace it.
I am sorry, but this is naive.
Real-world conditions are non-uniform. In many circumstances, we can invoke best practices and use standard approaches and technologies, and we can deploy those in unsurprising and boring ways that are legible to LLMs and outsiders.
In others, the non-uniformity of the real-world produces constraints that can completely dominate the decision calculus. This is how you get tribal knowledge.
One common way in which these circumstances arise is from a need to prioritize something other than your beloved software system. See e.g. why clinical data is notoriously messy -- part of this is because it is understood that ultimately a clinician should not be slowed down by software in delivering care to the patient in front of them, so if they are plugging an email into a phone number field, then so it goes.
Here's another: different people or units within the same organization require different ontologies, and the boundaries are not always clear, and sometimes these will be ephemeral, and the rules for determining these boundaries are not rules-based but heuristics based
Sometimes it's because relationships are more important than anything else. The food industry thrives on this. A local produce distributor may have rules like "We price organic bok choy at ${agreed_price} for each store, except for Customer A, where we negotiated ${agreed_price}*.85 under a 5 case minimum, and also we need to ensure Customer B receives the best-looking case available because they are a Michelin star restaurant and need the best looking specimens. Customer C has said they don't mind uglier/dented product, so give them a discount. Customer D is a grocery delivery startup and they are fairly annoying to work with and might go bust and not pay their last bill so give them the worst of the lot."
Would it be cheaper and easier to not operate like this? Sure, but your competitor won't mind, and will happily take your Michelin star customer from you.
Regardless, it's a terrible thing to want to eliminate this. I realize that Silicon Valley has always longed to operate in a world without the messiness and idiosyncracies of actual human beings, but alas, they are here to stay, and so you will not do away with tribal knowledge entirely.
I think it's still a hypothesis whether AI can maintain a codebase on its own, and whether an entirely AI-managed codebase will be free of "tribal knowledge" requirements. Current LLMs also cannot fit 2m lines of code in the context, and they too will have to rely on information passed, not from humans, but from other LLMs.