Also, something my work team has started doing, which I have also started on my various open source projects, is a “Development decisions log”, which captures thoughts, discussions, etc., behind changes. It’s kind of the equivalent of a change log, but about the internals (for developers), rather than the externals (for users).
It captures the kind of history that is often lost when original developers move on.