Structured plans must cover 4 pillars:

  1. Memory — vibe conversation (short-term) + memory.md (long-term, read at /prime, updated at /commit)
  2. RAG — external docs, library references
  3. Prompt Engineering — be explicit, reduce assumptions
  4. Task Management — step-by-step task list

Pillar → Plan Mapping

When filling templates/STRUCTURED-PLAN-TEMPLATE.md, each pillar maps to specific sections:

PillarPlan SectionWhat to Include
MemoryRelated MemoriesPast decisions, gotchas from memory.md
RAGRelevant Documentation, Patterns to FollowExternal docs, codebase code examples
Prompt EngineeringSolution Statement, Implementation PlanExplicit decisions, step-by-step detail
Task ManagementStep-by-Step TasksAtomic tasks with all 7 fields filled

See reference/piv-loop-practice.md for methodology + examples.