I've found a middle ground where I sketch architecture by myself or using AI as an advisor. Document all my decisions and key points and then use AI coding to extend foundation and add features.
Basically what I do:
- I have an idea of some architecture solution for the current task
- I try to sketch it myself and use AI to find some flaws I missing or try to find alternative approaches
- Review comments from AI and summarize into final decision
- Implement foundational layer myself or using AI to help me
- Document all crucial points like module boundaries, dependencies, key strutural elements
- Use AI to add features on top of newly built architecture