pub async fn close(id: &str, note: Option<&str>) -> Result<()>
Mark a task as done (without running an agent).