This question fully captures my two main problems with the current AI-fanaticism. I've said it a million times: writing code was never the hard part and in my world has always been the most enjoyable part of software.
First, to me, the two major differences between a junior and a senior developer are(or used to be, I'll get to that in a bit):
1. Intuition: software is all about compromise and knowing when you can, should and should not cut corners and at what cost really is, to a very high degree, intuition(and some auxilary technical knowledge).
2. Domain knowledge.
Both come from, you guessed it, experience.
The second part is junior developers in general - from what I see, they are commonly completely detached from reading and writing code. Currently Gen-Z are entering the workforce. For many of them(vast majority), cut off their connection to the internet and they struggle with a simple while loop. And they look horrified when I tell them that 15 years ago, we were writing code - SVMs on a sheet of paper as exams. Same goes for all the people who said "oh well, no need to write the code if the AI can do it for me". Seeing people with two decades of experience turn into idiocracy characters is painful. Like in a year I see the seniors revert back into what juniors are today - completely incapable of formulating and facing a problem without an LLM on their side. And worse still - they will never admit it but I see how much they stop being passionate and just roll with everything.
The other thing to consider is burnout: take a senior that understands your service or product completely: in a real world scenario you know that no system is ever going to be perfect. You can only push someone so far with mountains of small, medium and large tasks and tell them "what's the big deal, you have unlimited slop max pro"? The big deal is small and trivial tasks which, with or without AI, require context switching which is exhausting. It's not a question of "if" but "when" will your senior get burned out and toss everything at slop max pro++ and just collect a paycheck for as long as the company is around or something better pops up. And in that same context - if you come to me with 5 jira tickets and tell me they have to be done by the end of the day, do I really have the time and mental strength to pay close attention to all of them or just be like "hey slop, see this ticket? do it? when tests pass, deploy". At this point, my question is, am I a senior developer if I was practically never in the loop of what was done?