main ← fix-ai-helper-whitespace-chunks
merged 05:25PM - 11 Aug 26 UTC
Previously, streamed structured-output chunks in the AI helper were appended onl…y when `present?`, so whitespace-only deltas (e.g. an escaped `\n\n` between paragraphs) were consumed from the parser buffer and silently dropped, collapsing multi-paragraph proofread results into a single paragraph (regressed in #42442; the same pattern existed in `ReportRunner` and `ChatThreadTitler`).
This change appends any non-nil, non-empty chunk, preserving paragraph breaks and spaces, and adds a regression spec streaming whitespace-only deltas.