docs/design: Add design doc for stream comparator.