Riksdagsmonitor Intelligence Platform - v0.7.20
    Preparing search index...

    A single watch point derived from document analysis. Replaces hardcoded watch-point templates.

    All string fields (title, description) contain plain text — they must be escaped via escapeHtml() at the call site before passing to generateWatchSection(), which renders pre-escaped HTML (it does not escape itself). The escaping call site is in generators.ts inside the deep-inspection path. This is consistent with the escaping contract for all other pipeline outputs (SWOT entries, mindmap items, dashboard labels) where renderers receive plain text and escape at interpolation time.

    interface AnalysisWatchPoint {
        title: string;
        description: string;
        urgency: "high" | "critical" | "medium" | "low";
        sourceDocIds: string[];
    }
    Index

    Properties

    title: string

    Plain-text watch point heading (must be escaped before passing to generateWatchSection)

    description: string

    Plain-text watch point body (must be escaped before passing to generateWatchSection)

    urgency: "high" | "critical" | "medium" | "low"

    Urgency level for display sorting

    sourceDocIds: string[]

    Document IDs that triggered this watch point