pub async fn task_create(
registry: &Arc<dyn TaskRegistry>,
agent_id: &str,
args: Value,
) -> Result<Value, PeError>Expand description
Create a new task.
Args: { title, description?, priority?, tags?, parent_task_id?, assignee?, task_type? }
Returns: { task_id, title, status }