Frankly it sounds not far off from the software job of the present. The correct code is largely the easy part in my experience, but this could be because I struggle immensely with learning each company/department/projects esoteric CI/CD pipelines
Well we don't use AI now, so most code is written by humans. CI/CD can be hard but it's not actually harder than anything else overall. If you think it's hard for an ordinary software project, I'd bet it's either not your field of expertise, or you're dealing with a system that was probably set up by inexperienced people.
It might not actually get that effective, but it's certainly wrong to expect to only get fun stuff to do. The AI might actually have decent output when it comes to architecture too. I personally haven't seen such amazing AI but I could accept that it might exist now or in my lifetime.
When AI gets good enough to really displace programmers, it probably won't require as much supervision as it does today. It might feel more like the AI is prompting you instead of the other way around... But idk, it remains to be seen just how good it will actually get.