MINDMAP.md
May 30, 2026 ยท View on GitHub
๐บ๏ธ Riksdagsmonitor โ System Mindmaps
๐ง Conceptual Maps for Democratic Intelligence Architecture
๐ฏ System Overview ยท Security ยท CI/CD ยท Data Integration ยท Compliance
๐ Document Owner: CEO | ๐ Version: 1.5 | ๐
Last Updated: 2026-05-06 (UTC)
๐ Review Cycle: Quarterly | โฐ Next Review: 2026-08-03
๐ข Owner: Hack23 AB (Org.nr 5595347807) | ๐ท๏ธ Classification: Public
๐ฏ Purpose
This document provides conceptual mindmaps for Riksdagsmonitor, offering intuitive visual representations of the system's organization, workflows, and architecture. These mindmaps complement the detailed technical documentation and serve as entry points for understanding the platform's structure.
๐ Architecture Documentation Map
| Document | Focus | Description |
|---|---|---|
| ๐๏ธ Architecture | ๐๏ธ C4 Models | System context, containers, components |
| ๐ Data Model | ๐ Data | Entity relationships and data dictionary |
| ๐ Flowchart | ๐ Processes | Business and data flow diagrams |
| ๐ State Diagram | ๐ States | System state transitions and lifecycles |
| ๐ง Mindmap | ๐ง Concepts | System conceptual relationships |
| ๐ผ SWOT | ๐ผ Strategy | Strategic analysis and positioning |
| ๐ก๏ธ Security Architecture | ๐ Security | Current security controls and design |
| ๐ Future Security | ๐ฎ Security | Planned security improvements |
| ๐ฏ Threat Model | ๐ฏ Threats | STRIDE/MITRE ATT&CK analysis |
| ๐ง Workflows | ๐ง DevOps | CI/CD automation and pipelines |
| ๐ก๏ธ CRA Assessment | โ๏ธ Compliance | EU Cyber Resilience Act conformity |
| ๐ Future Architecture | ๐ฎ Evolution | Architectural evolution roadmap |
| ๐ Future Data Model | ๐ฎ Data | Enhanced data architecture plans |
| ๐ Future Flowchart | ๐ฎ Processes | Improved process workflows |
| ๐ Future State Diagram | ๐ฎ States | Advanced state management |
| ๐ง Future Mindmap | ๐ฎ Concepts | Capability expansion plans |
| ๐ผ Future SWOT | ๐ฎ Strategy | Future strategic opportunities |
1. ๐๏ธ System Overview Mindmap
mindmap
root((๐ณ๏ธ Riksdagsmonitor))
๐ฏ Mission
Swedish Parliament Intelligence
Real-time Monitoring
Historical Analysis
Coalition Predictions
๐ Data Products
Intelligence Dashboard
Party Performance
Government Cabinet
Top 10 Rankings
๐ Security
ISO 27001 Aligned
STRIDE Threat Model
Defense-in-Depth
99.7% Risk Reduction
๐ Technology
Static HTML/CSS
GitHub Pages
CI/CD Automation
Global CDN
๐ ISMS Compliance
Security Architecture
Threat Model
Workflows Documentation
Future Roadmap
๐ฆ Platform v0.9.40
7,500+ Tests (237 files)
23 Agents ยท 94 Skills
14 Languages
8 MCP Servers
2. ๐ Security Architecture Mindmap
mindmap
root((๐ก๏ธ Security<br/>Architecture))
๐ Network Layer
TLS 1.3 Encryption
HTTPS-Only
GitHub CDN
DDoS Protection
๐ก๏ธ Application Layer
Static Files Only
No Server-Side Code
No User Input Processing
XSS/SQLi Immune
๐ Access Control
GitHub MFA Required
SSH Key Authentication
GPG Commit Signing
Branch Protection
๐ Data Integrity
Git Immutable History
Branch Protection Rules
Code Review Required
Audit Trail Complete
๐ Monitoring
Dependabot Alerts
CodeQL Scanning
Secret Scanning
GitHub Security Dashboard
๐จ Incident Response
Documented Procedures
Rollback Capability
17-Minute RTO
Audit Logs Available
3. ๐ CI/CD Workflows Mindmap
mindmap
root((๐ CI/CD<br/>Workflows))
โ
Quality Checks
HTML Validation
HTMLHint
Zero Errors
Link Checking
Linkinator v6
Internal + External
Summary Report
Artifacts
30-Day Retention
๐ Dependency Review
Vulnerability Scanning
Critical/High Block
Medium Warning
License Compliance
Apache 2.0 Required
SBOM Generation
PR Comments
Always Visible
Actionable
๐ค Copilot Setup
MCP Server Init
Filesystem
GitHub API
Git Operations
Agent Environment
Memory
Sequential Thinking
Playwright
Permissions
Least Privilege
Scoped Tokens
๐ Deployment
GitHub Pages
Automatic
CDN Distribution
HTTPS Enforced
TLS 1.3
Valid Certificate
Global Availability
Low Latency
High Uptime
4. ๐ Data Integration Mindmap
mindmap
root((๐ Data<br/>Integration))
๐๏ธ CIA Platform
Intelligence Dashboard
Party Performance
Government Cabinet
Politician Analysis
๐ธ๐ช Swedish Parliament
Votes Database
Documents Archive
Committee Work
MP Information
๐ณ๏ธ Election Authority
Results Data
Voter Turnout
Electoral Statistics
Historical Trends
๐ฐ Financial Authority
Budget Data
Spending Analysis
Ministry Finances
Cost Tracking
๐ World Bank
Country Indicators
Economic Data
Development Metrics
Comparative Analysis
๐ IMF
WEO (NGDP_RPCH, PCPIPCH, LUR, GGXWDG_NGDP, BCA_NGDPD)
Fiscal Monitor
IFS (monthly monetary/FX/BOP)
GFS_COFOG (committee-aligned spending)
SDMX 3.0 + Datamapper JSON
T+5 Projections (2031 horizon)
Pure-TS client (scripts/imf-client.ts, no MCP)
5. ๐ก๏ธ ISMS Compliance Mindmap
mindmap
root((๐ก๏ธ ISMS<br/>Compliance))
๐ ISO 27001:2022
7 Controls Implemented
Access Control
Cryptography
Network Security
Monitoring
Incident Response
Secure Development
Logging
Control Mapping
Security Architecture
Threat Model
Evidence Documentation
๐ฏ NIST CSF 2.0
6 Functions Aligned
Identify Assets
Protect Systems
Detect Threats
Respond to Incidents
Recover Operations
Govern Security
Implementation Evidence
Workflows
Architecture Docs
Security Controls
๐ CIS Controls v8.1
6 Controls Active
IG1: 3 Controls
Encryption
Account Inventory
Audit Logs
IG2: 3 Controls
RBAC
Security Alerting
Secure Development
Compliance Checklist
Regular Reviews
Evidence Collection
6. ๐ Future Evolution Mindmap
mindmap
root((๐ Future<br/>Evolution))
๐ Post-Quantum Crypto
2027 Assessment
2027 Hybrid Mode
2028 Full PQC
NIST Standards
๐ค AI-Augmented Security
Anomaly Detection
Threat Intelligence
Behavioral Analysis
Predictive Security
๐ก๏ธ Zero-Trust Architecture
Contributor Access
Infrastructure Verify
Network Isolation
Micro-Segmentation
๐ Advanced Monitoring
APM Integration
SIEM Deployment
Distributed Tracing
Real-Time Analytics
๐ Platform Evolution
CloudFlare Pages
Multi-CDN Strategy
AWS Migration Option
Enhanced WAF
7. ๐ฅ Stakeholder Interaction Mindmap
mindmap
root((๐ฅ Stakeholders))
๐ End Users
Global Audience
Multi-Language Support
Mobile + Desktop
Accessibility Focus
๐๏ธ Swedish Citizens
Election Monitoring
MP Performance
Coalition Tracking
Historical Data Access
๐ฐ Media & Journalists
Data Journalism
Fact-Checking
Investigation Support
Open Data Access
๐ Researchers
Academic Research
Political Science
Data Analysis
Historical Studies
๐จโ๐ป Developers
Open Source
API Integration
Documentation
Contributing
๐ Security Team
Hack23 AB
ISMS Oversight
Incident Response
Compliance Audits
8. ๐ Metrics & KPIs Mindmap
mindmap
root((๐ Metrics<br/>& KPIs))
๐ Security Metrics
Residual Risk: 5.52/10.0
Risk Reduction: 99.7%
Vulnerabilities: 0 Critical
MTTR: <17 Minutes
โ
Quality Metrics
HTML Validation: โ
Pass
Link Check: โ
Pass
Code Coverage: N/A Static
Accessibility: WCAG 2.1 AA
๐ Performance Metrics
FCP: <1 Second
TTI: <2 Seconds
CLS: <0.05
CDN Uptime: 99.9%
๐ CI/CD Metrics
Workflow Success: >95%
Deployment Frequency: Daily
Lead Time: <2 Minutes
Rollback Time: <17 Minutes
๐ Compliance Metrics
ISO 27001: 7 Controls
NIST CSF 2.0: 6 Functions
CIS Controls: 6 Active
Audit Readiness: โ
9. ๐ Threat Landscape Mindmap
mindmap
root((๐ Threat<br/>Landscape))
โ ๏ธ Current Threats
Low Risk: 8 Threats
Medium Risk: 3 Threats
High Risk: 0 Threats
Overall: LOW
๐ฏ STRIDE Analysis
Spoofing: 2 Threats
Tampering: 2 Threats
Repudiation: 1 Threat
Info Disclosure: 2 Threats
DoS: 2 Threats
Elevation: 2 Threats
๐ก๏ธ Mitigations
Preventive: 7 Controls
Detective: 4 Controls
Corrective: 3 Controls
Total: 14 Controls
๐ Future Threats
Quantum Computing
AI-Powered Attacks
Supply Chain Attacks
Nation-State APTs
10. ๐ Multi-Language Support Mindmap
mindmap
root((๐ Multi-Language<br/>Support))
๐ช๐บ European Languages
๐ฌ๐ง English Primary
๐ธ๐ช Swedish
๐ฉ๐ฐ Danish
๐ณ๐ด Norwegian
๏ฟฝ๏ฟฝ๐ฎ Finnish
๐ฉ๐ช German
๐ซ๐ท French
๐ช๐ธ Spanish
๐ณ๐ฑ Dutch
๐ Middle East & Asia
๐ธ๐ฆ Arabic
๐ฎ๐ฑ Hebrew
๐ฏ๐ต Japanese
๐ฐ๐ท Korean
๐จ๐ณ Chinese
๐ง Technical Implementation
Hreflang Tags
SEO Optimization
Sitemap.xml Entries
Language Switching
Content Localization
11. ๐ฌ Political Intelligence Methods Mindmap
mindmap
root((๐ฌ Political Intelligence<br/>Methods ยท 18))
๐ Core Analysis
AI-Driven Analysis Guide
Synthesis Methodology
Per-Artifact Methodologies
Per-Document Methodology
๐ฏ Political Domain
Political Classification Guide
Political Risk Methodology
Political SWOT Framework
Political Threat Framework
Political Style Guide
๐ Data Sources
IMF Indicator Mapping
World Bank Indicator Mapping
OSINT Tradecraft Standards
๐ Structural
Structural Metadata Methodology
Artifact Catalog
Strategic Extensions
Electoral Domain Methodology
๐ Quality
Analytical Supplementary
Reference Quality Thresholds
12. ๐ Analysis Templates Mindmap
mindmap
root((๐ Analysis<br/>Templates ยท 39))
๐ฏ Core Analysis
Intelligence Assessment
Executive Brief
Synthesis Summary
Analysis Index
Significance Scoring
โ ๏ธ Risk & Threat
Risk Assessment
Threat Analysis
Political STRIDE Assessment
Devils Advocate
Wildcards Black Swans
๐ Strategic
SWOT Analysis
Quantitative SWOT
PESTLE Analysis
Scenario Analysis
Implementation Feasibility
๐ณ๏ธ Electoral
Election 2026 Analysis
Election Cycle Analysis
Coalition Mathematics
Voter Segmentation
๐ญ Forward-Looking
Forward Indicators
Horizon PIR Roll-Forward
Cycle Trajectory
Month-Ahead / Week-Ahead
๐ Comparative
Comparative International
Historical Parallels
Media Framing Analysis
๐ฅ Stakeholder
Stakeholder Impact
Political Classification
Per-File Political Intel
๐๏ธ Parliamentary
Parliamentary Season
Session Baseline
Cross-Session Intelligence
โ
Quality
Methodology Reflection
Reference Analysis Quality
MCP Reliability Audit
Workflow Audit
๐ง Infrastructure
Cross-Reference Map
Cross-Run Diff
Data Download Manifest
13. ๐ญ Horizon Stratification Mindmap
mindmap
root((๐ญ Horizon<br/>Stratification))
โฑ๏ธ Short-Term
T+72h Breaking News
T+7d Week-Ahead Forecast
๐
Medium-Term
T+30d Month-Ahead Analysis
T+90d Quarter Outlook
๐ Long-Term
T+365d Annual Projection
T+1460d Election Cycle
Election Anchor Date
๐๏ธ Structure
23-Artifact Families A-D
Family A Core Synthesis (9)
Family B Structural Metadata (2)
Family C Strategic Extensions (5)
Family D Electoral Lenses (7)
๐ฆ Analysis Gate
Checks 1-9b Automated
AI-FIRST 2-Iteration Model
Pass 1 Create
Pass 2 Review and Improve
๐ Scenario Depth
Quarter: 4 Scenarios
Year: 4+5 Wildcards
Election: 12 Leaves + 5 Wildcards
๐ Using These Mindmaps
For New Team Members
- Start with System Overview to understand the platform
- Review Security Architecture to grasp defense-in-depth
- Study CI/CD Workflows to understand automation
- Explore Data Integration to see external dependencies
For Security Auditors
- Begin with ISMS Compliance mindmap
- Examine Security Architecture layers
- Review Threat Landscape analysis
- Check Metrics & KPIs for evidence
For Stakeholders
- Use Stakeholder Interaction to identify your role
- Review System Overview for capabilities
- Check Metrics & KPIs for performance
- Explore Future Evolution for roadmap
For Developers
- Study CI/CD Workflows for contribution process
- Review Security Architecture for constraints
- Check Data Integration for external APIs
- Explore Technical Implementation details
๐ Architecture Documentation Map
| Document | Focus | Description |
|---|---|---|
| ๐๏ธ Architecture | ๐๏ธ C4 Models | System context, containers, components |
| ๐ Data Model | ๐ Data | Entity relationships and data dictionary |
| ๐ Flowchart | ๐ Processes | Business and data flow diagrams |
| ๐ State Diagram | ๐ States | System state transitions and lifecycles |
| ๐ง Mindmap | ๐ง Concepts | System conceptual relationships |
| ๐ผ SWOT | ๐ผ Strategy | Strategic analysis and positioning |
| ๐ก๏ธ Security Architecture | ๐ Security | Current security controls and design |
| ๐ Future Security | ๐ฎ Security | Planned security improvements |
| ๐ฏ Threat Model | ๐ฏ Threats | STRIDE/MITRE ATT&CK analysis |
| ๐ง Workflows | ๐ง DevOps | CI/CD automation and pipelines |
| ๐ก๏ธ CRA Assessment | โ๏ธ Compliance | EU Cyber Resilience Act conformity |
| ๐ Future Architecture | ๐ฎ Evolution | Architectural evolution roadmap |
| ๐ Future Data Model | ๐ฎ Data | Enhanced data architecture plans |
| ๐ Future Flowchart | ๐ฎ Processes | Improved process workflows |
| ๐ Future State Diagram | ๐ฎ States | Advanced state management |
| ๐ง Future Mindmap | ๐ฎ Concepts | Capability expansion plans |
| ๐ผ Future SWOT | ๐ฎ Strategy | Future strategic opportunities |
Hack23 ISMS Policies
- ๐ก๏ธ Secure Development Policy โ Architecture documentation requirements
- ๐ท๏ธ Classification Framework โ CIA triad classification
๐ Document Control:
โ
Approved by: James Pether Sรถrling, CEO
๐ค Distribution: Public
๐ท๏ธ Classification:
๐
Effective Date: 2026-02-20
โฐ Next Review: 2026-05-20
๐ฏ Framework Compliance:
๐ IMF Economic-Data Branch (Current State)
Status: โ Implemented and in production. IMF is the primary economic-data source today; the mindmap below shows the IMF subtree as currently realised. World Bank is the residue-only branch (governance / environment / social). Hub:
analysis/imf/.
mindmap
root((Economic Data Sources โ Current))
IMF [PRIMARY ยท IMPLEMENTED 2026-04]
Client
scripts/imf-client.ts pure TypeScript
scripts/imf-context.ts high-level
scripts/imf-fetch.ts CLI
scripts/imf-codes.ts registry
Dataflows in production
WEO NGDP_RPCH PCPIPCH LUR GGXWDG_NGDP BCA_NGDPD
Fiscal Monitor cyclically-adjusted balance primary balance EDP debt
IFS monthly CPI policy rates reserves
BOP current account quarterly
DOTS bilateral trade monthly
GFS_COFOG 02 Defence 07 Health 09 Education 10 Social protection
PCPS commodity benchmarks
ER SEK FX daily
MFS_IR MFS_PR monetary survey
Cache and provenance
Vintage-tagged in analysis/daily economic-data.json
SHA-256 payload pin
economicProvenance block in every article
Tests
tests/imf-client.test.ts
tests/imf-codes.test.ts
tests/imf-context.test.ts
tests/imf-inventory.test.ts 13 assertions
tests/economic-context-multi-provider.test.ts
World Bank [RESIDUE ONLY governance environment social]
worldbank-mcp MCP server
WGI governance CC.EST RL.EST VA.EST GE.EST RQ.EST PV.EST
Environment CO2 renewables forest water
Social residue literacy participation gender ratios
Defence depth MS.MIL historicals
SCB [SWEDISH GROUND TRUTH]
scb-mcp MCP server PxWeb v2
AKU monthly labour
KPI monthly inflation
Regional municipal
Budget execution
๐๏ธ Statskontoret Integration Branch (Current State)
mindmap
root((Statskontoret Integration))
Purpose
Swedish agency structure
Government-body headcount
Central-government budget execution
Sources
Myndighetsforteckning
Annual
XLSX
Headcount by department
Arsutfall
Annual
XLSX
CSV ZIP
Manadsutfall
Monthly
XLSX
CSV ZIP
Budget time series
Long-run state budget context
Code
statskontoret-client.ts
Discovery
XLSX parser
CSV ZIP parser
Typed StatskontoretError
statskontoret-fetch.ts
list-sources
discover
headcount
Governance
Public classification
No MCP server
No credentials
www.statskontoret.se allowlist
analysis/statskontoret inventory
Tests
client tests
CLI parsing tests
inventory tests
๐ Hack23 Ecosystem
| ๐ Platforms | ๐ฆ Open-Source Projects | ๐ก๏ธ Governance & Standards |
|---|---|---|
|
๐ณ๏ธ Riksdagsmonitor โ Swedish Parliament intelligence ๐ช๐บ EU Parliament Monitor โ European coverage ๐ต๏ธ Citizen Intelligence Agency โ political-data engine ๐ Hack23 AB โ corporate site ๐ฐ Hack23 Blog โ engineering & policy ๐ผ Hack23 on LinkedIn |
๐ณ๏ธ Hack23/riksdagsmonitor ๐ต๏ธ Hack23/cia ๐ช๐บ Hack23/euparliamentmonitor ๐ Hack23/european-parliament-mcp โ Hack23/cia-compliance-manager ๐ฅ Hack23/black-trigram ๐ Hack23/homepage |
๐ก๏ธ Hack23 ISMS-PUBLIC โ public ISMS ๐ Information Security Policy ๐ค AI Policy ๐งช Secure Development Policy ๐ฏ Threat Modeling Policy โ ๏ธ Vulnerability Management ๐ท๏ธ Classification Framework |
๐ณ๏ธ Empower citizens ยท ๐ Strengthen democratic accountability ยท ๐ต๏ธ Illuminate the political process
ยฉ 2008โ2026 Hack23 AB (Org.nr 559534-7807) ยท Maintainer: James Pether Sรถrling, CISSP CISM