Build the Reader Intelligence Guide markdown table for a single aggregated article. Iterates over all analysis artifacts that the aggregator emits as top-level sections (curated lenses + any remaining *.md artifacts) so the guide acts as a complete, navigable index โ not just the curated READER_GUIDE_ENTRIES lenses. Each row carries an icon, the localised section label and a reader-value description; the legacy "Source artifact" filename column is dropped.
Curated lenses use their bespoke READER_GUIDE_ENTRIES / entries[*] description; non-curated artifacts fall back to the generic localised defaultReaderValue so every artifact gets a meaningful row in all 14 languages.
Always closes with the "Audit appendix" pointer row, and inserts a single "Per-document intelligence" row when document-level analyses exist (regardless of how many documents/*-analysis.md files are present).
Filtering / de-duplication mirrors the aggregator's behaviour via selectReaderGuideArtifacts so every link in the guide resolves to a heading that actually exists in the rendered article.
Build the Reader Intelligence Guide markdown table for a single aggregated article. Iterates over all analysis artifacts that the aggregator emits as top-level sections (curated lenses + any remaining
*.mdartifacts) so the guide acts as a complete, navigable index โ not just the curated READER_GUIDE_ENTRIES lenses. Each row carries an icon, the localised section label and a reader-value description; the legacy "Source artifact" filename column is dropped.Curated lenses use their bespoke READER_GUIDE_ENTRIES /
entries[*]description; non-curated artifacts fall back to the generic localiseddefaultReaderValueso every artifact gets a meaningful row in all 14 languages.Always closes with the "Audit appendix" pointer row, and inserts a single "Per-document intelligence" row when document-level analyses exist (regardless of how many
documents/*-analysis.mdfiles are present).Filtering / de-duplication mirrors the aggregator's behaviour via selectReaderGuideArtifacts so every link in the guide resolves to a heading that actually exists in the rendered article.