> But you can't talk to them about the flow of the code. You can't ask them for their thinking as to why certain things are.
You can absolutely do this. It's even right most of the time.
I believe the “them” the OP was talking about was referring to the people opening the PRs, not the LLMs.
And you can certainly tell it the flow you want (and any other constraints) in the prompt.
Let's be real. Most of the time you ask an LLM "Why did you do it like this?", it responds with something along the lines of "Oops. My bad. You're right to point this out."
You even have a fair chance of getting a response like that when there isn't anything wrong and the question wasn't rhetorical - which perfectly illustrates the level of the genuine understanding LLMs operate at.