And that mistake is even more shortsighted than the systemic failure condition the author focuses on (retaining only seniors and replacing juniors with AI).
Firing your seniors instead also cripples the growth of juniors but, as a bonus, guarantees proliferation of technical debt that tends to scale exponentially with the project. And that’s all before the compounding factor of reliance on coding agents.
Sounds like your former employer insists on learning the hard way. While I’m glad you got out ahead of the shitstorm, I do feel bad for your juniors.