pub fn select_root_task_variant<'a>(
document: &'a DocumentAst,
target: &str,
) -> Result<&'a TaskAst, PlanError>Expand description
Resolves the concrete root task variant selected for the current environment.
Args: document: Semantic AST used by the runtime. target: Fully qualified task target.
Returns: The selected root task variant or a planner error when unavailable.