Whether space is user-auth-enabled ON DISK under root — the authoritative marker, NOT a bare
existsSync on userAuthStateDir: only a real provider pin inside a real directory
counts. The state-dir read goes through userAuthStateDir, so a pre-hex legacy layout
has already been migrated by the time the marker is checked.
Whether
spaceis user-auth-enabled ON DISK underroot— the authoritative marker, NOT a bareexistsSyncon userAuthStateDir: only a real provider pin inside a real directory counts. The state-dir read goes through userAuthStateDir, so a pre-hex legacy layout has already been migrated by the time the marker is checked.