I was never particularly proud of how much Stack Overflow I had memorized anyway. That wasn't the fun part of my job.
Most of these companies pushing AI so they can show half their devs the door are insane. You can't just vibe code shit and expect results other than a full airline ground stop and Microslop Office being down worldwide.
The AI is pretty worthless without me. I have zero concerns about being replaced by a project manager. Companies are being sold something else, but they're gonna figure it out pretty quickly. (Though not quickly enough for some of us. Negotiate to keep your tenure and severance when they bring you back .)
But AI as a tool is here to stay, and it's better to build those skills earlier than later. The Riemann hypothesis shows a bit of a model for future work, both good and bad. You can't just tell AI "solve the Riemann hypothesis". It would have gotten nowhere without the expert guiding it and using it as a tool. Fortunately most of the stuff we're doing isn't cutting edge research, so hopefully we don't have to deal with a pile of slop that we can prove is correct, but nobody understands how.