Soft target for headline-style titles produced as a fallback from
BLUF/lede prose. When the candidate exceeds TITLE_MAX_LENGTH, the
truncator first looks for a natural clause boundary
(., :, —, ;) inside the [HEADLINE_SOFT_MIN, TITLE_MAX_LENGTH]
window and breaks there instead of mid-clause-with-ellipsis. This
turns a 137-character truncated prose paragraph into a complete
journalistic clause, which scans much better in news cards and SERP
snippets without sacrificing the keyword-rich opening.
Soft target for headline-style titles produced as a fallback from BLUF/lede prose. When the candidate exceeds
TITLE_MAX_LENGTH, the truncator first looks for a natural clause boundary (.,:,—,;) inside the[HEADLINE_SOFT_MIN, TITLE_MAX_LENGTH]window and breaks there instead of mid-clause-with-ellipsis. This turns a 137-character truncated prose paragraph into a complete journalistic clause, which scans much better in news cards and SERP snippets without sacrificing the keyword-rich opening.