You have my ! Done however, rather than considering the code “spaghetti”, we might consider just how large the scope is for this project. Any monolith like this is going to struggle with complexity! It is quite literally mind boggling when any of us dive into a codebase as large and long living and growing as this one.
I 100% promise you everyone on this team or contributing to the engine want things to be as simple as possible while maintaining cutting edge performance. Simplicity is hard hard hard work. Thus the desire to get an LLM of some sort running on against the releases to help tame that complexity a bit. If for nothing else, to help us understand the code. Then perhaps to help us make better decisions for performance and simplification both.
Cheers!
~ Chris