{
  "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\": 117, \"end_para\": 151, \"char_len\": 2114, \"para_count\": 35, \"structure_counts\": {\"body\": 23, \"short_line\": 6, \"dialogue\": 5, \"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\": \"說出原由，就教我出來開門。說：『外面有個修行的來了，可去接待接待。』想\\n必就是你了？」猴王笑道：「是我，是我。」童子道：「你跟我進來。」\\n\\n這猴王整衣端肅，隨童子徑入洞天深處觀看：一層層深閣瓊樓，一進進珠宮貝闕\\n，說不盡那靜室幽居。直至瑤臺之下，見那菩提祖師端坐在臺上，兩邊有三十個\\n\\n小仙侍立臺下。果然是：\\n\\n大覺金仙沒垢姿，西方妙相祖菩提。不生不滅三三行，全氣全神萬萬慈。空寂自\\n然隨變化，真如本性任為之。與天同壽莊嚴體，歷劫明心大法師。\\n\\n美猴王一見，倒身下拜，磕頭不計其數，口中只道：「師父，師父，我弟子志心\\n朝禮，志心朝禮。」祖師道：「你是那方人氏？且說個鄉貫、姓名明白，再拜。」\\n猴王道：「弟子乃東勝神洲傲來國花果山水簾洞人氏。」祖師喝令：「趕出去！\\n\\n他本是個撒詐搗虛之徒，那裏修甚麼道果！」猴王慌忙磕頭不住道：「弟子是老\\n實之言，決無虛詐。」祖師道：「你既老實，怎麼說東勝神洲？那去處到我這裏\\n隔兩重大海，一座南贍部洲，如何就得到此？」猴王叩頭道：「弟子飄洋過海，\\n\\n登界遊方，有十數個年頭，方才訪到此處。」\\n\\n祖師道：「既是逐漸行來的也罷。你姓甚麼？」猴王又道：「我無性。人若罵我\\n，我也不惱﹔若打我，我也不嗔。只是陪個禮兒就罷了。一生無性。」祖師道：\\n\\n「不是這個性。你父母原來姓甚麼？」猴王道：「我也無父母。」祖師道：「既\\n\\n無父母，想是樹上生的？」猴王道：「我雖不是樹上生，卻是石裏長的。我只記\\n得花果山上有一塊仙石，其年石破，我便生也。」祖師聞言暗喜，道：「這等說\\n，卻是個天地生成的。你起來走走我看。」猴王縱身跳起，拐呀拐的走了兩遍。\\n\\n祖師笑道：「你身軀雖是鄙陋，卻像個食松果的猢猻。我與你就身上取個姓氏，\\n意思教你姓『猢』。猢字去了個獸傍，乃是個古月。古者，老也﹔月者，陰也。\\n老陰不能化育，教你姓『猻』倒好。猻字去了獸傍，乃是個子系。子者，兒男也﹔\\n\\n系者。嬰細也，正合嬰兒之本論。教你姓『孫』罷。」猴王聽說，滿心歡喜，朝\\n上叩頭道：「好！好！好！今日方知姓也。萬望師父慈悲，既然有姓，再乞賜個\\n名字，卻好呼喚。」祖師道：「我門中有十二個字，分派起名，到你乃第十輩之\\n\\n小徒矣。」猴王道：「那十二個字？」祖師道：「乃廣、大、智、慧、真、如、\\n性、海、穎、悟、圓、覺十二字。排到你，正當『悟』字。與你起個法名叫做\", \"text_preview\": \"說出原由，就教我出來開門。說：『外面有個修行的來了，可去接待接待。』想 必就是你了？」猴王笑道：「是我，是我。」童子道：「你跟我進來。」 這猴王整衣端肅，隨童…\", \"source_chunk_id\": \"C0004\", \"source_start_para\": 117, \"source_end_para\": 129, \"record_count\": 13, \"char_len\": 972, \"structure_counts\": {\"body\": 11, \"short_line\": 1, \"dialogue\": 1}, \"continuation_hint\": true, \"key_beats_hint\": [\"美猴王一見，倒身下拜，磕頭不計其數，口中只道：「師父，師父，我…\", \"「不是這個性。你父母原來姓甚麼？」猴王道：「我也無父母。」祖師…\", \"說出原由，就教我出來開門。說：『外面有個修行的來了，可去接待接…\"], \"matched_entities\": [{\"entity_id\": \"E000007\", \"name\": \"花果山\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"花果山\"], \"score\": 5.7}, {\"entity_id\": \"E000014\", \"name\": \"仙石\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"仙石\"], \"score\": 5.2}, {\"entity_id\": \"E000006\", \"name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"猴王\", \"猢猻\"], \"score\": 4.8}, {\"entity_id\": \"E000010\", \"name\": \"南赡部洲\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"南贍部洲\"], \"score\": 2.4}, {\"entity_id\": \"E000037\", \"name\": \"斜月三星洞\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"洞天\"], \"score\": 2.4}, {\"entity_id\": \"E000023\", \"name\": \"水帘洞\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"水簾洞\"], \"score\": 2.4}, {\"entity_id\": \"E000041\", \"name\": \"菩提祖师\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"祖師\"], \"score\": 2.4}, {\"entity_id\": \"E000013\", \"name\": \"傲来国\", \"type\": \"地点\", \"subtype\": \"城镇/疆域\", \"matched_terms\": [\"傲來國\"], \"score\": 2.3}, {\"entity_id\": \"E000039\", \"name\": \"仙童\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"童子\"], \"score\": 2.2}], \"entity_refs\": [{\"entity_id\": \"E000007\", \"entity_uid\": \"E000007\", \"name\": \"花果山\", \"canonical_name\": \"花果山\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"花果山\"], \"match_score\": 5.7, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000014\", \"entity_uid\": \"E000014\", \"name\": \"仙石\", \"canonical_name\": \"仙石\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"仙石\"], \"match_score\": 5.2, \"ref_role\": \"other_candidate\"}, {\"entity_id\": \"E000006\", \"entity_uid\": \"E000006\", \"name\": \"石猴\", \"canonical_name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"猴王\", \"猢猻\"], \"match_score\": 4.8, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000010\", \"entity_uid\": \"E000010\", \"name\": \"南赡部洲\", \"canonical_name\": \"南赡部洲\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"南贍部洲\"], \"match_score\": 2.4, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000037\", \"entity_uid\": \"E000037\", \"name\": \"斜月三星洞\", \"canonical_name\": \"斜月三星洞\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"洞天\"], \"match_score\": 2.4, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000023\", \"entity_uid\": \"E000023\", \"name\": \"水帘洞\", \"canonical_name\": \"水帘洞\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"水簾洞\"], \"match_score\": 2.4, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000041\", \"entity_uid\": \"E000041\", \"name\": \"菩提祖师\", \"canonical_name\": \"菩提祖师\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"祖師\"], \"match_score\": 2.4, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000013\", \"entity_uid\": \"E000013\", \"name\": \"傲来国\", \"canonical_name\": \"傲来国\", \"type\": \"地点\", \"subtype\": \"城镇/疆域\", \"matched_terms\": [\"傲來國\"], \"match_score\": 2.3, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000039\", \"entity_uid\": \"E000039\", \"name\": \"仙童\", \"canonical_name\": \"仙童\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"童子\"], \"match_score\": 2.2, \"ref_role\": \"character_candidate\"}], \"boundary_reasons_after\": [\"structure_break\", \"hard_length_break\"]}, {\"candidate_id\": \"C0004-SC02\", \"title_hint\": \"石猴 · 『孫悟空』，好麼？」猴王…\", \"summary_hint\": \"『孫悟空』，好麼？」猴王笑道：「好！好！好！自今就叫做孫悟空也…；鴻濛初闢原無姓，打破頑空須悟空\", \"type_hints\": [\"叙事\"], \"tone_hints\": [\"庄严\", \"悬疑\"], \"presentation_hints\": [\"叙事画面\"], \"importance_hint\": \"支线\", \"characters_hint\": [\"石猴\"], \"locations_hint\": [], \"text\": \"『孫悟空』，好麼？」猴王笑道：「好！好！好！自今就叫做孫悟空也。」正是：\\n\\n鴻濛初闢原無姓，打破頑空須悟空。\\n\\n畢竟不知向後修些甚麼道果，且聽下回分解。\", \"text_preview\": \"『孫悟空』，好麼？」猴王笑道：「好！好！好！自今就叫做孫悟空也。」正是： 鴻濛初闢原無姓，打破頑空須悟空。 畢竟不知向後修些甚麼道果，且聽下回分解\", \"source_chunk_id\": \"C0004\", \"source_start_para\": 130, \"source_end_para\": 132, \"record_count\": 3, \"char_len\": 76, \"structure_counts\": {\"dialogue\": 1, \"short_line\": 1, \"body\": 1}, \"continuation_hint\": false, \"key_beats_hint\": [\"『孫悟空』，好麼？」猴王笑道：「好！好！好！自今就叫做孫悟空也…\", \"鴻濛初闢原無姓，打破頑空須悟空\", \"畢竟不知向後修些甚麼道果，且聽下回分解\"], \"matched_entities\": [{\"entity_id\": \"E000006\", \"name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"猴王\", \"悟空\"], \"score\": 4.8}], \"entity_refs\": [{\"entity_id\": \"E000006\", \"entity_uid\": \"E000006\", \"name\": \"石猴\", \"canonical_name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"猴王\", \"悟空\"], \"match_score\": 4.8, \"ref_role\": \"character_candidate\"}], \"boundary_reasons_after\": [\"chapter_heading\"]}, {\"candidate_id\": \"C0004-SC03\", \"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孫悟空在傍聞講，喜得他抓耳撓腮，眉花眼笑，忍不住手之舞之，足之蹈之。忽\\n被祖師看見，叫孫悟空道：「你在班中，怎麼顛狂躍舞，不聽我講？」悟空道：\\n\\n「弟子誠心聽講，聽到老師父妙音處，喜不自勝，故不覺作此踴躍之狀。望師父\\n\\n恕罪。」祖師道：「你既識妙音，我且問你，你到洞中多少時了？」悟空道：\\n\\n「弟子本來懵懂，不知多少時節。只記得灶下無火，常去山後打柴，見一山好桃\\n\\n樹，我在那裏吃了七次飽桃矣。」祖師道：「那山喚名爛桃山。你既吃七次，想\\n是七年了。你今要從我學些甚麼道？」悟空道：「但憑尊師教誨，只是有些道氣\\n\\n兒，弟子便就學了。」\\n\\n祖師道：「『道』字門中有三百六十傍門，傍門皆有正果。不知你學那一門哩？」\\n悟空道：「憑尊師意思，弟子傾心聽從。」祖師道：「我教你個『術』字門中之\\n道，如何？」悟空道：「術門之道怎麼說？」祖師道：「術字門中，乃是些請仙\\n\\n、扶鸞、問卜、揲蓍，能知趨吉避凶之理。」悟空道：「似這般可得長生麼？」\\n祖師道：「不能，不能。」悟空道：「不學，不學。」\\n\\n祖師又道：「教你『流』字門中之道，如何？」悟空又問：「流字門中是甚義理\\n？」祖師道：「流字門中，乃是儒家、釋家、道家、陰陽家、墨家、醫家，或看\\n經，或念佛，並朝真降聖之類。」悟空道：「似這般可得長生麼？」祖師道：\\n\\n「若要長生，也似壁裏安柱。」悟空道：「師父，我是個老實人，不曉得打市語\\n\\n。怎麼謂之『壁裏安柱』？」祖師道：「人家蓋房，欲圖堅固，將牆壁之間立一\\n頂柱，有日大廈將頹，他必朽矣。」悟空道：「據此說，也不長久。不學，不學\\n\\n。」\\n\\n祖師道：「教你『靜』字門中之道，如何？」悟空道：「靜字門中是甚正果？」\\n祖師道：「此是休糧守谷、清靜無為、參禪打坐、戒語持齋，或睡功，或立功，\\n並入定、坐關之類。」悟空道：「這般也能長生麼？」祖師道：「也似?頭土坯\", \"text_preview\": \"第二回 悟徹菩提真妙理 斷魔歸本合元神 話表美猴王得了姓名，怡然踴躍，對菩提前作禮啟謝。那祖師即命大眾引孫悟空 出二門外，教他灑掃應對、進退周旋之節。眾仙奉行…\", \"source_chunk_id\": \"C0004\", \"source_start_para\": 133, \"source_end_para\": 151, \"record_count\": 19, \"char_len\": 1062, \"structure_counts\": {\"chapter_heading\": 1, \"body\": 11, \"short_line\": 4, \"dialogue\": 3}, \"continuation_hint\": false, \"key_beats_hint\": [\"「弟子誠心聽講，聽到老師父妙音處，喜不自勝，故不覺作此踴躍之狀…\", \"「弟子本來懵懂，不知多少時節。只記得灶下無火，常去山後打柴，見…\", \"「若要長生，也似壁裏安柱。」悟空道：「師父，我是個老實人，不曉…\"], \"matched_entities\": [{\"entity_id\": \"E000006\", \"name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"猴王\", \"悟空\"], \"score\": 4.8}, {\"entity_id\": \"E000041\", \"name\": \"菩提祖师\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"祖師\", \"老師父\"], \"score\": 4.4}], \"entity_refs\": [{\"entity_id\": \"E000006\", \"entity_uid\": \"E000006\", \"name\": \"石猴\", \"canonical_name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"猴王\", \"悟空\"], \"match_score\": 4.8, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000041\", \"entity_uid\": \"E000041\", \"name\": \"菩提祖师\", \"canonical_name\": \"菩提祖师\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"祖師\", \"老師父\"], \"match_score\": 4.4, \"ref_role\": \"character_candidate\"}], \"boundary_reasons_after\": []}]"
    }
  ]
}