Module: Intelligence Operations/Editorial Intelligence Framework

Editorial intelligence framework defining the five-pillar content strategy for automated news generation and evening analysis articles. This module provides standardized heading structures across all 14 supported languages, enabling consistent editorial organization for complex political intelligence reporting.

The 5 Editorial Pillars Framework:

Pillar 1 - Lead Story / Parliamentary Pulse: The primary news peg identifying the most significant parliamentary development of the day. Represents the journalist's assessment of news importance within the broader political context. May be a plenary vote, committee decision, government announcement, or cross-party agreement. Demands strongest analytical context explaining "why this matters now" to the reader.

Pillar 2 - Parliamentary Pulse (Secondary): Captures secondary parliamentary activities and legislative developments beyond the lead story. Includes committee meetings, document submissions, procedural motions, and other parliamentary events. Organized chronologically with emphasis on legislative progress and institutional activity. Provides context for ongoing legislative processes and parliamentary workload tracking.

Pillar 3 - Government Watch: Dedicated focus on executive branch activities: ministerial announcements, government policy documents, cabinet decisions, and regulatory actions. Tracks implementation of existing policies and signals for future initiatives. Enables readers to separately assess executive and legislative branches of government.

Pillar 4 - Opposition Dynamics: Cross-party political analysis examining consensus/conflict patterns, coalition signals, and opposition strategy. Tracks party positioning across multiple votes and documents, identifies emerging alliances or conflicts, and assesses political feasibility of government initiatives. Critical for understanding power dynamics beyond simple majority/opposition binary.

Pillar 5 - Looking Ahead: Forward-looking analysis of tomorrow's scheduled events and next week's political agenda. Includes calendar previews, anticipated votes, committee meetings, and known future developments. Enables proactive reader engagement and supports news planning for journalists. May include expert commentary on expected outcomes.

Multi-Language Implementation: Provides heading translations for all 14 supported languages enabling consistent article structure and reader familiarity across language boundaries. Translation maintains semantic meaning while adapting to language-specific idioms and journalistic conventions.

Content Organization Patterns:

  • Chronological ordering (for Parliamentary/Government sections)
  • Thematic clustering (for Opposition section)
  • Inverted importance (for Looking Ahead section)
  • Visual hierarchy (editorial headings guide reader attention)
  • Cross-reference links (connecting related developments across pillars)
Version:
  • 2.0.0
Author:
  • Hack23 AB - Intelligence Operations Team
License:
  • Apache-2.0
Source:
See:
  • ./generate-news-enhanced.js Article generation using pillars
  • ./article-template.js Template incorporating pillar structure
  • tests/news-evening-analysis.test.js Testing pillar integration
  • scripts/validate-evening-analysis.js Validation against pillar headings
  • docs/EDITORIAL_STRATEGY.md Editorial intelligence strategy
  • docs/CONTENT_CURATION.md Content curation framework
  • docs/JOURNALISTIC_STANDARDS.md Journalism standards and practices

Methods

(static) detectArticleLanguage(html) → {string}

Detect article language from HTML content

Parameters:
Name Type Description
html string

HTML content

Source:
Returns:
  • Language code (fallback to 'en')
Type
string

(static) getLocalizedHeading(lang, pillar) → {string}

Get localized heading for a pillar

Parameters:
Name Type Description
lang string

Language code

pillar string

Pillar name

Source:
Returns:
  • Localized heading
Type
string