Resolves tools/environments/docker.py against #141086: the orphan sweep strips sandbox privileges before sparing an idle-stopped workspace container, and stop_idle runs on main's _start_teardown helper and strips privileges once the container has stopped, like a persist-mode cleanup.