Heuristic emoji icon picking for political-intelligence
documents and daily analysis runs.
The icons are chosen to visually differentiate the most common
artifact types (SWOT, PESTLE, threat matrices, coalition dynamics,
etc.) without depending on a heavy icon library. Rules are evaluated
in declaration order, so more-specific matches must come before more-
general ones (e.g. intelligence-brief before intelligence).
Lifted out of political-intelligence.ts so the icon-picking rules
can be unit-tested in isolation and so future renderers (e.g.
news-indexes, sitemap HTML) can reuse them without pulling in the
1500-LOC PI module.
Description
Heuristic emoji icon picking for political-intelligence documents and daily analysis runs.
The icons are chosen to visually differentiate the most common artifact types (SWOT, PESTLE, threat matrices, coalition dynamics, etc.) without depending on a heavy icon library. Rules are evaluated in declaration order, so more-specific matches must come before more- general ones (e.g.
intelligence-briefbeforeintelligence).Lifted out of
political-intelligence.tsso the icon-picking rules can be unit-tested in isolation and so future renderers (e.g.news-indexes, sitemap HTML) can reuse them without pulling in the 1500-LOC PI module.