I use the term software archaeology pretty regularly. I never researched where I first heard it but I’m assuming it isn’t my invention. Lots of looking at legacy code requires a degree of “knowing how the business used to work” or “how computers used to work”.