{
  "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\": 151, \"end_para\": 190, \"char_len\": 2147, \"para_count\": 40, \"structure_counts\": {\"body\": 19, \"short_line\": 17, \"dialogue\": 4}}\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並入定、坐關之類。」悟空道：「這般也能長生麼？」祖師道：「也似?頭土坯\\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\": \"C0005\", \"source_start_para\": 151, \"source_end_para\": 166, \"record_count\": 16, \"char_len\": 978, \"structure_counts\": {\"body\": 9, \"short_line\": 6, \"dialogue\": 1}, \"continuation_hint\": true, \"key_beats_hint\": [\"「你這潑猴，十分無狀。師父傳你道法，如何不學，卻與師父頂嘴？這…\", \"祖師道：「教你『靜』字門中之道，如何？」悟空道：「靜字門中是甚…\", \"」悟空笑道：「師父果有些滴?。一行說我不會打市語。怎麼謂之『?…\"], \"matched_entities\": [{\"entity_id\": \"E000006\", \"name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"猴王\", \"悟空\", \"猢猻\", \"潑猴\"], \"score\": 8.8}, {\"entity_id\": \"E000041\", \"name\": \"菩提祖师\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"祖師\", \"老師父\"], \"score\": 4.4}, {\"entity_id\": \"E000037\", \"name\": \"斜月三星洞\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"三星仙洞\"], \"score\": 2.4}, {\"entity_id\": \"E000046\", \"name\": \"动字门\", \"type\": \"功法体系\", \"subtype\": \"\", \"matched_terms\": [\"動門之道\"], \"score\": 2.1}], \"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\": \"E000041\", \"entity_uid\": \"E000041\", \"name\": \"菩提祖师\", \"canonical_name\": \"菩提祖师\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"祖師\", \"老師父\"], \"match_score\": 4.4, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000037\", \"entity_uid\": \"E000037\", \"name\": \"斜月三星洞\", \"canonical_name\": \"斜月三星洞\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"三星仙洞\"], \"match_score\": 2.4, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000046\", \"entity_uid\": \"E000046\", \"name\": \"动字门\", \"canonical_name\": \"动字门\", \"type\": \"功法体系\", \"subtype\": \"\", \"matched_terms\": [\"動門之道\"], \"match_score\": 2.1, \"ref_role\": \"other_candidate\"}], \"boundary_reasons_after\": [\"structure_break\", \"hard_length_break\"]}, {\"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顯密圓通真妙訣，惜修性命無他說。\\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\": \"C0005\", \"source_start_para\": 167, \"source_end_para\": 186, \"record_count\": 20, \"char_len\": 1013, \"structure_counts\": {\"short_line\": 10, \"dialogue\": 1, \"body\": 9}, \"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_id\": \"E000047\", \"name\": \"三灾\", \"type\": \"概念法则\", \"subtype\": \"\", \"matched_terms\": [\"三災利害\"], \"score\": 2.1}, {\"entity_id\": \"E000050\", \"name\": \"长生之道\", \"type\": \"功法体系\", \"subtype\": \"\", \"matched_terms\": [\"長生之妙道\"], \"score\": 2.1}], \"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\"}, {\"entity_id\": \"E000047\", \"entity_uid\": \"E000047\", \"name\": \"三灾\", \"canonical_name\": \"三灾\", \"type\": \"概念法则\", \"subtype\": \"\", \"matched_terms\": [\"三災利害\"], \"match_score\": 2.1, \"ref_role\": \"other_candidate\"}, {\"entity_id\": \"E000050\", \"entity_uid\": \"E000050\", \"name\": \"长生之道\", \"canonical_name\": \"长生之道\", \"type\": \"功法体系\", \"subtype\": \"\", \"matched_terms\": [\"長生之妙道\"], \"match_score\": 2.1, \"ref_role\": \"other_candidate\"}], \"boundary_reasons_after\": [\"structure_break\", \"hard_length_break\"]}, {\"candidate_id\": \"C0005-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「我也頭圓頂天，足方履地，一般有九竅四肢，五臟六腑，何以比人不同？」祖\", \"text_preview\": \"『贔風』。自?門中吹入六腑，過丹田，穿九竅，骨肉消疏，其身自解。所以都 要躲過。」 悟空聞說，毛骨悚然，叩頭禮拜道：「萬望老爺垂憫，傳與躲避三災之法，到底 不…\", \"source_chunk_id\": \"C0005\", \"source_start_para\": 187, \"source_end_para\": 190, \"record_count\": 4, \"char_len\": 152, \"structure_counts\": {\"dialogue\": 2, \"short_line\": 1, \"body\": 1}, \"continuation_hint\": false, \"key_beats_hint\": [\"『贔風』。自?門中吹入六腑，過丹田，穿九竅，骨肉消疏，其身自解…\", \"「我也頭圓頂天，足方履地，一般有九竅四肢，五臟六腑，何以比人不…\", \"要躲過。」\"], \"matched_entities\": [{\"entity_id\": \"E000041\", \"name\": \"菩提祖师\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"祖師\", \"老爺\"], \"score\": 4.4}, {\"entity_id\": \"E000006\", \"name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"悟空\"], \"score\": 2.8}], \"entity_refs\": [{\"entity_id\": \"E000041\", \"entity_uid\": \"E000041\", \"name\": \"菩提祖师\", \"canonical_name\": \"菩提祖师\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"祖師\", \"老爺\"], \"match_score\": 4.4, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000006\", \"entity_uid\": \"E000006\", \"name\": \"石猴\", \"canonical_name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"悟空\"], \"match_score\": 2.8, \"ref_role\": \"character_candidate\"}], \"boundary_reasons_after\": []}]"
    }
  ]
}