EU Parliament Monitor — API Documentation - v0.9.25
    Preparing search index...

    Module Aggregator/Metadata/BriefingHighlightHeadline

    Headline derivation primitives extracted from briefing-highlight.ts so that module stays below the 600-line drift-guard cap (see test/unit/source-file-size.test.js). Pure leaf module — depends only on truncateTitle from text-utils.js and the stripTradecraftLabels helper from briefing-highlight-sections.ts.

    Headline derivation kicks in when a brief's ## Strategic Intelligence Summary block has no ### Sub-section heading underneath it — the resolver falls back to the section's first prose paragraph and we mine it for a journalist-quality top-line.

    Functions

    deriveHeadlineFromParagraph