Hacker News new | past | comments | ask | show | jobs | submit
I don't know about spaghetti, but overengineered code is a daily occurence
Yes, the models do love to do silly things like strict validation of internal function inputs. Harmless, but a little annoying. Model RL appears highly defensive, and it's probably better to be too strict than too lax.

But this, and other over-engineered code issues, can generally be solved at the system prompt/developer prompt/AGENTS.md level.