pub fn plan_task(task: &str, capabilities: &[String]) -> AgentPlanExpand description
Plan an agent task given a task description and available capabilities.
Produces a DAG of planned steps. The plan always starts with a research/ analysis step (if capabilities allow), followed by synthesis, verification, and reporting steps as capabilities permit.