📋 Issue Type
Feature / Quality Improvement
🎯 Objective
Improve the AI-driven analysis pipeline by enhancing workflow prompts, methodology guides, and analysis output templates to produce higher-quality political intelligence with better evidence-based reasoning, richer Mermaid diagrams, and more actionable insights.
📊 Current State
- AI Analysis Guide: v4.2 (103KB) — comprehensive but verbose, agents may not efficiently consume all instructions
- Analysis Templates: v4.1 — 8 template files covering synthesis, risk, SWOT, threat, classification, stakeholder, significance
- Workflow Prompts: 5 core news workflow
.md files averaging ~950 lines each (propositions: 948, motions: 933, committee-reports: 958, interpellations: 977, evening-analysis: 1369)
- Analysis Output: Daily folders (e.g.,
analysis/daily/2026-04-09/) produce 7-9 structured analysis files per article type
- Quality: Synthesis summaries are good (e.g., motions 2026-04-09 properly identifies 3-party opposition front) but inconsistent depth across different article types
- Confidence Levels: Often stuck at MEDIUM — analysis could provide more granular confidence scoring
🚀 Desired State
- Streamlined prompts: Reduce workflow
.md prompt verbosity by 20% while improving AI output quality — focus instructions on what matters most
- Enhanced methodology guides: Update
ai-driven-analysis-guide.md with lessons learned from 2+ months of production analysis (v4.2→v5.0)
- Better template outputs: Improve
analysis/templates/ files with richer structured sections for:
- Historical context comparison (link current events to past voting patterns)
- Coalition dynamics scoring (quantified government stability metrics)
- Election 2026 implications section (every analysis should connect to upcoming election)
- Improved per-file analysis: Enhance
per-file-political-intelligence.md to produce more differentiated per-document insights
- Better confidence calibration: Replace binary MEDIUM/HIGH with nuanced 5-level confidence scale with explicit evidence thresholds
🔧 Implementation Approach
Files to modify (NO overlap with other issues):
analysis/methodologies/ai-driven-analysis-guide.md — v4.2→v5.0 upgrade
analysis/methodologies/political-classification-guide.md — enhanced classification criteria
analysis/methodologies/political-risk-methodology.md — improved risk scoring
analysis/methodologies/political-style-guide.md — editorial consistency
analysis/methodologies/political-swot-framework.md — richer SWOT templates
analysis/methodologies/political-threat-framework.md — updated threat taxonomy
analysis/methodologies/README.md — updated documentation map
analysis/templates/*.md — all 8 template files (synthesis, risk, SWOT, etc.)
analysis/templates/README.md — updated template documentation
.github/workflows/news-propositions.md — optimized prompt
.github/workflows/news-motions.md — optimized prompt
.github/workflows/news-committee-reports.md — optimized prompt
.github/workflows/news-interpellations.md — optimized prompt
.github/workflows/news-evening-analysis.md — optimized prompt
.github/workflows/news-week-ahead.md — optimized prompt
.github/workflows/news-month-ahead.md — optimized prompt
.github/workflows/news-realtime-monitor.md — optimized prompt
.github/workflows/news-weekly-review.md — optimized prompt
.github/workflows/news-monthly-review.md — optimized prompt
Key improvements:
- Add "Election 2026 Lens" section to all analysis templates — every analysis should connect findings to upcoming election implications
- Add historical comparison tables to synthesis template — "How does this compare to similar events in 2022-2025?"
- Improve Mermaid diagram instructions in prompts — mandate specific diagram types per analysis (flowcharts for legislative process, timeline for policy evolution)
- Add 5-level confidence scale definitions: VERY LOW (speculation), LOW (circumstantial), MEDIUM (multiple sources), HIGH (official records), VERY HIGH (verified data + corroboration)
- Streamline workflow prompts: move shared instructions to methodology files (lazy-loaded), keep prompts focused on article-type-specific guidance
- After modifying
.md workflow files, recompile corresponding .lock.yml with gh aw compile
🤖 Recommended Agent
news-journalist — Best expertise in editorial standards, analysis quality, and political intelligence methodology
✅ Acceptance Criteria
📚 References
- Analysis Guide:
analysis/methodologies/ai-driven-analysis-guide.md
- Templates:
analysis/templates/
- Workflow Prompts:
.github/workflows/news-*.md
- ISMS: Hack23 ISMS-PUBLIC
- Architecture: ARCHITECTURE.md
🏷️ Labels
analysis-data, agentic-news, documentation
📋 Issue Type
Feature / Quality Improvement
🎯 Objective
Improve the AI-driven analysis pipeline by enhancing workflow prompts, methodology guides, and analysis output templates to produce higher-quality political intelligence with better evidence-based reasoning, richer Mermaid diagrams, and more actionable insights.
📊 Current State
.mdfiles averaging ~950 lines each (propositions: 948, motions: 933, committee-reports: 958, interpellations: 977, evening-analysis: 1369)analysis/daily/2026-04-09/) produce 7-9 structured analysis files per article type🚀 Desired State
.mdprompt verbosity by 20% while improving AI output quality — focus instructions on what matters mostai-driven-analysis-guide.mdwith lessons learned from 2+ months of production analysis (v4.2→v5.0)analysis/templates/files with richer structured sections for:per-file-political-intelligence.mdto produce more differentiated per-document insights🔧 Implementation Approach
Files to modify (NO overlap with other issues):
analysis/methodologies/ai-driven-analysis-guide.md— v4.2→v5.0 upgradeanalysis/methodologies/political-classification-guide.md— enhanced classification criteriaanalysis/methodologies/political-risk-methodology.md— improved risk scoringanalysis/methodologies/political-style-guide.md— editorial consistencyanalysis/methodologies/political-swot-framework.md— richer SWOT templatesanalysis/methodologies/political-threat-framework.md— updated threat taxonomyanalysis/methodologies/README.md— updated documentation mapanalysis/templates/*.md— all 8 template files (synthesis, risk, SWOT, etc.)analysis/templates/README.md— updated template documentation.github/workflows/news-propositions.md— optimized prompt.github/workflows/news-motions.md— optimized prompt.github/workflows/news-committee-reports.md— optimized prompt.github/workflows/news-interpellations.md— optimized prompt.github/workflows/news-evening-analysis.md— optimized prompt.github/workflows/news-week-ahead.md— optimized prompt.github/workflows/news-month-ahead.md— optimized prompt.github/workflows/news-realtime-monitor.md— optimized prompt.github/workflows/news-weekly-review.md— optimized prompt.github/workflows/news-monthly-review.md— optimized promptKey improvements:
.mdworkflow files, recompile corresponding.lock.ymlwithgh aw compile🤖 Recommended Agent
news-journalist — Best expertise in editorial standards, analysis quality, and political intelligence methodology
✅ Acceptance Criteria
.mdfiles recompiled to.lock.ymlnpx vitest run)📚 References
analysis/methodologies/ai-driven-analysis-guide.mdanalysis/templates/.github/workflows/news-*.md🏷️ Labels
analysis-data,agentic-news,documentation