fn sweep_default_accounts_off_ambient(
wstore: &Arc<Store>,
broker: Option<&Arc<Broker>>,
home: &Path,
now_ms: i64,
stats: &mut MigrationStats,
)Expand description
Repoint any Default-bundle account still pointing at the user’s ambient
~/.<provider> dir to the AgentMux-owned dir (SPEC_PROVIDER_ISOLATION
INV-A / §4.2). Fixes installs seeded by the old #983 pointer-to-ambient
behaviour so existing agents stop reading/refreshing in the user’s personal
login. Idempotent: accounts already pointing at the AgentMux dir (or a
custom dir) are untouched; the credential is imported once (sentinel-gated).