upvote
Never trust a single session.

Things improve drastically however if you spin up a second session and ask it to adversarially review everything that the first session produces (this goes for everything: not just code, but also design, planning, and explanations).

This works even better if you use models from different families to do so.

reply
Problem is where to stop. Open a 3rd session? Are you sure the 4th iteration is mostly correct? Let’s try a fifth now…
reply
I have, on a lark, reached 20 to 30 adversarial sessions a few times. For some tasks, the sessions will just never converge on anything that yet another session won't find fault with, recommending an alternative already ruled out by another session. Even if all the reasoning in between was documented, the new sessions will endlessly claim to find flaws in past reasoning.
reply