Normalize an artifact stem by stripping well-known suffixes and mapping synonyms to a canonical template name. Keeps the getArtifactInfo lookup table small while still covering every variant we observe under analysis/daily/**.
getArtifactInfo
analysis/daily/**
Stripped suffixes:
.analysis
political-landscape.analysis.md
political-landscape
-analysis
-assessment
-context
-deep-dive
-brief
-intelligence
Synonyms (non-exhaustive — extend as new stems appear):
coalition-analysis
coalition-intelligence
coalition-sentiment-analysis
coalition-dynamics
threat-landscape
political-threat-landscape
coalition-threat-assessment
threat-analysis
ai-<x>
political-<x>
<x>
actor-threat-profile
actor-threat-profiles
Raw filename stem (extension already stripped)
Canonical template stem to feed into the curated tables
Normalize an artifact stem by stripping well-known suffixes and mapping synonyms to a canonical template name. Keeps the
getArtifactInfolookup table small while still covering every variant we observe underanalysis/daily/**.Stripped suffixes:
.analysis(e.g.political-landscape.analysis.md→political-landscape)-analysis,-assessment,-context,-deep-dive,-brief,-intelligencewhen the stripped stem has a curated templateSynonyms (non-exhaustive — extend as new stems appear):
coalition-analysis/coalition-intelligence/coalition-sentiment-analysis→coalition-dynamicsthreat-landscape/political-threat-landscape/coalition-threat-assessment→threat-analysisai-<x>/political-<x>→<x>when<x>has a templateactor-threat-profile→actor-threat-profiles