I guess we go back to basics since the main reason to use frameworks and stacks are the benefits of like, consistent structure, knowledge shared across teams, hiring people with prior experience from other jobs. Those don't matter at all to AI.
What does matter is poisoned dependencies, it might end up better to have AI generating bespoke routing, data/state stores, ORMs etc that would be redundant for you to get distracted with today. Humans can barely police dependencies today when humans are producing the dependencies and curating their use so probably a 10x bigger problem in a decade.