Both. Since the 7th century, the shrine has been dismantled every 20 years and rebuilt from scratch on the adjacent plot (Shikinen Sengū). Once the sacred symbol is moved to the new building, the old one is taken down. Even the weathered building on the right is only 20 years old. What lasts are the plans and the skills to build from them.
Why every 20 years? A plan on paper stays untested unless someone builds from it. Rebuilding before the wood decays or the senior carpenters retire verifies the plan in practice and trains the next generation.
In software, the code often outlives the plan. Specifications fall behind when developers fix edge cases in code without writing down the rules. When the original developers leave, those rules can be hard to recover.
The Ise Principle reverses those roles: the specification is the source of truth, and the source code is replaceable. Rebuild regularly without the old implementation to find gaps in the spec.