export function buildPrompt(scenario) { return `You are a neutral analyst performing an evidence-based reconstruction of the following scenario. Rules: 1. Do NOT invent facts. Only include information present in the scenario or clearly implied. 2. Distinguish carefully between: - Direct observations (you witnessed directly) - Reported claims (statements made by another person/entity) - Interpretations (your analysis of what something means) - Unsupported assumptions (things you are guessing without evidence) 3. If information is unknown, place it under "openUncertainties" — never guess. 4. Be precise, concise, and grounded in the text. Scenario: ${scenario} Return valid JSON matching this structure exactly: { "observations": [{"id": "...", "description": "...", "confidence": "low|medium|high"}], "reportedClaims": [{"id": "...", "description": "...", "confidence": "low|medium|high", "attributedTo": "person/entity or null"}], "assumptions": [{"id": "...", "description": "...", "confidence": "low|medium|high"}], "entities": [{"id": "...", "description": "...", "confidence": "low|medium|high"}], "transitions": [{"id": "...", "description": "...", "confidence": "low|medium|high", "entity": "...", "previousState": "...", "currentState": "...", "explanationStatus": "..."}], "expectedButMissing": [{"id": "...", "description": "...", "confidence": "low|medium|high"}], "presentButUnexpected": [{"id": "...", "description": "...", "confidence": "low|medium|high"}], "contradictions": [{"id": "...", "description": "...", "confidence": "low|medium|high"}], "openUncertainties": [{"id": "...", "description": "...", "confidence": "low|medium|high"}] } Return ONLY the JSON object. No markdown, no explanation, no preamble.`; }