{
  "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\": \"C0001\", \"start_para\": 1, \"end_para\": 35, \"char_len\": 2125, \"para_count\": 35, \"structure_counts\": {\"chapter_heading\": 1, \"short_line\": 14, \"body\": 20}}\n\nCANDIDATE SCENES:\n[{\"candidate_id\": \"C0001-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火方隅高積上，東海之處聳崇巔。丹崖怪石，削壁奇峰。丹崖上，彩鳳雙鳴﹔削\", \"text_preview\": \"第一回 靈根育孕源流出 心性修持大道生 詩曰： 混沌未分天地亂，茫茫渺渺無人見。 自從盤古破鴻濛，開闢從茲清濁辨。 覆載群生仰至仁，發明萬物皆成善。 欲知造化…\", \"source_chunk_id\": \"C0001\", \"source_start_para\": 1, \"source_end_para\": 15, \"record_count\": 15, \"char_len\": 1045, \"structure_counts\": {\"chapter_heading\": 1, \"short_line\": 5, \"body\": 9}, \"continuation_hint\": false, \"key_beats_hint\": [\"詩曰\", \"混沌未分天地亂，茫茫渺渺無人見\", \"自從盤古破鴻濛，開闢從茲清濁辨\"], \"matched_entities\": [{\"entity_id\": \"E000007\", \"name\": \"花果山\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"花果山\"], \"score\": 5.7}, {\"entity_id\": \"E000010\", \"name\": \"南赡部洲\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"南贍部洲\"], \"score\": 2.4}, {\"entity_id\": \"E000013\", \"name\": \"傲来国\", \"type\": \"地点\", \"subtype\": \"城镇/疆域\", \"matched_terms\": [\"傲來國\"], \"score\": 2.3}, {\"entity_id\": \"E000009\", \"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\": \"E000010\", \"entity_uid\": \"E000010\", \"name\": \"南赡部洲\", \"canonical_name\": \"南赡部洲\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"南贍部洲\"], \"match_score\": 2.4, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000013\", \"entity_uid\": \"E000013\", \"name\": \"傲来国\", \"canonical_name\": \"傲来国\", \"type\": \"地点\", \"subtype\": \"城镇/疆域\", \"matched_terms\": [\"傲來國\"], \"match_score\": 2.3, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000009\", \"entity_uid\": \"E000009\", \"name\": \"西牛贺洲\", \"canonical_name\": \"西牛贺洲\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"西牛賀洲\"], \"match_score\": 2.2, \"ref_role\": \"location_candidate\"}], \"boundary_reasons_after\": [\"hard_length_break\"]}, {\"candidate_id\": \"C0001-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眾猴拍手稱揚道：「好水，好水！原來此處遠通山腳之下，直接大海之波。」又\\n道：「那一個有本事的，鑽進去尋個源頭出來，不傷身體者，我等即拜他為王。」\\n連呼了三聲，忽見叢雜中跳出一個石猴，應聲高叫道：「我進去，我進去。」好\", \"text_preview\": \"壁前，麒麟獨臥。峰頭時聽錦雞鳴，石窟每觀龍出入。林中有壽鹿仙狐，樹上有 靈禽玄鶴。瑤草奇花不謝，青松翠柏長春。仙桃常結果，修竹每留雲。一條澗壑 籐蘿密，四面原…\", \"source_chunk_id\": \"C0001\", \"source_start_para\": 16, \"source_end_para\": 32, \"record_count\": 17, \"char_len\": 1042, \"structure_counts\": {\"body\": 11, \"short_line\": 6}, \"continuation_hint\": false, \"key_beats_hint\": [\"一朝天氣炎熱，與群猴避暑，都在松陰之下頑耍。你看他一個個： 跳…\", \"一群猴子耍了一會，卻去那山澗中洗澡。見那股澗水奔流，真個似滾瓜…\", \"壁前，麒麟獨臥。峰頭時聽錦雞鳴，石窟每觀龍出入。林中有壽鹿仙狐…\"], \"matched_entities\": [{\"entity_id\": \"E000003\", \"name\": \"玉皇大天尊\", \"type\": \"职位称号\", \"subtype\": \"天尊\", \"matched_terms\": [\"玉皇大天尊\", \"玉帝\", \"玉皇\", \"天尊\", \"大天尊\"], \"score\": 13.3}, {\"entity_id\": \"E000006\", \"name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"石猴\"], \"score\": 5.8}, {\"entity_id\": \"E000014\", \"name\": \"仙石\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"仙石\"], \"score\": 5.2}, {\"entity_id\": \"E000004\", \"name\": \"千里眼\", \"type\": \"职位称号\", \"subtype\": \"\", \"matched_terms\": [\"千里眼\"], \"score\": 5.1}, {\"entity_id\": \"E000086\", \"name\": \"千里眼\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"千里眼\"], \"score\": 5.1}, {\"entity_id\": \"E000015\", \"name\": \"石卵\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"石卵\"], \"score\": 5.1}, {\"entity_id\": \"E000012\", \"name\": \"灵霄宝殿\", \"type\": \"地点\", \"subtype\": \"洞府/殿阁\", \"matched_terms\": [\"金闕雲宮靈霄寶殿\"], \"score\": 2.4}, {\"entity_id\": \"E000022\", \"name\": \"众猴\", \"type\": \"生物种族\", \"subtype\": \"\", \"matched_terms\": [\"群猴\"], \"score\": 2.3}, {\"entity_id\": \"E000089\", \"name\": \"南天门\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"天門\"], \"score\": 2.2}], \"entity_refs\": [{\"entity_id\": \"E000003\", \"entity_uid\": \"E000003\", \"name\": \"玉皇大天尊\", \"canonical_name\": \"玉皇大天尊\", \"type\": \"职位称号\", \"subtype\": \"天尊\", \"matched_terms\": [\"玉皇大天尊\", \"玉帝\", \"玉皇\", \"天尊\", \"大天尊\"], \"match_score\": 13.3, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000006\", \"entity_uid\": \"E000006\", \"name\": \"石猴\", \"canonical_name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"石猴\"], \"match_score\": 5.8, \"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\": \"E000004\", \"entity_uid\": \"E000004\", \"name\": \"千里眼\", \"canonical_name\": \"千里眼\", \"type\": \"职位称号\", \"subtype\": \"\", \"matched_terms\": [\"千里眼\"], \"match_score\": 5.1, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000086\", \"entity_uid\": \"E000086\", \"name\": \"千里眼\", \"canonical_name\": \"千里眼\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"千里眼\"], \"match_score\": 5.1, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000015\", \"entity_uid\": \"E000015\", \"name\": \"石卵\", \"canonical_name\": \"石卵\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"石卵\"], \"match_score\": 5.1, \"ref_role\": \"other_candidate\"}, {\"entity_id\": \"E000012\", \"entity_uid\": \"E000012\", \"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\": \"E000089\", \"entity_uid\": \"E000089\", \"name\": \"南天门\", \"canonical_name\": \"南天门\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"天門\"], \"match_score\": 2.2, \"ref_role\": \"location_candidate\"}], \"boundary_reasons_after\": [\"structure_break\", \"hard_length_break\"]}, {\"candidate_id\": \"C0001-SC03\", \"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\": \"C0001\", \"source_start_para\": 33, \"source_end_para\": 35, \"record_count\": 3, \"char_len\": 34, \"structure_counts\": {\"short_line\": 3}, \"continuation_hint\": false, \"key_beats_hint\": [\"猴！也是他\", \"今日芳名顯，時來大運通\", \"有緣居此地，王遣入仙宮\"], \"matched_entities\": [], \"entity_refs\": [], \"boundary_reasons_after\": []}]"
    }
  ]
}