pub fn drift_magnitude_cosine(v1: &[f32], v2: &[f32]) -> f32
Compute cosine drift (1 - cosine_similarity) between two snapshots.