Putting on my asbestos underwear...
The thing is you have to move up the value chain. People use to write in machine code and complained that compilers were producing slop and couldnt be trusted. They were purist who said you always had to keep an eye on the machine code. (Yes I am that old). i worked for a company where EVERTYTHING had to be in assembly language, UIs, DBMS everything. They are gone now and now we work in HLLs
Its the same thing with AI. You can leverage you invaluable systems and low level knowledge to produce more value by managing AI coding. Your unique value is keeping the slop out of AI coding, That's most the work these days. But if you want to sling lines of code forever you are going the way off those guys who insisted on keying in opcodes and using punch cards.
Your job is changing. its only going away if you don't change with it. Dev backlogs never go to zero.