3 ms·
Even before you plan, you need to feed it enough relevant context, to make sure the plan is not based on hallucinations it assumes about the system. The best ap
by lukaslalinsky 1y ago
Even before you plan, you need to feed it enough relevant context, to make sure the plan is not based on hallucinations it assumes about the system. The best approach I found:
1. Make it read relevant pieces of code and explain it to me
2. Explain my problem and ask it to come up with a plan, iterate if needed
3. Allow it to execute the plan, watch it do it, interrupt and correct when needed
4. Have it do code review using a sub agent, focusing on correctness, avoiding leftover code, etc
5. Then I review it myself