File size: 411 Bytes
bb6e1c1
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
from typing import List


def plan_tasks(goal: str) -> List[str]:
    """Very simple planner that decomposes a goal into actionable steps."""
    steps = [
        f"Clarify goal: {goal}",
        "Identify inputs, outputs, constraints", 
        "Choose tool/model per subtask",
        "Draft solution and validate against constraints",
        "Iterate fixes and produce final output",
    ]
    return steps