Upload xai-*.json to POST /v0/management/auth-files when cpa_auto_import_remote is enabled. Failures are logged only and never block registration.
Overwrite previous grok-keygen contents with the local registration/CPA protocol codebase (secrets and runtime data excluded).