EU Parliament Monitor — API Documentation - v1.0.6
    Preparing search index...

    Module Aggregator/AnalysisAggregator

    Read an analysis run directory, consult its manifest.json, and produce one canonical Markdown document that concatenates every artifact in the order declared by ARTIFACT_SECTIONS. The document is prefixed with a provenance block and suffixed with a tradecraft-references appendix plus an analysis-index appendix so a reader can trace every claim back to its source file on GitHub.

    Functions

    aggregateAnalysisRun
    renderAnalysisIndex → renderAnalysisIndex
    flattenManifestFiles → flattenManifestFiles
    guessDateFromRunDir → guessDateFromRunDir
    latestGateResult → latestGateResult
    resolveArticleTypeFromManifest → resolveArticleTypeFromManifest
    renderProvenanceBlock → renderProvenanceBlock
    renderReaderIntelligenceGuide → renderReaderIntelligenceGuide
    expandSectionArtifacts → expandSectionArtifacts
    discoverTradecraftFiles → discoverTradecraftFiles
    humanizeStem → humanizeStem
    renderTradecraftAppendix → renderTradecraftAppendix

    Interfaces

    AggregatedRun
    AggregateOptions
    TocSection → TocSection
    IncludedArtifact → IncludedArtifact

    Variables

    READER_GUIDE_SECTION_ID → READER_GUIDE_SECTION_ID
    READER_GUIDE_SECTION_IDS → READER_GUIDE_SECTION_IDS
    READER_GUIDE_SECTION_TITLE → READER_GUIDE_SECTION_TITLE