Milt Bryce and his son Tim were pretty much the inventors of modern information-systems management[0]. And they were open in their hatred of and contempt for programmers and how they worked. Their methodology, PRIDE, was centered around giving the programmers as little to do and as little autonomy and leverage over the organization as possible, because information systems is a business function and not a technical one. The key decisions would be made by systems analysts and designers, not programmers. Without AI, the part that programmers contributed in a PRIDE project was about 15%; with AI, it asymptotically approaches zero. I've been studying PRIDE a lot over the past few years, because with Tim Bryce's death it's at risk of being forgotten; and because now with AI in the mix, it helps me understand what's actually going on from a business perspective.
This is what management has wanted all along. Programmers are expensive, tetchy, and they resist standardization and discipline, preferring instead to employ their own little bespoke methods and tool choices. (Hello, vim vs. emacs!) Failure to keep them in tight rein can spell doom for the company, as they can use their technical skills to their advantage, potentially holding the whole business hostage. You may bristle and think the above is not true, but your boss or skip-level manager probably thinks it's true, and the C suite absolutely does (especially in traditional businesses: banking, insurance, manufacturing, etc.). Nerds were seen as a necessary liability to automating a business's information systems; now, they are no longer necessary.
The only way out for us is to follow Rogue's mom's advice: "Have you tried not being a nerd?" Learn business, learn what customers actually want and what business operations need in order to fulfill those wants. Think like a systems analyst—big picture, focused on information flows between companies, departments, people, not like a programmer (detailist obsessed with the machine in PRIDE ideology).
[0] Maybe Margaret Hamilton predated them, but not by much.