{
  "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\": \"C0005\", \"start_para\": 60, \"end_para\": 70, \"char_len\": 1692, \"para_count\": 11, \"structure_counts\": {\"body\": 7, \"chapter_heading\": 1, \"short_line\": 3}}\n\nCANDIDATE SCENES:\n[{\"candidate_id\": \"C0005-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\": \"C0005\", \"source_start_para\": 60, \"source_end_para\": 61, \"record_count\": 2, \"char_len\": 769, \"structure_counts\": {\"body\": 2}, \"continuation_hint\": true, \"key_beats_hint\": [\"美猴王一见，倒身下拜，磕头不计其数，口中只道：“师父！师父！我…\", \"祖师道：“既是逐渐行来的也罢。你姓甚么？”猴王又道：“我无性。…\"], \"matched_entities\": [{\"entity_id\": \"E000006\", \"name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"猴王\", \"孙悟空\", \"悟空\", \"猢狲\"], \"score\": 8.8}, {\"entity_id\": \"E000009\", \"name\": \"水帘洞\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"水帘洞\"], \"score\": 5.8}, {\"entity_id\": \"E000004\", \"name\": \"花果山\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"花果山\"], \"score\": 5.8}, {\"entity_id\": \"E000005\", \"name\": \"仙石\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"仙石\"], \"score\": 5.2}, {\"entity_id\": \"E000020\", \"name\": \"南赡部洲\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"南赡部洲\"], \"score\": 5.2}, {\"entity_id\": \"E000029\", \"name\": \"傲来国\", \"type\": \"地点\", \"subtype\": \"城镇/疆域\", \"matched_terms\": [\"傲来国\"], \"score\": 5.1}, {\"entity_id\": \"E000017\", \"name\": \"须菩提祖师\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"祖师\", \"师父\"], \"score\": 4.5}], \"entity_refs\": [{\"entity_id\": \"E000006\", \"entity_uid\": \"E000006\", \"name\": \"石猴\", \"canonical_name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"猴王\", \"孙悟空\", \"悟空\", \"猢狲\"], \"match_score\": 8.8, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000009\", \"entity_uid\": \"E000009\", \"name\": \"水帘洞\", \"canonical_name\": \"水帘洞\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"水帘洞\"], \"match_score\": 5.8, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000004\", \"entity_uid\": \"E000004\", \"name\": \"花果山\", \"canonical_name\": \"花果山\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"花果山\"], \"match_score\": 5.8, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000005\", \"entity_uid\": \"E000005\", \"name\": \"仙石\", \"canonical_name\": \"仙石\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"仙石\"], \"match_score\": 5.2, \"ref_role\": \"other_candidate\"}, {\"entity_id\": \"E000020\", \"entity_uid\": \"E000020\", \"name\": \"南赡部洲\", \"canonical_name\": \"南赡部洲\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"南赡部洲\"], \"match_score\": 5.2, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000029\", \"entity_uid\": \"E000029\", \"name\": \"傲来国\", \"canonical_name\": \"傲来国\", \"type\": \"地点\", \"subtype\": \"城镇/疆域\", \"matched_terms\": [\"傲来国\"], \"match_score\": 5.1, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000017\", \"entity_uid\": \"E000017\", \"name\": \"须菩提祖师\", \"canonical_name\": \"须菩提祖师\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"祖师\", \"师父\"], \"match_score\": 4.5, \"ref_role\": \"character_candidate\"}], \"boundary_reasons_after\": [\"chapter_heading\"]}, {\"candidate_id\": \"C0005-SC02\", \"title_hint\": \"须菩提祖师 · 话表美猴王得了姓名…\", \"summary_hint\": \"话表美猴王得了姓名，怡然踊跃；对菩提前作礼启谢。那祖师即命大众…；天花乱坠，地涌金莲。妙演三乘教，精微万法全\", \"type_hints\": [\"对话\", \"内心独白\"], \"tone_hints\": [\"庄严\", \"悬疑\"], \"presentation_hints\": [\"对白驱动\", \"旁白+画面\"], \"importance_hint\": \"主线\", \"characters_hint\": [\"须菩提祖师\", \"石猴\"], \"locations_hint\": [\"烂桃山\"], \"text\": \"第二回　悟彻菩提真妙理　断魔归本合元神\\n\\n话表美猴王得了姓名，怡然踊跃；对菩提前作礼启谢。那祖师即命大众引悟空出二门外，教他洒扫应对，进退周旋之节。众仙奉行而出。悟空到门外，又拜了大众师兄，就于廊庑之间，安排寝处。次早，与众师兄学言语礼貌、讲经论道，习字焚香，每日如此。闲时即扫地锄园，养花修树，寻柴燃火，挑水运浆。凡所用之物，无一不备。在洞中不觉倏六七年，一日，祖师登坛高坐，唤集诸仙，开讲大道。真个是：\\n\\n天花乱坠，地涌金莲。妙演三乘教，精微万法全。\\n\\n慢摇麈尾喷珠玉，响振雷霆动九天。\\n\\n说一会道，讲一会禅，三家配合本如然。\\n\\n开明一字皈诚理，指引无生了性玄。\\n\\n孙悟空在旁闻听，喜得他抓耳挠腮，眉开眼笑。忍不住手之舞之，足之蹈之。忽被祖师看见，叫孙悟空道：“你在班中，怎么癫狂跃舞，不听我讲？”悟空道：“弟子诚心听讲，听到老师父妙音处，喜不自胜，故不觉作此踊跃之状。望师父恕罪！”祖师道：“你既识妙音，我且问你，你到洞中多少时了？”悟空道：“弟子本来懵懂，不知多少时节。只记得灶下无火，常去山后打柴，见一山好桃树，我在那里吃了七次饱桃矣。”祖师道：“那山唤名烂桃山。你既吃七次，想是七年了。你今要从我学些甚么道？”悟空道：“但凭尊祖教诲，只是有些道气儿，弟子便就学了。”\\n\\n祖师道：“‘道’字门中有三百六十傍门，傍门皆有正果。不知你学那一门哩？”悟空道：“凭尊师意思。弟子倾心听从。”祖师道：“我教你个‘术’字门中之道，如何？”悟空道：“术门之道怎么说？”祖师道：“术字门中，乃是些请仙扶鸾，问卜揲蓍，能知趋吉避凶之理。”悟空道：“似这般可得长生么？”祖师道：“不能！不能！”悟空道：“不学！不学！”\\n\\n祖师又道：“教你‘流’字门中之道，如何？”悟空又问：“流字门中，是甚义理？”祖师道：“流字门中，乃是儒家、释家、道家、阴阳家、墨家、医家，或看经，或念佛，并朝真降圣之类。”悟空道：“似这般可得长生么？”祖师道：“若要长生，也似‘壁里安柱’。”悟空道：“师父，我是个老实人，不晓得打市语。怎么谓之‘壁里安柱’？”祖师道：“人家盖房，欲图坚固，将墙壁之间，立一顶柱，有日大厦将颓，他必朽矣。”悟空道：“据此说，也不长久。不学！不学！”\", \"text_preview\": \"第二回 悟彻菩提真妙理 断魔归本合元神 话表美猴王得了姓名，怡然踊跃；对菩提前作礼启谢。那祖师即命大众引悟空出二门外，教他洒扫应对，进退周旋之节。众仙奉行而出…\", \"source_chunk_id\": \"C0005\", \"source_start_para\": 62, \"source_end_para\": 70, \"record_count\": 9, \"char_len\": 921, \"structure_counts\": {\"chapter_heading\": 1, \"body\": 5, \"short_line\": 3}, \"continuation_hint\": false, \"key_beats_hint\": [\"话表美猴王得了姓名，怡然踊跃；对菩提前作礼启谢。那祖师即命大众…\", \"天花乱坠，地涌金莲。妙演三乘教，精微万法全\", \"慢摇麈尾喷珠玉，响振雷霆动九天\"], \"matched_entities\": [{\"entity_id\": \"E000017\", \"name\": \"须菩提祖师\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"祖师\", \"师父\", \"老师父\", \"尊师\"], \"score\": 8.5}, {\"entity_id\": \"E000006\", \"name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"猴王\", \"孙悟空\", \"悟空\"], \"score\": 6.8}, {\"entity_id\": \"E000019\", \"name\": \"烂桃山\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"烂桃山\"], \"score\": 5.1}], \"entity_refs\": [{\"entity_id\": \"E000017\", \"entity_uid\": \"E000017\", \"name\": \"须菩提祖师\", \"canonical_name\": \"须菩提祖师\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"祖师\", \"师父\", \"老师父\", \"尊师\"], \"match_score\": 8.5, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000006\", \"entity_uid\": \"E000006\", \"name\": \"石猴\", \"canonical_name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"猴王\", \"孙悟空\", \"悟空\"], \"match_score\": 6.8, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000019\", \"entity_uid\": \"E000019\", \"name\": \"烂桃山\", \"canonical_name\": \"烂桃山\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"烂桃山\"], \"match_score\": 5.1, \"ref_role\": \"location_candidate\"}], \"boundary_reasons_after\": []}]"
    }
  ]
}