pub fn semantic_segments_with_progress(
entries: &[TimelineEntry],
progress: impl FnMut(usize),
) -> Vec<SemanticSegment>Expand description
Same as semantic_segments but emits per-session cumulative
entry-processed counts to progress, so callers can pin a
Heartbeat floor to real work done (rather than ticking blind).
Pass-4 follow-up: the segment phase moved AHEAD of dedup, so for
large corpora the progress bar needs a real denominator to stay
honest.