does it make sense to capture this as a per-`module` attribute then? Or should I restore the parent parameter, but set it equal to the task that created the task (as opposed to the task that first switched to the task)?