๐Ÿ“Š Data Availability Assessment

May 27, 2026 ยท View on GitHub

๐Ÿ“Œ Template Instructions: Copy to analysis/daily/{date}/{article-type}-run{N}/data-availability-assessment.md. This is the FIRST artifact produced in Stage A. Fill every row of the data-source table with the actual tool-call outcome for this run. Set manifest.dataMode based on ยง4 DataMode Decision. Every Stage-B artifact MUST read this file before deciding which template variant to use.

๐ŸŽฏ Purpose: Standardised triage artifact that records which EP MCP endpoints, IMF API, and other data sources are available for this run. Drives the manifest.dataMode selection that determines whether Stage-B artifacts use full-data templates or degraded-mode variants. Prevents ad-hoc floor reductions and inferred-content disclaimers scattered across individual artifacts.


๐Ÿ“‹ Document Metadata

FieldValue
Report IDDAA-YYYY-MM-DD-runNN
Run dateYYYY-MM-DD
Article typebreaking / week-in-review / motions / etc.
StageA (pre-analysis)
Produced byStage A script / agent first call
Read byEvery Stage-B artifact template selection

1๏ธโƒฃ Data Availability Status Map

%%{init: {"theme":"dark","themeVariables":{"primaryColor":"#1565C0","primaryTextColor":"#ffffff","primaryBorderColor":"#0A3F7F","lineColor":"#90CAF9","secondaryColor":"#2E7D32","secondaryTextColor":"#ffffff","tertiaryColor":"#FF9800","tertiaryTextColor":"#000000","mainBkg":"#1565C0","secondBkg":"#2E7D32","tertiaryBkg":"#FF9800","noteBkgColor":"#FFC107","noteTextColor":"#000000","errorBkgColor":"#D32F2F","fontFamily":"Inter, Helvetica, Arial, sans-serif"}}}%%
flowchart LR
    START["Stage A<br/>Data Probe"] --> EP_MCP["EP MCP Endpoints"]
    START --> IMF["IMF SDMX 3.0"]
    START --> WB["World Bank MCP"]
    START --> DOCEO["DOCEO XML / Voting"]

    EP_MCP -->|"โœ… OK"| EP_OK["Full EP Data"]
    EP_MCP -->|"โš ๏ธ Partial"| EP_PART["Degraded EP"]
    EP_MCP -->|"โŒ Fail"| EP_FAIL["EP Unavailable"]

    IMF -->|"โœ… live"| IMF_OK["Live WEO"]
    IMF -->|"โš ๏ธ cache"| IMF_CACHE["Stale Cache"]
    IMF -->|"โŒ F6"| IMF_FAIL["KB-Estimate Only"]

    DOCEO -->|"โœ… < 4 weeks"| RCV_OK["RCV Full"]
    DOCEO -->|"โš ๏ธ lag > 4 weeks"| RCV_LAG["RCV Degraded"]
    DOCEO -->|"โŒ"| RCV_NONE["RCV Unavailable"]

    EP_OK --> FULL["dataMode: full"]
    IMF_OK --> FULL
    RCV_OK --> FULL

    EP_PART --> DEGRADE["dataMode: degraded-voting<br/>or degraded-imf"]
    IMF_CACHE --> DEGRADE
    RCV_LAG --> DEGRADE

    IMF_FAIL --> FALLBACK["dataMode: degraded-imf"]
    RCV_NONE --> FALLBACK
    EP_FAIL --> MINIMAL["dataMode: minimal"]

    style FULL fill:#2E7D32,color:#ffffff
    style DEGRADE fill:#FF9800,color:#000000
    style FALLBACK fill:#D32F2F,color:#ffffff
    style MINIMAL fill:#7B1FA2,color:#ffffff

2๏ธโƒฃ Run Configuration Context

FieldValue
EP MCP gateway URL(from EP_MCP_GATEWAY_URL env var โ€” do not log actual URL; record โœ…/โŒ)
EP MCP server version1.3.12 (from MCP config)
IMF SDMX probe scriptscripts/imf-mcp-probe.sh (was it called? โœ…/โŒ)
Pre-fetch scriptscripts/prefetch-ep-feeds.sh (outcome: โœ… OK / โš ๏ธ partial / โŒ failed)
Run triggerworkflow_dispatch / schedule / push

3๏ธโƒฃ Per-Source Triage Table

Required: one row per data source below. Record the actual tool-call outcome for this run, not an expected or default value.

SourceTool / EndpointCalled?OutcomeRecords / SizeLag / FreshnessImpact on AnalysisMitigation Applied
EP MCP โ€” Voting recordsget_voting_records (dateFrom / dateTo)โœ…/โŒempty / partial / fullN recordsLast RCV: YYYY-MM-DD; lag: N weeksVoting analysis full / degraded / unavailableAdopted-texts proxy / none
EP MCP โ€” Latest votes (DOCEO)get_latest_votesโœ…/โŒempty / partial / fullN recordsLast RCV: YYYY-MM-DD; lag: N weeksAs aboveAs above
EP MCP โ€” Adopted textsget_adopted_textsโœ…/โŒavailable / emptyN textsPublished YYYY-MM-DDCoalition proxy available / unavailableUsed as voting proxy / none
EP MCP โ€” Procedures feedget_procedures_feedโœ…/โŒcurrent / stale (1972โ€“1987) / emptyN itemsStaleness label: STALENESS_WARNING?Procedures data usable / stale proxyUse adopted-texts / procedures endpoint
EP MCP โ€” Procedures listget_proceduresโœ…/โŒavailable / emptyN itemsN/ASupplement to stale feedUsed as proxy for procedures-feed
EP MCP โ€” MEPsget_current_meps / get_mepsโœ…/โŒavailable / emptyN MEPsN/ASeat-count data available / unavailableNone
EP MCP โ€” Plenary sessionsget_plenary_sessionsโœ…/โŒavailable / emptyN sessionsLatest: YYYY-MM-DDSession data available / unavailableNone
EP MCP โ€” Committee docsget_committee_documents_feedโœ…/โŒavailable / emptyN docsLatest: YYYY-MM-DDCommittee analysis available / limitedNone
IMF SDMX 3.0 RESTimf-fetch-data / scripts/imf-mcp-probe.shโœ…/โŒlive / F6 / timeoutN datasetsVintage: WEO-YYYY-MMEconomic context full / fallbackPrior-run cache / KB-estimate
IMF prior-run cachedata/cache/imf/*.jsonโœ…/โŒpresent / absentN filesCache date: YYYY-MM-DDEconomic context from cache / noneUses cache fallback
World Bank MCPworldbank-mcp/get-*-dataโœ…/โŒavailable / emptyN recordsN/ANon-economic cross-refs available / noneNone

4๏ธโƒฃ DataMode Decision

Read ยง3 before selecting dataMode. The selected value is written to manifest.dataMode.

dataMode valueWhen to useFloor factor applied by validator
fullAll primary sources available: EP MCP (including voting records โ‰ค4 weeks old) + IMF API live or cached1.0
degraded-votingEP MCP available; voting records have publication lag > 4 weeks or are empty0.85
degraded-imfEP MCP available; IMF SDMX returned F6 / timeout; knowledge-base estimate required0.85
title-onlyEP MCP available but most feeds empty; limited analysis possible0.75
minimalEP MCP gateway unreachable; structural-only analysis0.65

Selected dataMode for this run: full / degraded-voting / degraded-imf / title-only / minimal

Rationale: โ‰ฅ30 words explaining why this dataMode was selected based on the triage table above.

Template variants to use in Stage B:

ArtifactTemplate to use
intelligence/voting-patterns.mdvoting-patterns.md (full) OR intelligence/voting-patterns.degraded.md (degraded-voting)
intelligence/economic-context.mdeconomic-context.md (full / cache) OR intelligence/economic-context.fallback.md (degraded-imf)
intelligence/mcp-reliability-audit.mdmcp-reliability-audit.md (always full โ€” records availability facts)
All other artifactsUse standard templates; note any specific source limitations inline

5๏ธโƒฃ Procedures-Feed Staleness Note

Always populate this section. The get_procedures_feed endpoint consistently returns historical data (1972โ€“1987 era) with a STALENESS_WARNING in dataQualityWarnings. This is a known EP upstream pattern, not a run-specific defect.

FieldValue
get_procedures_feed outcomeStale (1972โ€“1987 tail) / Current / Empty
STALENESS_WARNING present?Yes / No
MitigationUse get_procedures (paginated list, current data) + get_adopted_texts as procedure-outcome proxy
Impact on analysisProcedure stage data sourced from get_procedures list (reliable) rather than feed (stale)
Cross-referenceSee intelligence/procedures-proxy.md for full staleness-mitigation protocol

6๏ธโƒฃ IMF API Status

FieldValue
IMF SDMX probe statuslive / F6 / timeout / not-attempted
Probe script run?โœ… scripts/imf-mcp-probe.sh ran / โŒ not run (explain why)
Cache available?Yes โ€” data/cache/imf/[file].json (cache date YYYY-MM-DD) / No
Fallback template required?Yes โ†’ use intelligence/economic-context.fallback.md / No โ†’ use economic-context.md

7๏ธโƒฃ Voting Data Freshness Summary

FieldValue
Latest RCV date foundYYYY-MM-DD OR "none in window"
Lag to run dateN weeks
Freshness threshold4 weeks (per osint-tradecraft-standards.md ยง3.1)
Degraded-voting triggered?Yes (lag > 4 weeks or empty) / No
Degraded template required?Yes โ†’ use intelligence/voting-patterns.degraded.md / No โ†’ use voting-patterns.md

8๏ธโƒฃ Cross-Run Continuity

FieldValue
Prior run IDPrevious run ID or "none"
Prior run dataModefull / degraded-voting / degraded-imf / etc.
Prior run IMF cache available?Yes / No
Carry-forward dataList any prior-run cache files used this run (cite path + vintage)

9๏ธโƒฃ Quality Assessment

SourceQualityRationale
EP MCP endpoints๐ŸŸข/๐ŸŸก/๐Ÿ”ดState how many endpoints returned non-empty results
Voting records๐ŸŸข/๐ŸŸก/๐Ÿ”ดFresh (โ‰ค4 weeks) / lagged (4โ€“8 weeks) / unavailable
IMF data๐ŸŸข/๐ŸŸก/๐Ÿ”ดLive / stale cache / KB-estimate only
Procedures data๐ŸŸข/๐ŸŸก/๐Ÿ”ดCurrent (via get_procedures) / stale feed only
World Bank data๐ŸŸข/๐ŸŸก/๐Ÿ”ดAvailable / partial / unavailable

Overall run quality: ๐ŸŸข Full / ๐ŸŸก Degraded / ๐Ÿ”ด Minimal


๐Ÿ”Ÿ Manifest Update Required

After writing this artifact, add these fields to manifest.json:

{
  "dataMode": "<selected-dataMode>",
  "dataAvailabilityAssessment": "data-availability-assessment.md",
  "votingDataFreshness": {
    "latestRcvDate": "YYYY-MM-DD",
    "lagWeeks": 0,
    "degraded": false
  },
  "imfApiStatus": {
    "status": "live",
    "cacheAvailable": false,
    "fallbackRequired": false
  }
}

๐Ÿ”— Cross-References


Document Control: analysis/templates/data-availability-assessment.md ยท Template v1.0 ยท Stage: A ยท Required for every article-generating run ยท Read by every Stage-B artifact for template-variant selection.