📋 Issue Type
Feature / Methodology Hardening
🎯 Objective
Automatically fetch actual voting records (Ja/Nej/Avstår/Frånvarande, by party + by MP) for every primary betänkande and proposition analyzed, so claims about "coalition consensus" / "cross-party defectors" / "expected SD position" are evidence-grounded rather than inferred.
📊 Current State (evidence from 2026-04-26 reflections)
committeeReports/methodology-reflection.md Improvement 1: "The current analysis does not include actual voting records (Ja/Nej/Frånvarande by party) for any of the 12 betänkanden. Voting record data would: confirm or refute 'coalition consensus' claims, identify cross-party defectors (especially C, L on JuU10 weapons ban), strengthen electoral impact analysis."
week-ahead/methodology-reflection.md Improvement 5: "For HD01JuU10 (vapenlag), cross-reference search_voteringar from past weapons-related votes … to estimate expected SD/C/M positions more precisely."
realtime-pulse/methodology-reflection.md Improvement 1 on SD coalition friction inferred without voting record corroboration.
🚀 Desired State
scripts/fetch-voting-records.ts calls riksdag-regering-search_voteringar for each dok_id in the day's manifest.
- Output
data/voteringar/{date}/{dok_id}.json with {party, ja, nej, avstår, frånvarande, defectors[]}.
- Auto-inject voting-record table into
intelligence-assessment.md and coalition-mathematics.md via template helper.
- Defectors highlighted automatically (any MP voting against own party whip).
🔧 Implementation Approach
- New script invoking the existing
riksdag-regering MCP tool.
- Update
analysis/methodologies/ai-driven-analysis-guide.md to require voting-record cross-reference for any KJ that asserts coalition behavior.
- Add Vitest contract test asserting that any
betänkande-citing KJ in intelligence-assessment.md has a corresponding voting-record reference (or explicit "vote pending" annotation).
🤖 Recommended Agent
data-pipeline-specialist — MCP/ETL ownership.
Co-owner: intelligence-operative for analytical interpretation contract.
✅ Acceptance Criteria
📚 References
analysis/daily/2026-04-26/{committeeReports,week-ahead,realtime-pulse}/methodology-reflection.md
- MCP:
riksdag-regering-search_voteringar
- Skill:
legislative-monitoring, riksdag-regering-mcp
- ISMS: Secure_Development_Policy.md
📋 Issue Type
Feature / Methodology Hardening
🎯 Objective
Automatically fetch actual voting records (Ja/Nej/Avstår/Frånvarande, by party + by MP) for every primary
betänkandeand proposition analyzed, so claims about "coalition consensus" / "cross-party defectors" / "expected SD position" are evidence-grounded rather than inferred.📊 Current State (evidence from 2026-04-26 reflections)
committeeReports/methodology-reflection.mdImprovement 1: "The current analysis does not include actual voting records (Ja/Nej/Frånvarande by party) for any of the 12 betänkanden. Voting record data would: confirm or refute 'coalition consensus' claims, identify cross-party defectors (especially C, L on JuU10 weapons ban), strengthen electoral impact analysis."week-ahead/methodology-reflection.mdImprovement 5: "For HD01JuU10 (vapenlag), cross-reference search_voteringar from past weapons-related votes … to estimate expected SD/C/M positions more precisely."realtime-pulse/methodology-reflection.mdImprovement 1 on SD coalition friction inferred without voting record corroboration.🚀 Desired State
scripts/fetch-voting-records.tscallsriksdag-regering-search_voteringarfor eachdok_idin the day's manifest.data/voteringar/{date}/{dok_id}.jsonwith {party, ja, nej, avstår, frånvarande, defectors[]}.intelligence-assessment.mdandcoalition-mathematics.mdvia template helper.🔧 Implementation Approach
riksdag-regeringMCP tool.analysis/methodologies/ai-driven-analysis-guide.mdto require voting-record cross-reference for any KJ that asserts coalition behavior.betänkande-citing KJ inintelligence-assessment.mdhas a corresponding voting-record reference (or explicit "vote pending" annotation).🤖 Recommended Agent
data-pipeline-specialist— MCP/ETL ownership.Co-owner:
intelligence-operativefor analytical interpretation contract.✅ Acceptance Criteria
scripts/fetch-voting-records.tsexists; takes--date YYYY-MM-DDand readsdata-download-manifest.mdintelligence-assessment.mdandcoalition-mathematics.mdanalysis/methodologies/ai-driven-analysis-guide.md📚 References
analysis/daily/2026-04-26/{committeeReports,week-ahead,realtime-pulse}/methodology-reflection.mdriksdag-regering-search_voteringarlegislative-monitoring,riksdag-regering-mcp