{
  "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\": \"C0004\", \"start_para\": 4, \"end_para\": 5, \"char_len\": 221, \"para_count\": 2, \"structure_counts\": {\"body\": 1, \"chapter_heading\": 1}}\n\nCANDIDATE SCENES:\n[{\"candidate_id\": \"C0004-SC01\", \"title_hint\": \"百花仙子 · 麻姑道：「今日這般寒…\", \"summary_hint\": \"麻姑道：「今日這般寒冷，滿天雪片飄揚，仙姑忽來下顧，真是意想不…\", \"type_hints\": [\"叙事\"], \"tone_hints\": [\"庄严\"], \"presentation_hints\": [\"叙事画面\"], \"importance_hint\": \"主线\", \"characters_hint\": [\"百花仙子\", \"麻姑\"], \"locations_hint\": [\"暖閣\"], \"text\": \"麻姑道：「今日這般寒冷，滿天雪片飄揚，仙姑忽來下顧，真是意想不到。如果消閑，趁此六出紛霏之際，我們雖不必學人間暖閣圍爐那些俗態，何妨清吟聯句，遣此長宵？現在家釀初熟，先請共飲數杯，好助詩興。」百花仙子道：「佳釀延齡，乃不易得的，一定遵命拜領。至於聯句，乃冷談生涯，有何趣味？不如以黑白雙丸，賭個勝負，倒還有些意思。莫要偷棋摸著，施出狡獪伎倆，我就不敢請教了。」未知後事如何，且看下回分解。\", \"text_preview\": \"麻姑道：「今日這般寒冷，滿天雪片飄揚，仙姑忽來下顧，真是意想不到。如果消閑，趁此六出紛霏之際，我們雖不必學人間暖閣圍爐那些俗態，何妨清吟聯句，遣此長宵？現在家…\", \"source_chunk_id\": \"C0004\", \"source_start_para\": 4, \"source_end_para\": 4, \"record_count\": 1, \"char_len\": 194, \"structure_counts\": {\"body\": 1}, \"continuation_hint\": true, \"key_beats_hint\": [\"麻姑道：「今日這般寒冷，滿天雪片飄揚，仙姑忽來下顧，真是意想不…\"], \"matched_entities\": [{\"entity_id\": \"E000001\", \"name\": \"百花仙子\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"百花仙子\", \"仙姑\"], \"score\": 7.8}, {\"entity_id\": \"E000019\", \"name\": \"麻姑\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"麻姑\"], \"score\": 5.4}, {\"entity_id\": \"E000028\", \"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\": 7.8, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000019\", \"entity_uid\": \"E000019\", \"name\": \"麻姑\", \"canonical_name\": \"麻姑\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"麻姑\"], \"match_score\": 5.4, \"ref_role\": \"character_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\": [\"chapter_heading\"]}, {\"candidate_id\": \"C0004-SC02\", \"title_hint\": \"场景\", \"summary_hint\": \"第三回 徐英公傳檄起義兵 駱主簿修書寄良友\", \"type_hints\": [\"叙事\"], \"tone_hints\": [\"中性\"], \"presentation_hints\": [\"叙事画面\"], \"importance_hint\": \"支线\", \"characters_hint\": [], \"locations_hint\": [], \"text\": \"第三回     徐英公傳檄起義兵　駱主簿修書寄良友\", \"text_preview\": \"第三回 徐英公傳檄起義兵 駱主簿修書寄良友\", \"source_chunk_id\": \"C0004\", \"source_start_para\": 5, \"source_end_para\": 5, \"record_count\": 1, \"char_len\": 25, \"structure_counts\": {\"chapter_heading\": 1}, \"continuation_hint\": false, \"key_beats_hint\": [\"第三回 徐英公傳檄起義兵 駱主簿修書寄良友\"], \"matched_entities\": [], \"entity_refs\": [], \"boundary_reasons_after\": []}]"
    }
  ]
}