pub fn classify_event(
files: Vec<SyncFile>,
legacy: &KnownNotes,
event_states: &HashMap<String, LocatorState>,
) -> Vec<SyncAction>Expand description
Classify scanned files using event-identity state, falling back to legacy content-hash knowledge for locators not yet on the event path.
Precedence: event_states > legacy > New. Pure and total: every input file appears in exactly one output action.