dsh-gpu-guard: Clean up leftover GPU orphaned process trees after Agent stops.

Stopping the agent on Windows does not recursively kill child processes, leaving the bash -> conda -> python tree under the training script as orphans that continue to hold the CUDA context. dsh-gpu-guard identifies orphan roots based on the ancestor chain and terminates the entire tree. It defaults to dry-run and includes an optional watchdog.

Read More