EU Parliament Monitor — API Documentation - v0.9.13
    Preparing search index...
    • Attempt to resolve the localized brief highlight for one language. Returns null when no executive-brief_<lang>.md (or extended variant) exists in runDir. For lang === 'en' always returns null — the English brief is handled by the canonical extractArtifactHighlight resolver.

      The body of the localized brief is parsed with the same lede/H1 extractors used for the English path, so the semantic rules are symmetric. Generic artefact-category headings (e.g. # Executive Brief — Breaking News (2026-05-15)) are detected and stripped via stripArtifactCategoryAffix so they cannot leak into the SEO surfaces.

      Parameters

      Returns LocalizedBriefHighlight | null

      Resolved localized highlight, or null when no brief exists