How on Earth do we solve this bloat and death-by-a-thousand-cuts issue with frontier LLMs? Are there any actual solutions or attempts at solutions to this problem that I can try? Any tools or frameworks? I've tried re-architecture skills, dedicated cleanup sessions, and a bunch of other stuff, but nothing really works well.
Add Sentrux to the LLM loop. https://github.com/sentrux/sentrux
It's an offline coding grader. It works well: You ask for a new module, LLM starts spitting out bloated crap, the code score goes down. LLM keep looping until code score is back up.
Not a substitute for human code review, but keeps things within tight guard rails.
Are you the author? The font size and contrast is kind of poor.
Don't try to "run as fast as possible" and just add code willy-nilly, think about the design, refactor as you add new features/fixes and intentionally be a bit slower and more considerate.
It's not a technical problem, if you steer the LLMs enough and actually review what they do, you can build proper and clean software with them.
Yeah, but that's boring. :)
Don't have it write the whole thing in one session.