pub fn print_task_context(ctx: &TaskContext) -> Result<()>
Print task context in a human-friendly tree format