Finding a workspace: Why the directory walk matters
The index and settings.json live under %APPDATA%, per user.
The index and settings.json live under %APPDATA%, per user. A build agent running as a service
account has its own empty %APPDATA% — no index, no settings, no saved credentials. The repository
it just checked out is the only thing on that machine that knows which workspace this is, and the
directory walk is what finds it.