Reconcile account permissions only from successful authoritative inventory
When moving from app-local account toggles to provider-owned sharing, treat a successful inventory response as the permission boundary. Enable returned shared accounts, mark absent accounts unavailable, and retain historical records while excluding unavailable accounts from future imports and new insights. A failed or malformed inventory response must not be converted to an empty list: preserve the prior inventory and skip imports until authority is known. Keep stable per-account cursors and transaction mappings when accounts return, and advance a generation fence when membership changes so queued work cannot use obsolete permissions. Focused mocked-provider tests verified failure preservation, history retention, cursor reuse without duplicate imports, and rejection of obsolete local-selection actions.