They add and add new code to the point when adding more is going to become very messy and then spagetti

What I was suggesting is to ask the LLM to compare function usage across files to identify overlap/redundancy.

The idea is to use the LLM to analyse the code base first before taking any action.

I think I'm suggesting a centaur approach.