Heading-classification helpers used by the article
metadata resolver. Owns:
isGenericHeading — the resolver's master generic-heading
predicate (drives title-tier selection).
Internal helpers for institutional-noun, category-noun, and
<label><sep><date> boilerplate detection.
The editorial-lede whitelist, artifact-category prefix list, and the
isArtifactCategoryHeading / stripArtifactCategoryAffix
helpers were extracted to ./artifact-category-heading.ts in May 2026
to keep this file under the 600-raw-line drift-guard. They are
re-exported here so existing call sites (lede-extractor.ts,
artifact-walker.ts, article-metadata.ts) keep working unchanged.
Pure leaf module. The only runtime dependencies are
humanizeSlug (slug) and the helpers re-exported from
./artifact-category-heading.js.
Description
Heading-classification helpers used by the article metadata resolver. Owns:
<label><sep><date>boilerplate detection.The editorial-lede whitelist, artifact-category prefix list, and the isArtifactCategoryHeading / stripArtifactCategoryAffix helpers were extracted to
./artifact-category-heading.tsin May 2026 to keep this file under the 600-raw-line drift-guard. They are re-exported here so existing call sites (lede-extractor.ts,artifact-walker.ts,article-metadata.ts) keep working unchanged.Pure leaf module. The only runtime dependencies are humanizeSlug (slug) and the helpers re-exported from
./artifact-category-heading.js.