๐ 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. Setmanifest.dataModebased 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.dataModeselection 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
| Field | Value |
|---|---|
| Report ID | DAA-YYYY-MM-DD-runNN |
| Run date | YYYY-MM-DD |
| Article type | breaking / week-in-review / motions / etc. |
| Stage | A (pre-analysis) |
| Produced by | Stage A script / agent first call |
| Read by | Every 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
| Field | Value |
|---|---|
| EP MCP gateway URL | (from EP_MCP_GATEWAY_URL env var โ do not log actual URL; record โ /โ) |
| EP MCP server version | 1.3.12 (from MCP config) |
| IMF SDMX probe script | scripts/imf-mcp-probe.sh (was it called? โ
/โ) |
| Pre-fetch script | scripts/prefetch-ep-feeds.sh (outcome: โ
OK / โ ๏ธ partial / โ failed) |
| Run trigger | workflow_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.
| Source | Tool / Endpoint | Called? | Outcome | Records / Size | Lag / Freshness | Impact on Analysis | Mitigation Applied |
|---|---|---|---|---|---|---|---|
| EP MCP โ Voting records | get_voting_records (dateFrom / dateTo) | โ /โ | empty / partial / full | N records | Last RCV: YYYY-MM-DD; lag: N weeks | Voting analysis full / degraded / unavailable | Adopted-texts proxy / none |
| EP MCP โ Latest votes (DOCEO) | get_latest_votes | โ /โ | empty / partial / full | N records | Last RCV: YYYY-MM-DD; lag: N weeks | As above | As above |
| EP MCP โ Adopted texts | get_adopted_texts | โ /โ | available / empty | N texts | Published YYYY-MM-DD | Coalition proxy available / unavailable | Used as voting proxy / none |
| EP MCP โ Procedures feed | get_procedures_feed | โ /โ | current / stale (1972โ1987) / empty | N items | Staleness label: STALENESS_WARNING? | Procedures data usable / stale proxy | Use adopted-texts / procedures endpoint |
| EP MCP โ Procedures list | get_procedures | โ /โ | available / empty | N items | N/A | Supplement to stale feed | Used as proxy for procedures-feed |
| EP MCP โ MEPs | get_current_meps / get_meps | โ /โ | available / empty | N MEPs | N/A | Seat-count data available / unavailable | None |
| EP MCP โ Plenary sessions | get_plenary_sessions | โ /โ | available / empty | N sessions | Latest: YYYY-MM-DD | Session data available / unavailable | None |
| EP MCP โ Committee docs | get_committee_documents_feed | โ /โ | available / empty | N docs | Latest: YYYY-MM-DD | Committee analysis available / limited | None |
| IMF SDMX 3.0 REST | imf-fetch-data / scripts/imf-mcp-probe.sh | โ /โ | live / F6 / timeout | N datasets | Vintage: WEO-YYYY-MM | Economic context full / fallback | Prior-run cache / KB-estimate |
| IMF prior-run cache | data/cache/imf/*.json | โ /โ | present / absent | N files | Cache date: YYYY-MM-DD | Economic context from cache / none | Uses cache fallback |
| World Bank MCP | worldbank-mcp/get-*-data | โ /โ | available / empty | N records | N/A | Non-economic cross-refs available / none | None |
4๏ธโฃ DataMode Decision
Read ยง3 before selecting dataMode. The selected value is written to
manifest.dataMode.
| dataMode value | When to use | Floor factor applied by validator |
|---|---|---|
full | All primary sources available: EP MCP (including voting records โค4 weeks old) + IMF API live or cached | 1.0 |
degraded-voting | EP MCP available; voting records have publication lag > 4 weeks or are empty | 0.85 |
degraded-imf | EP MCP available; IMF SDMX returned F6 / timeout; knowledge-base estimate required | 0.85 |
title-only | EP MCP available but most feeds empty; limited analysis possible | 0.75 |
minimal | EP MCP gateway unreachable; structural-only analysis | 0.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:
| Artifact | Template to use |
|---|---|
intelligence/voting-patterns.md | voting-patterns.md (full) OR intelligence/voting-patterns.degraded.md (degraded-voting) |
intelligence/economic-context.md | economic-context.md (full / cache) OR intelligence/economic-context.fallback.md (degraded-imf) |
intelligence/mcp-reliability-audit.md | mcp-reliability-audit.md (always full โ records availability facts) |
| All other artifacts | Use standard templates; note any specific source limitations inline |
5๏ธโฃ Procedures-Feed Staleness Note
Always populate this section. The
get_procedures_feedendpoint consistently returns historical data (1972โ1987 era) with a STALENESS_WARNING indataQualityWarnings. This is a known EP upstream pattern, not a run-specific defect.
| Field | Value |
|---|---|
get_procedures_feed outcome | Stale (1972โ1987 tail) / Current / Empty |
| STALENESS_WARNING present? | Yes / No |
| Mitigation | Use get_procedures (paginated list, current data) + get_adopted_texts as procedure-outcome proxy |
| Impact on analysis | Procedure stage data sourced from get_procedures list (reliable) rather than feed (stale) |
| Cross-reference | See intelligence/procedures-proxy.md for full staleness-mitigation protocol |
6๏ธโฃ IMF API Status
| Field | Value |
|---|---|
| IMF SDMX probe status | live / 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
| Field | Value |
|---|---|
| Latest RCV date found | YYYY-MM-DD OR "none in window" |
| Lag to run date | N weeks |
| Freshness threshold | 4 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
| Field | Value |
|---|---|
| Prior run ID | Previous run ID or "none" |
| Prior run dataMode | full / degraded-voting / degraded-imf / etc. |
| Prior run IMF cache available? | Yes / No |
| Carry-forward data | List any prior-run cache files used this run (cite path + vintage) |
9๏ธโฃ Quality Assessment
| Source | Quality | Rationale |
|---|---|---|
| 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
../methodologies/reference-quality-thresholds.jsonโdegradedFloorFactorper dataMode (read byscripts/validate-analysis-completeness.js)intelligence/voting-patterns.degraded.mdโ use whendegraded-votingintelligence/economic-context.fallback.mdโ use whendegraded-imfintelligence/procedures-proxy.mdโ use when procedures feed is stale../methodologies/osint-tradecraft-standards.mdยง3.1 โ degraded-source protocol.github/prompts/07-mcp-reference.md ยง11โ Audit-Recurring Items Triage Table
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.