{
  "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\": \"C0006\", \"start_para\": 6, \"end_para\": 7, \"char_len\": 111, \"para_count\": 2, \"structure_counts\": {\"body\": 1, \"chapter_heading\": 1}}\n\nCANDIDATE SCENES:\n[{\"candidate_id\": \"C0006-SC01\", \"title_hint\": \"公主 · 武后因雪越下越大，不覺喜…\", \"summary_hint\": \"武后因雪越下越大，不覺喜道：「古人云：『雪兆豐年。』朕才登極，…\", \"type_hints\": [\"叙事\"], \"tone_hints\": [\"庄严\"], \"presentation_hints\": [\"叙事画面\"], \"importance_hint\": \"主线\", \"characters_hint\": [\"公主\", \"上官婉兒\", \"心月狐\"], \"locations_hint\": [], \"text\": \"武后因雪越下越大，不覺喜道：「古人云：『雪兆豐年。』朕才登極，就得如此佳兆，明歲自然五穀豐登，天下太平了。」公主同上官婉兒率領眾宮娥都山呼叩賀。未知後事如何，且看下回分解。\", \"text_preview\": \"武后因雪越下越大，不覺喜道：「古人云：『雪兆豐年。』朕才登極，就得如此佳兆，明歲自然五穀豐登，天下太平了。」公主同上官婉兒率領眾宮娥都山呼叩賀。未知後事如何，…\", \"source_chunk_id\": \"C0006\", \"source_start_para\": 6, \"source_end_para\": 6, \"record_count\": 1, \"char_len\": 86, \"structure_counts\": {\"body\": 1}, \"continuation_hint\": true, \"key_beats_hint\": [\"武后因雪越下越大，不覺喜道：「古人云：『雪兆豐年。』朕才登極，…\"], \"matched_entities\": [{\"entity_id\": \"E000030\", \"name\": \"公主\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"公主\"], \"score\": 5.3}, {\"entity_id\": \"E000031\", \"name\": \"上官婉兒\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"上官婉兒\"], \"score\": 5.2}, {\"entity_id\": \"E000022\", \"name\": \"心月狐\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"武后\"], \"score\": 2.6}], \"entity_refs\": [{\"entity_id\": \"E000030\", \"entity_uid\": \"E000030\", \"name\": \"公主\", \"canonical_name\": \"公主\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"公主\"], \"match_score\": 5.3, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000031\", \"entity_uid\": \"E000031\", \"name\": \"上官婉兒\", \"canonical_name\": \"上官婉兒\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"上官婉兒\"], \"match_score\": 5.2, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000022\", \"entity_uid\": \"E000022\", \"name\": \"心月狐\", \"canonical_name\": \"心月狐\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"武后\"], \"match_score\": 2.6, \"ref_role\": \"character_candidate\"}], \"boundary_reasons_after\": [\"chapter_heading\"]}, {\"candidate_id\": \"C0006-SC02\", \"title_hint\": \"场景\", \"summary_hint\": \"第四回 吟雪詩暖閣賭酒 揮醉筆上苑催花\", \"type_hints\": [\"叙事\"], \"tone_hints\": [\"中性\"], \"presentation_hints\": [\"叙事画面\"], \"importance_hint\": \"支线\", \"characters_hint\": [], \"locations_hint\": [\"上苑\", \"暖閣\"], \"text\": \"第四回     吟雪詩暖閣賭酒　揮醉筆上苑催花\", \"text_preview\": \"第四回 吟雪詩暖閣賭酒 揮醉筆上苑催花\", \"source_chunk_id\": \"C0006\", \"source_start_para\": 7, \"source_end_para\": 7, \"record_count\": 1, \"char_len\": 23, \"structure_counts\": {\"chapter_heading\": 1}, \"continuation_hint\": false, \"key_beats_hint\": [\"第四回 吟雪詩暖閣賭酒 揮醉筆上苑催花\"], \"matched_entities\": [{\"entity_id\": \"E000032\", \"name\": \"上苑\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"上苑\"], \"score\": 5.3}, {\"entity_id\": \"E000028\", \"name\": \"暖閣\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"暖閣\"], \"score\": 5.1}], \"entity_refs\": [{\"entity_id\": \"E000032\", \"entity_uid\": \"E000032\", \"name\": \"上苑\", \"canonical_name\": \"上苑\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"上苑\"], \"match_score\": 5.3, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000028\", \"entity_uid\": \"E000028\", \"name\": \"暖閣\", \"canonical_name\": \"暖閣\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"暖閣\"], \"match_score\": 5.1, \"ref_role\": \"location_candidate\"}], \"boundary_reasons_after\": []}]"
    }
  ]
}