fn departures_from_edits(
before: &LoadedConfig,
edits: &[SettingsEditRequest],
document: &SettingsDocument,
) -> (HashSet<(String, String)>, HashSet<String>)Expand description
The project pairs and account names a batch leaves behind, read off the batch and the loaded document rather than a second load: a removal drops an entry, and a set on one of the naming fields renames it. The loaded candidate is checked again after validation, so a shape this misses is still caught.