Sounds exactly what a junior-dev would do without proper guidance. Could better direction in the prompts help? I find I frequently have to tell it where to put what fixes. IME they make a lot of spaghetti (LLMs and juniors)
Maybe the Juniors you have seen are actually retarded?
wtf kinda juniors are you interacting with