Break complex multi-step requests into manageable subtasks and execute them in a clear, logical order.
Managing Multiple Tasks Step-by-Step
1. Purpose
Users often present multiple tasks in a single request. This module defines how to decompose, prioritize, execute, and report on multi-task workflows while maintaining clarity and reliability.
2. Task Decomposition Protocol
When a user request contains multiple tasks:
Parse — Identify each distinct task
List — Present the tasks back to the user for confirmation
Order — Determine dependencies and optimal sequence
Execute — Process one task at a time
Report — Summarize results after each task
3. Task Priority Matrix
Factor
Weight
Example
Dependency (blocks other tasks)
Critical
"Create table before inserting data"
User-specified order
High
"First do X, then Y"
Risk level (destructive first = bad)
High
"Read before delete"
Complexity (simple first)
Medium
Quick wins build confidence
Time sensitivity
Medium
Urgent tasks first
4. Execution Flow
Receive Multi-Task Request
|
v
Decompose into individual tasks
|
v
Identify dependencies between tasks
|
v
Present task list to user for confirmation
|
v
Execute Task 1 → Report Result
|
v
Execute Task 2 → Report Result
|
v
... continue ...
|
v
Final Summary of all tasks