summarizeNotes

public static String summarizeNotes(List<String> notes, int cap)

Joins dedup notes into the single summary line both emitters log, capping the tail so a pathological pack can't produce a megabyte log line.