I think you just happen to have a task that is much harder for LLM to handle. That happens.
Like I personally made some stupid 2d pixel art web demo and even fable struggle to re-atchitecture it into something that not lags and easy to integrate new content into. And it eats x10 of usual context limit while whole codrbase is like 10,000 LOC and bunch of dumb config files.
At the same I building actual client-server 3D RTS well over 100,000 LOC, GOAP AI, lots of visual features and 99% of work can be done by Sonnet.
Why? I dont know, might be because I actually properly architectured RTS using my brain and not just unconytollable vibe coded it.
Or might be it's just weird kind of "luck" because my previous web-based prototypes were easy to build and work on. IDK.
PS: if you curious shoot me email or ping me on Linkedin, I'd be happy to share even though it not ready for public relese yet.