{
  "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\": \"C0002\", \"start_para\": 35, \"end_para\": 76, \"char_len\": 2188, \"para_count\": 42, \"structure_counts\": {\"short_line\": 18, \"body\": 22, \"dialogue\": 2}}\n\nCANDIDATE SCENES:\n[{\"candidate_id\": \"C0002-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\\n橋頭，一個個搶盆奪碗，佔灶爭床，搬過來，移過去，正是猴性頑劣，再無一個\\n寧時，只搬得力倦神疲方止。石猿端坐上面道：「列位呵，『人而無信，不知其\\n可。』你們才說有本事進得來，出得去，不傷身體者，就拜他為王。我如今進來\\n\\n又出去，出去又進來，尋了這一個洞天與列位安眠穩睡，各享成家之福，何不拜\\n我為王？」眾猴聽說，即拱伏無違，一個個序齒排班，朝上禮拜，都稱「千歲大\\n王」。自此，石猿高登王位，將「石」字兒隱了，遂稱「美猴王」。有詩為證。\", \"text_preview\": \"有緣居此地，王遣入仙宮。 你看他瞑目蹲身，將身一縱，徑跳入瀑布泉中，忽睜睛抬頭觀看，那裏邊卻無水 無波，明明朗朗的一架橋梁。他住了身，定了神，仔細再看，原來是…\", \"source_chunk_id\": \"C0002\", \"source_start_para\": 35, \"source_end_para\": 51, \"record_count\": 17, \"char_len\": 956, \"structure_counts\": {\"short_line\": 6, \"body\": 10, \"dialogue\": 1}, \"continuation_hint\": true, \"key_beats_hint\": [\"「大造化！大造化！」眾猴把他圍住，問道：「裏面怎麼樣？水有多深…\", \"有緣居此地，王遣入仙宮\", \"你看他瞑目蹲身，將身一縱，徑跳入瀑布泉中，忽睜睛抬頭觀看，那裏…\"], \"matched_entities\": [{\"entity_id\": \"E000006\", \"name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"石猴\", \"猴王\"], \"score\": 7.8}, {\"entity_id\": \"E000007\", \"name\": \"花果山\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"花果山\"], \"score\": 5.7}, {\"entity_id\": \"E000025\", \"name\": \"石碣\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"石碣\"], \"score\": 5.2}, {\"entity_id\": \"E000031\", \"name\": \"瀑布泉\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"瀑布泉\"], \"score\": 5.1}, {\"entity_id\": \"E000032\", \"name\": \"石房\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"石房\"], \"score\": 5.1}, {\"entity_id\": \"E000037\", \"name\": \"斜月三星洞\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"洞天\"], \"score\": 2.4}, {\"entity_id\": \"E000023\", \"name\": \"水帘洞\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"水簾洞\"], \"score\": 2.4}], \"entity_refs\": [{\"entity_id\": \"E000006\", \"entity_uid\": \"E000006\", \"name\": \"石猴\", \"canonical_name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"石猴\", \"猴王\"], \"match_score\": 7.8, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000007\", \"entity_uid\": \"E000007\", \"name\": \"花果山\", \"canonical_name\": \"花果山\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"花果山\"], \"match_score\": 5.7, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000025\", \"entity_uid\": \"E000025\", \"name\": \"石碣\", \"canonical_name\": \"石碣\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"石碣\"], \"match_score\": 5.2, \"ref_role\": \"other_candidate\"}, {\"entity_id\": \"E000031\", \"entity_uid\": \"E000031\", \"name\": \"瀑布泉\", \"canonical_name\": \"瀑布泉\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"瀑布泉\"], \"match_score\": 5.1, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000032\", \"entity_uid\": \"E000032\", \"name\": \"石房\", \"canonical_name\": \"石房\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"石房\"], \"match_score\": 5.1, \"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\"}], \"boundary_reasons_after\": [\"structure_break\", \"hard_length_break\"]}, {\"candidate_id\": \"C0002-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\\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\": \"C0002\", \"source_start_para\": 52, \"source_end_para\": 68, \"record_count\": 17, \"char_len\": 959, \"structure_counts\": {\"short_line\": 7, \"body\": 9, \"dialogue\": 1}, \"continuation_hint\": false, \"key_beats_hint\": [\"「你知那三等人？」猿猴道：「乃是佛與仙與神聖三者，躲過輪迴，不…\", \"句話，頓教跳出輪迴網，致使齊天大聖成。眾猴鼓掌稱揚，都道：「善…\", \"詩曰\"], \"matched_entities\": [{\"entity_id\": \"E000007\", \"name\": \"花果山\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"花果山\"], \"score\": 5.7}, {\"entity_id\": \"E000026\", \"name\": \"通背猿猴\", \"type\": \"生物种族\", \"subtype\": \"\", \"matched_terms\": [\"通背猿猴\"], \"score\": 5.4}, {\"entity_id\": \"E000014\", \"name\": \"仙石\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"仙石\"], \"score\": 5.2}, {\"entity_id\": \"E000006\", \"name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"猴王\"], \"score\": 2.8}, {\"entity_id\": \"E000023\", \"name\": \"水帘洞\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"水簾洞\"], \"score\": 2.4}, {\"entity_id\": \"E000022\", \"name\": \"众猴\", \"type\": \"生物种族\", \"subtype\": \"\", \"matched_terms\": [\"群猴\"], \"score\": 2.3}, {\"entity_id\": \"E000029\", \"name\": \"神圣\", \"type\": \"职位称号\", \"subtype\": \"\", \"matched_terms\": [\"神聖\"], \"score\": 2.1}], \"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\": \"E000026\", \"entity_uid\": \"E000026\", \"name\": \"通背猿猴\", \"canonical_name\": \"通背猿猴\", \"type\": \"生物种族\", \"subtype\": \"\", \"matched_terms\": [\"通背猿猴\"], \"match_score\": 5.4, \"ref_role\": \"character_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\": 2.8, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000023\", \"entity_uid\": \"E000023\", \"name\": \"水帘洞\", \"canonical_name\": \"水帘洞\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"水簾洞\"], \"match_score\": 2.4, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000022\", \"entity_uid\": \"E000022\", \"name\": \"众猴\", \"canonical_name\": \"众猴\", \"type\": \"生物种族\", \"subtype\": \"\", \"matched_terms\": [\"群猴\"], \"match_score\": 2.3, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000029\", \"entity_uid\": \"E000029\", \"name\": \"神圣\", \"canonical_name\": \"神圣\", \"type\": \"职位称号\", \"subtype\": \"\", \"matched_terms\": [\"神聖\"], \"match_score\": 2.1, \"ref_role\": \"character_candidate\"}], \"boundary_reasons_after\": [\"hard_length_break\"]}, {\"candidate_id\": \"C0002-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料應必遇知音者，說破源流萬法通。\", \"text_preview\": \"柰滿盤盛，橘蔗柑橙盈案擺。熟煨山藥，爛煮黃精。搗碎茯苓並薏苡，石鍋微火 漫炊羹。人間縱有珍饈味，怎比山猴樂更寧。 群猴尊美猴王上坐，各依齒肩排於下邊，一個個輪…\", \"source_chunk_id\": \"C0002\", \"source_start_para\": 69, \"source_end_para\": 76, \"record_count\": 8, \"char_len\": 269, \"structure_counts\": {\"body\": 3, \"short_line\": 5}, \"continuation_hint\": false, \"key_beats_hint\": [\"次日，美猴王早起，教：「小的們，替我折些枯松，編作?子，取個竹…\", \"柰滿盤盛，橘蔗柑橙盈案擺。熟煨山藥，爛煮黃精。搗碎茯苓並薏苡，…\", \"群猴尊美猴王上坐，各依齒肩排於下邊，一個個輪流上前奉酒、奉花、…\"], \"matched_entities\": [{\"entity_id\": \"E000091\", \"name\": \"仙道\", \"type\": \"功法体系\", \"subtype\": \"功法\", \"matched_terms\": [\"仙道\"], \"score\": 5.0}, {\"entity_id\": \"E000006\", \"name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"猴王\"], \"score\": 2.8}, {\"entity_id\": \"E000010\", \"name\": \"南赡部洲\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"南贍部洲\"], \"score\": 2.4}, {\"entity_id\": \"E000022\", \"name\": \"众猴\", \"type\": \"生物种族\", \"subtype\": \"\", \"matched_terms\": [\"群猴\"], \"score\": 2.3}], \"entity_refs\": [{\"entity_id\": \"E000091\", \"entity_uid\": \"E000091\", \"name\": \"仙道\", \"canonical_name\": \"仙道\", \"type\": \"功法体系\", \"subtype\": \"功法\", \"matched_terms\": [\"仙道\"], \"match_score\": 5.0, \"ref_role\": \"other_candidate\"}, {\"entity_id\": \"E000006\", \"entity_uid\": \"E000006\", \"name\": \"石猴\", \"canonical_name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"猴王\"], \"match_score\": 2.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\": \"E000022\", \"entity_uid\": \"E000022\", \"name\": \"众猴\", \"canonical_name\": \"众猴\", \"type\": \"生物种族\", \"subtype\": \"\", \"matched_terms\": [\"群猴\"], \"match_score\": 2.3, \"ref_role\": \"character_candidate\"}], \"boundary_reasons_after\": []}]"
    }
  ]
}