Nope. Not yet. The frontier still produces slop and never refactors. Your code base will grow with the square of your features and grind to a halt. God speed to folks that work at this shop.
You can often just tell it to refactor though. That's like a scheduled harness thing, not a game changer.
Perhaps, but you need to tell it how to refactor or you’ll get more gibberish and helper functions. Hence, programming.
if you tell it to do a thing it'll try it's best to make you think that it was done. I rarely get good refactors from AI unless I tell it specifically what to do.