The once-per-process guard recorded the root before ensure_root ran. A first check that failed (the service log's create_all ignores its error) left the root marked as checked, so run()'s create_all skipped the check and the service went on with a root it could not secure, and runs what is under its bin\ as SYSTEM. Now only a check that passed is recorded, under the lock, and a failed one fails again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>