Derive { title, description } from a localized executive-brief markdown blob. Each field is resolved independently โ title falls back to null when the H1 fails isBannedLocalizedBriefH1 or is too short for cleanArticleTitle; description falls back to null when neither a BLUF paragraph nor a first prose paragraph is present.
The caller (the article-merge merger) is expected to overlay non-null fields onto the per-type agent's article.<lang>.md front-matter so a banned/missing title in the brief still results in a localized title coming from the article front-matter (cascade chain step #3) rather than English content under a non-English <html lang>.
Derive
{ title, description }from a localized executive-brief markdown blob. Each field is resolved independently โtitlefalls back tonullwhen the H1 fails isBannedLocalizedBriefH1 or is too short for cleanArticleTitle;descriptionfalls back tonullwhen neither a BLUF paragraph nor a first prose paragraph is present.The caller (the article-merge merger) is expected to overlay non-null fields onto the per-type agent's
article.<lang>.mdfront-matter so a banned/missing title in the brief still results in a localized title coming from the article front-matter (cascade chain step #3) rather than English content under a non-English<html lang>.Pure function โ no I/O, no clock.