Infer the article type (propositions, motions, committee-reports, โฆ) from the canonical path or article title. The registry is the primary source; legacy hard-coded candidates remain for older folders that pre-date the registry.
Exported so the head-metadata helper and the regenerator can derive the localized articleTypeLabel deterministically โ and so test scripts can verify type classification without rebuilding the regex locally.
Infer the article type (
propositions,motions,committee-reports, โฆ) from the canonical path or article title. The registry is the primary source; legacy hard-coded candidates remain for older folders that pre-date the registry.Exported so the head-metadata helper and the regenerator can derive the localized
articleTypeLabeldeterministically โ and so test scripts can verify type classification without rebuilding the regex locally.