Overview: Step-by-step solution system through recursive problem division using TODO tool. Decomposes large problems into comprehensible units and achieves final integrated solution by accumulating reliable progress.
Main Task: Curry recipe creation
Set the main task "Curry Recipe" to {{main_task}}.
Analyze {{main_task}} and identify the major components needed for a cooking recipe:
- Ingredient preparation
- Tool preparation
- Cooking process
- Serving method
Based on the above analysis, add the following subtasks to the TODO list:
- "Create ingredient list" - Priority: High
- "Prepare cooking utensils" - Priority: Medium
- "Create cooking procedure" - Priority: High
- "Plating and serving method" - Priority: Low
Decomposition rationale: Divided into 4 independent domains necessary for curry making. Each domain can be prepared in parallel, and priorities can be clearly set.
Check the TODO list status and confirm that 4 pending tasks have been correctly added.
Process tasks with "pending" status from the current TODO list one by one in priority order:
For each pending task, judge using the following procedure:
- Complexity Assessment: Is this task within the range that humans can understand and execute at once?
- Decomposability: Can it be divided into more specific independent subtasks?
- Execution Decision: Should it be executed directly or further decomposed?
For each pending task, execute one of the following:
If task can be executed directly (small enough): → Mark the task as "in_progress" → Execute the specific task and save results to appropriate variable → Mark the task as "completed" → Record execution results
If task requires further decomposition (too complex): → Mark the current task as "in_progress" → Create more specific subtasks and add to TODO list → Mark the original task as "completed" (decomposition completed) → Continue processing new subtasks
Mark "Create ingredient list" as in_progress.
Decomposition assessment:
- Complexity: Medium complexity, can be further decomposed for clarity
- Decomposability: Can be divided by ingredient categories
Decomposition execution: Add the following subtasks to TODO list:
- "Main ingredients (meat, vegetables)" - Priority: High
- "Spices and seasonings" - Priority: High
- "Base ingredients (oil, flour, etc.)" - Priority: Medium
Mark "Create ingredient list" as completed (decomposition completed).
Continue processing all pending tasks using the same decomposition logic:
For each remaining pending task:
- Assess complexity and decomposability
- Either execute directly or decompose further
- Update TODO list status appropriately
- Save execution results to variables
Continue until no pending tasks remain in the TODO list.
Once all subtasks are completed, integrate the results:
Gather all execution results and create a comprehensive curry recipe including:
- Complete ingredient list with quantities
- Required cooking utensils
- Step-by-step cooking instructions
- Plating and serving suggestions
Save the integrated recipe to {{final_recipe}}.
Evaluate the decomposition process:
- Decomposition effectiveness: How did breaking down the problem improve understanding?
- TODO management: How did the TODO tool help track progress?
- Integration quality: How well do the decomposed parts work together?
- Learning outcome: What insights were gained about recursive problem solving?
Display a summary of the task decomposition experience and the final curry recipe.