Structured plans must cover 4 pillars:
- Memory — vibe conversation (short-term) +
memory.md(long-term, read at/prime, updated at/commit) - RAG — external docs, library references
- Prompt Engineering — be explicit, reduce assumptions
- Task Management — step-by-step task list
Pillar → Plan Mapping
When filling templates/STRUCTURED-PLAN-TEMPLATE.md, each pillar maps to specific sections:
| Pillar | Plan Section | What to Include |
|---|---|---|
| Memory | Related Memories | Past decisions, gotchas from memory.md |
| RAG | Relevant Documentation, Patterns to Follow | External docs, codebase code examples |
| Prompt Engineering | Solution Statement, Implementation Plan | Explicit decisions, step-by-step detail |
| Task Management | Step-by-Step Tasks | Atomic tasks with all 7 fields filled |
See reference/piv-loop-practice.md for methodology + examples.