Every space with user-auth state under this auth dir, detectable WITHOUT broker.json/accounts:
each enabled space is a space.<hex> subdirectory carrying a provider pin. The enumerating
companion to hasUserAuthState; both share pathHasUserAuthMarker so a single
space and the whole-dir sweep can never disagree on what "user-auth on disk" means. Pre-hex
legacy dirs are reported too (decoded from their verbatim names), so a guard reading this stays
fail-closed before the one-time migration has run.
Every space with user-auth state under this auth dir, detectable WITHOUT
broker.json/accounts: each enabled space is aspace.<hex>subdirectory carrying a provider pin. The enumerating companion to hasUserAuthState; both share pathHasUserAuthMarker so a single space and the whole-dir sweep can never disagree on what "user-auth on disk" means. Pre-hex legacy dirs are reported too (decoded from their verbatim names), so a guard reading this stays fail-closed before the one-time migration has run.