{
  "messages": [
    {
      "role": "system",
      "content": "You are a scene enrichment agent. The program has already split the chunk into candidate scenes. Do not invent or remove candidates unless the input is malformed. Keep candidate boundaries stable and only decide whether the first candidate continues the previous scene. Return JSON only."
    },
    {
      "role": "user",
      "content": "The program already produced candidate scenes for one chunk. For each candidate, return exactly one scene object under key scenes. Output STRICT JSON with key scenes (list). Scene schema: {candidate_id,title,summary,type,tone,importance,presentation,key_beats,characters,locations,continuation_of_prev}. Use the same candidate_id values from the input. type/tone/presentation are lists of short labels. Prefer the program-provided characters and locations unless the text clearly contradicts them. Only set continuation_of_prev=true when the first candidate clearly continues the previous chunk's scene. Keep title and summary short. Keep key_beats to 1-3 short phrases. Return a single JSON object and nothing else (no markdown, no code fences). If unsure, return {\"scenes\":[]}.\n\nCHUNK META:\n{\"chunk_id\": \"C0001\", \"start_para\": 1, \"end_para\": 4, \"char_len\": 51, \"para_count\": 4, \"structure_counts\": {\"chapter_heading\": 2, \"body\": 1, \"short_line\": 1}}\n\nCANDIDATE SCENES:\n[{\"candidate_id\": \"C0001-SC01\", \"title_hint\": \"张三 · 张三走进客栈，天色将暮。…\", \"summary_hint\": \"张三走进客栈，天色将暮。李四抬头看他，目光如刀\", \"type_hints\": [\"环境描写\"], \"tone_hints\": [\"中性\"], \"presentation_hints\": [\"氛围镜头\"], \"importance_hint\": \"主线\", \"characters_hint\": [\"张三\", \"李四\"], \"locations_hint\": [\"客栈\"], \"text\": \"第一章\\n\\n张三走进客栈，天色将暮。李四抬头看他，目光如刀。\", \"text_preview\": \"第一章 张三走进客栈，天色将暮。李四抬头看他，目光如刀\", \"source_chunk_id\": \"C0001\", \"source_start_para\": 1, \"source_end_para\": 2, \"record_count\": 2, \"char_len\": 29, \"structure_counts\": {\"chapter_heading\": 1, \"body\": 1}, \"continuation_hint\": false, \"key_beats_hint\": [\"张三走进客栈，天色将暮。李四抬头看他，目光如刀\"], \"matched_entities\": [{\"entity_id\": \"E000001\", \"name\": \"张三\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"张三\"], \"score\": 5.2}, {\"entity_id\": \"E000003\", \"name\": \"客栈\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"客栈\"], \"score\": 5.1}, {\"entity_id\": \"E000002\", \"name\": \"李四\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"李四\"], \"score\": 5.1}], \"entity_refs\": [{\"entity_id\": \"E000001\", \"entity_uid\": \"E000001\", \"name\": \"张三\", \"canonical_name\": \"张三\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"张三\"], \"match_score\": 5.2, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000003\", \"entity_uid\": \"E000003\", \"name\": \"客栈\", \"canonical_name\": \"客栈\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"客栈\"], \"match_score\": 5.1, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000002\", \"entity_uid\": \"E000002\", \"name\": \"李四\", \"canonical_name\": \"李四\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"李四\"], \"match_score\": 5.1, \"ref_role\": \"character_candidate\"}], \"boundary_reasons_after\": [\"chapter_heading\"]}, {\"candidate_id\": \"C0001-SC02\", \"title_hint\": \"张三 · 清晨，张三拾起铜令，心中…\", \"summary_hint\": \"清晨，张三拾起铜令，心中不安\", \"type_hints\": [\"叙事\"], \"tone_hints\": [\"中性\"], \"presentation_hints\": [\"叙事画面\"], \"importance_hint\": \"支线\", \"characters_hint\": [\"张三\"], \"locations_hint\": [], \"text\": \"第二章\\n\\n清晨，张三拾起铜令，心中不安。\", \"text_preview\": \"第二章 清晨，张三拾起铜令，心中不安\", \"source_chunk_id\": \"C0001\", \"source_start_para\": 3, \"source_end_para\": 4, \"record_count\": 2, \"char_len\": 20, \"structure_counts\": {\"chapter_heading\": 1, \"short_line\": 1}, \"continuation_hint\": false, \"key_beats_hint\": [\"清晨，张三拾起铜令，心中不安\"], \"matched_entities\": [{\"entity_id\": \"E000001\", \"name\": \"张三\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"张三\"], \"score\": 5.2}, {\"entity_id\": \"E000004\", \"name\": \"铜令\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"铜令\"], \"score\": 5.1}], \"entity_refs\": [{\"entity_id\": \"E000001\", \"entity_uid\": \"E000001\", \"name\": \"张三\", \"canonical_name\": \"张三\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"张三\"], \"match_score\": 5.2, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000004\", \"entity_uid\": \"E000004\", \"name\": \"铜令\", \"canonical_name\": \"铜令\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"铜令\"], \"match_score\": 5.1, \"ref_role\": \"other_candidate\"}], \"boundary_reasons_after\": []}]"
    }
  ]
}