All files / src/constants analysis-constants.ts

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25                                              11x  
// SPDX-FileCopyrightText: 2024-2026 Hack23 AB
// SPDX-License-Identifier: Apache-2.0
 
/**
 * @module Constants/AnalysisConstants
 * @description Shared constants for the analysis pipeline. Kept in a standalone
 * module (outside generators/ and utils/) so that both `analysis-builders.ts`
 * and `intelligence-analysis.ts` can import it without introducing circular
 * ESM dependencies.
 */
 
/**
 * Marker for fields that require AI-generated political intelligence analysis.
 *
 * Scripts construct the structural scaffolding from data (what/who/when,
 * counts, identifiers, Mermaid charts) and may also derive some neutral,
 * factual descriptions directly from parliamentary data.
 *
 * Any narrative or interpretive analysis text (for example: why, outlook,
 * impact assessments, stakeholder reasoning, or mistake/consequence
 * explanations) that is LEFT AS THIS MARKER is expected to be generated by
 * the AI agent (Opus 4.6) in the agentic workflow, not by code.
 */
export const AI_MARKER = '[AI_ANALYSIS_REQUIRED]';