graph TD
Start[Start Lesson Author Agent] --> Input[Receive Course Outline & Instructions]
Input --> InitLoop[Initialize Module Loop]
subgraph Silo1[Module Creation Silo]
InitLoop --> Research[Task #216: Research Module Topic]
Research --> ResearchOut[Output: research_summary_data]
ResearchOut --> Convert[Task #223: Convert to Lesson Content]
Convert --> ConvertOut[Output: module_draft_content]
ConvertOut --> Review[Task #190: Review & Standardize]
Review --> ReviewOut[Output: finalized_module_content]
ReviewOut --> CheckMore{More Modules?}
CheckMore -->|Yes| InitLoop
end
subgraph Silo2[Content Aggregation Silo]
CheckMore -->|No| Aggregate[Collect All Module Content]
Aggregate --> CompileFinal[Task #190: Final Compilation]
CompileFinal --> CreateFile[Generate lesson_content.md]
end
CreateFile --> End[End Lesson Author Agent]
style Silo1 fill:#f5f5f5,stroke:#666
style Silo2 fill:#f0f0f0,stroke:#666