{
  "messages": [
    {
      "role": "system",
      "content": "You are a screenwriting agent. The program already created a script skeleton and shot plan. Do not change scene_id or shot_id ordering. Keep the number of shots stable. Chronology is program-owned. Use it to keep flashback, dream, rumor, and parallel-line language consistent, but do not rewrite chronology fields. Adaptation is also program-owned. Use the adaptation brief to decide what to fully dramatize, what to compress, and what to turn into bridge narration. Refine language, dialogue, narration, and shot descriptions while preserving the program structure. Prefer the existing entity display names from the entity context. Do not invent unnecessary new speaker variants when the candidate already provides a stable character name. Return JSON only."
    },
    {
      "role": "user",
      "content": "Given the scene payload, chronology context, adaptation context, entity context, and the program-generated script candidate, refine it into a concise screenplay. Output STRICT JSON with keys: scene_id, shots (list), scene_notes, audio_notes, narrator_profile_id. Shot schema: {shot_id,description,camera,actions,dialogue,narration,on_screen_text,narrator_profile_id,narration_delivery_hint}. dialogue is a list of {speaker,speaker_entity_uid,delivery_hint,line}. speaker_entity_uid and narrator_profile_id are program-owned identity fields: preserve the candidate values when unsure, and do not fabricate random IDs. Keep the same shot count as the candidate unless the candidate is malformed. Keep the narrative presentation order, but make the script language consistent with chronology time_mode, anchor, ordering hints, and adaptation decision/presentation_mode. Prefer existing characters and locations. Return a single JSON object and nothing else (no markdown, no code fences). If unsure, return {\"scene_id\":\"\",\"shots\":[]}.\n\nSCENE:\n{\"candidate_id\": \"C0005-SC02\", \"title\": \"夜访得道\", \"summary\": \"悟空三更夜访祖师，获得长生妙诀口诀。\", \"type\": [\"对话\", \"传法\"], \"tone\": [\"庄严\", \"神秘\"], \"importance\": \"主线\", \"presentation\": [\"对白驱动\", \"直接画面\"], \"key_beats\": [\"悟空夜访祖师\", \"祖师传授长生口诀\", \"悟空记下口诀返回\"], \"characters\": [\"石猴\", \"菩提祖师\"], \"locations\": [\"斜月三星洞\"], \"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\"}], \"continuation_of_prev\": false, \"source_chunk_id\": \"C0005\", \"source_start_para\": 167, \"source_end_para\": 186, \"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\": \"來，舒開兩足，口中自吟道： 「難！難！難！道最玄，莫把金丹作等閑。不遇至人傳妙訣，空言口困舌頭乾！」 悟空應聲叫道：「師父，弟子在此跪候多時。」祖師聞得聲音是…\", \"candidate_meta\": {\"candidate_id\": \"C0005-SC02\", \"record_count\": 20, \"char_len\": 1013, \"structure_counts\": {\"short_line\": 10, \"dialogue\": 1, \"body\": 9}, \"boundary_reasons_after\": [\"structure_break\", \"hard_length_break\"], \"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\"}], \"heuristic_types\": [\"动作\"], \"heuristic_tones\": [\"庄严\", \"悬疑\"], \"heuristic_presentation\": [\"直接画面\"], \"heuristic_importance\": \"主线\"}, \"scene_id\": \"S0010\"}\n\nCHRONOLOGY:\n{\"scene_id\": \"S0010\", \"narrative_order\": 10, \"story_chronology_order\": 10, \"story_chronology_group\": \"CG0010\", \"time_mode\": \"mainline\", \"confidence\": 0.86, \"order_delta\": 0, \"temporal_anchor\": {\"label\": \"\", \"normalized_label\": \"unknown\", \"anchor_type\": \"unknown\", \"relative_direction\": \"unknown\", \"amount\": null, \"unit\": \"\", \"time_of_day\": \"\", \"explicit\": false, \"anchor_scene_id\": \"S0009\"}, \"constraints\": [{\"relation\": \"after\", \"target_scene_id\": \"S0009\", \"confidence\": 0.58, \"reason\": \"narrative_forward\"}], \"evidence\": []}\n\nADAPTATION:\n{\"scene_id\": \"S0010\", \"source_chunk_id\": \"C0005\", \"scene_summary\": \"悟空三更夜访祖师，获得长生妙诀口诀。\", \"chronology\": {\"scene_id\": \"S0010\", \"narrative_order\": 10, \"story_chronology_order\": 10, \"story_chronology_group\": \"CG0010\", \"time_mode\": \"mainline\", \"confidence\": 0.86, \"order_delta\": 0, \"temporal_anchor\": {\"label\": \"\", \"normalized_label\": \"unknown\", \"anchor_type\": \"unknown\", \"relative_direction\": \"unknown\", \"amount\": null, \"unit\": \"\", \"time_of_day\": \"\", \"explicit\": false, \"anchor_scene_id\": \"S0009\"}, \"constraints\": [{\"relation\": \"after\", \"target_scene_id\": \"S0009\", \"confidence\": 0.58, \"reason\": \"narrative_forward\"}], \"evidence\": []}, \"decision\": \"retain\", \"presentation_mode\": \"dialogue\", \"story_function\": [\"主线推进\", \"关键传授\", \"角色成长\"], \"adaptation_focus\": \"悟空与菩提祖师在深夜密室中的关键传法时刻，展现悟空的机敏与祖师的庄严神秘。\", \"must_keep\": [\"悟空三更夜访祖师\", \"祖师传授长生口诀\", \"悟空记下口诀返回\", \"“此间更无六耳”的对话\", \"口诀内容\"], \"may_compress\": [\"悟空返回前门及摇床铺的细节\", \"三年后对话的引入部分\"], \"visual_focus\": [\"深夜洞府光影\", \"祖师与悟空的面部特写\", \"口诀传授时的神秘光效或意象（如丹台明月、龟蛇盘结）\"], \"audio_focus\": [\"低沉庄严的对话\", \"环境寂静音\", \"口诀吟诵时的空灵回响或配乐\"], \"continuity_requirements\": [\"角色连续性：石猴/悟空、菩提祖师\", \"地点连续性：斜月三星洞\", \"时间连续性：紧接前序，深夜\"], \"script_objective\": \"通过庄严神秘的对话，戏剧化地呈现悟空获得长生之道的关键转折，奠定其后续修炼与冲突的基础。\", \"conflict\": \"悟空对长生之道的渴望与祖师设下考验（三更暗谜）之间的内在张力；获得力量后即将面临“三灾”的外部伏笔。\", \"turning_point\": \"悟空心领神会，记下口诀，标志着他正式踏入长生修仙之门，角色命运发生根本转变。\", \"reason\": \"main_conflict_or_dialogue_dense；dialogue_priority；场景为核心传法情节，对话密集且信息关键，需完整保留以推进主线并建立核心设定。\", \"candidate_meta\": {\"scene_id\": \"S0010\", \"decision_reasons\": [\"main_conflict_or_dialogue_dense\"], \"presentation_reasons\": [\"dialogue_priority\"], \"metrics\": {\"text_length\": 1143, \"quote_count\": 11, \"action_score\": 1, \"exposition_score\": 0, \"inner_score\": 0, \"transition_score\": 0, \"reveal_score\": 0, \"tension_score\": 0, \"environment_score\": 0, \"character_count\": 2, \"location_count\": 1, \"beat_count\": 3, \"continuation_of_prev\": false, \"time_mode\": \"mainline\", \"order_delta\": 0}, \"characters\": [\"石猴\", \"菩提祖师\"], \"locations\": [\"斜月三星洞\"], \"key_beats\": [\"悟空夜访祖师\", \"祖师传授长生口诀\", \"悟空记下口诀返回\"], \"entity_refs\": [{\"entity_uid\": \"E000006\", \"entity_id\": \"E000006\", \"canonical_name\": \"石猴\", \"name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"悟空\", \"猢猻\"], \"match_score\": 4.8, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"character_candidate\"}, {\"entity_uid\": \"E000041\", \"entity_id\": \"E000041\", \"canonical_name\": \"菩提祖师\", \"name\": \"菩提祖师\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"祖師\", \"老爺\"], \"match_score\": 4.4, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"character_candidate\"}, {\"entity_uid\": \"E000047\", \"entity_id\": \"E000047\", \"canonical_name\": \"三灾\", \"name\": \"三灾\", \"type\": \"概念法则\", \"subtype\": \"\", \"matched_terms\": [\"三災利害\"], \"match_score\": 2.1, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"other_candidate\"}, {\"entity_uid\": \"E000050\", \"entity_id\": \"E000050\", \"canonical_name\": \"长生之道\", \"name\": \"长生之道\", \"type\": \"功法体系\", \"subtype\": \"\", \"matched_terms\": [\"長生之妙道\"], \"match_score\": 2.1, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"other_candidate\"}]}, \"retained_group_id\": \"AG0007\", \"beat_id\": \"AB0007\", \"group_role\": \"standalone\", \"group_strategy\": \"single_scene\", \"hard_merge\": false, \"script_render_mode\": \"full_scene\", \"drop_from_script\": false, \"merge_lead_scene_id\": \"S0010\", \"merge_reason\": \"\", \"group_scene_count\": 1, \"group_context\": {\"group_id\": \"AG0007\", \"group_strategy\": \"single_scene\", \"hard_merge\": false, \"lead_scene_id\": \"S0010\", \"support_scene_ids\": [], \"merged_scene_count\": 0, \"group_summary\": \"悟空三更夜访祖师，获得长生妙诀口诀。\", \"script_objective\": \"通过庄严神秘的对话，戏剧化地呈现悟空获得长生之道的关键转折，奠定其后续修炼与冲突的基础。\", \"story_functions\": [\"主线推进\", \"关键传授\", \"角色成长\"], \"must_keep\": [\"悟空三更夜访祖师\", \"祖师传授长生口诀\", \"悟空记下口诀返回\", \"“此间更无六耳”的对话\", \"口诀内容\"], \"continuity_requirements\": [\"角色连续性：石猴/悟空、菩提祖师\", \"地点连续性：斜月三星洞\", \"时间连续性：紧接前序，深夜\"], \"merged_scene_summaries\": []}}\n\nENTITY CONTEXT:\n{\"registry_entities\": [{\"entity_uid\": \"E000006\", \"canonical_name\": \"石猴\", \"aliases\": [\"猴王\", \"孙悟空\", \"孙悟\", \"悟空\", \"猢猻\", \"潑猴\", \"水帘洞洞主\", \"老孙\", \"孙\", \"老孫\", \"妖猴\", \"弼马温\"], \"type\": \"人物\", \"subtype\": \"\", \"voice_card_id\": \"VO000006\"}, {\"entity_uid\": \"E000041\", \"canonical_name\": \"菩提祖师\", \"aliases\": [\"祖師\", \"师父\", \"老師父\", \"老爺\"], \"type\": \"人物\", \"subtype\": \"\", \"voice_card_id\": \"VO000041\"}, {\"entity_uid\": \"E000037\", \"canonical_name\": \"斜月三星洞\", \"aliases\": [\"洞府\", \"洞天\", \"三星洞\", \"三星仙洞\", \"水脏洞\"], \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"voice_card_id\": \"\"}], \"kg_entities\": [{\"entity_id\": \"E000006\", \"name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"aliases\": [\"猴王\", \"孙悟空\", \"孙悟\", \"悟空\", \"猢猻\", \"潑猴\", \"水帘洞洞主\", \"老孙\", \"孙\", \"老孫\", \"妖猴\", \"弼马温\"], \"attributes\": {}, \"descriptions\": [\"花果山水帘洞洞主\", \"学得手段\", \"花果山天生圣人\", \"有七十二般变化\", \"花果山水帘洞天生圣人\", \"修了仙道与天齐寿\", \"花果山水帘洞妖仙\", \"强销死籍\"], \"evidence\": [\"悟空道：「靜字門中是甚正果？」\", \"悟空道；悟空伸手；悟空闻说\", \"悟空闻说，心中大怒\", \"吾乃花果山天生聖人孫悟空\", \"悟空道：「老孫不會使刀，乞另賜一件。」\", \"我本是花果山水簾洞天生聖人孫悟空\", \"花果山水簾洞天產妖猴孫悟空\", \"猴王有分来天境，不堕人间点污泥。\"], \"mentions\": [{\"chunk_id\": \"C0004\", \"summary\": \"拜师菩提祖师\", \"evidence\": [\"猴王整衣端肃随童子入洞；美猴王倒身下拜；弟子飘洋过海登界游方；教你姓孙罢；起个法名叫做孙悟空\"], \"attributes\": {}}, {\"chunk_id\": \"C0004\", \"summary\": \"菩提祖师赐姓孙\", \"evidence\": [\"教你姓『孙』罢\"], \"attributes\": {}}, {\"chunk_id\": \"C0005\", \"summary\": \"询问静字门正果\", \"evidence\": [\"悟空道：「靜字門中是甚正果？」\"], \"attributes\": {}}, {\"chunk_id\": \"C0005\", \"summary\": \"询问动字门道法\", \"evidence\": [\"悟空道：「動門之道卻又怎麼？」\"], \"attributes\": {}}, {\"chunk_id\": \"C0006\", \"summary\": \"学地煞变化觔斗云\", \"evidence\": [\"悟空道；悟空伸手；悟空闻说\"], \"attributes\": {}}, {\"chunk_id\": \"C0007\", \"summary\": \"听闻妖魔欺虐大怒\", \"evidence\": [\"悟空闻说，心中大怒\"], \"attributes\": {}}, {\"chunk_id\": \"C0008\", \"summary\": \"自称花果山天生圣人\", \"evidence\": [\"吾乃花果山天生聖人孫悟空\"], \"attributes\": {}}, {\"chunk_id\": \"C0009\", \"summary\": \"索要兵器披掛\", \"evidence\": [\"悟空道：「老孫不會使刀，乞另賜一件。」\"], \"attributes\": {}}, {\"chunk_id\": \"C0010\", \"summary\": \"自称孙悟空\", \"evidence\": [\"我本是花果山水簾洞天生聖人孫悟空\"], \"attributes\": {}}, {\"chunk_id\": \"C0011\", \"summary\": \"被龙王和地府告状\", \"evidence\": [\"花果山水簾洞住妖仙孫悟空者\"], \"attributes\": {}}, {\"chunk_id\": \"C0012\", \"summary\": \"被太白金星领至灵霄殿\", \"evidence\": [\"太白金星领着美猴王，到于灵霄殿外\"], \"attributes\": {}}, {\"chunk_id\": \"C0012\", \"summary\": \"受封弼马温\", \"evidence\": [\"玉帝传旨道：就除他做个弼马温罢\"], \"attributes\": {}}], \"mention_count\": 16, \"observation_count\": 16, \"first_seen\": \"C0001\", \"last_seen\": \"C0012\"}, {\"entity_id\": \"E000041\", \"name\": \"菩提祖师\", \"type\": \"人物\", \"subtype\": \"\", \"aliases\": [\"祖師\", \"师父\", \"老師父\", \"老爺\"], \"attributes\": {}, \"descriptions\": [\"斜月三星洞祖师\", \"为猴王取名\", \"传授悟空道法\", \"传授法术\"], \"evidence\": [\"见那菩提祖师端坐在台上；祖師道：你是那方人氏；祖師喝令：赶出去；祖師道：我门中有十二个字\", \"祖師道：「教你『靜』字門中之道，如何？」\", \"祖师道；祖师说；祖师笑道；祖师怒喝道\"], \"mentions\": [{\"chunk_id\": \"C0004\", \"summary\": \"为石猴取名孙悟空\", \"evidence\": [\"祖師笑道：你身躯虽是鄙陋；教你姓孙罢；与你起个法名叫做孙悟空\"], \"attributes\": {}}, {\"chunk_id\": \"C0005\", \"summary\": \"传授静字门道法\", \"evidence\": [\"祖師道：「教你『靜』字門中之道，如何？」\"], \"attributes\": {}}, {\"chunk_id\": \"C0005\", \"summary\": \"传授动字门道法\", \"evidence\": [\"祖師道：「教你『動』字門中之道，如何？」\"], \"attributes\": {}}, {\"chunk_id\": \"C0006\", \"summary\": \"传授变化腾云法\", \"evidence\": [\"祖师道；祖师说；祖师笑道\"], \"attributes\": {}}], \"mention_count\": 4, \"observation_count\": 4, \"first_seen\": \"C0004\", \"last_seen\": \"C0006\"}]}\n\nSCRIPT CANDIDATE:\n{\"scene_id\": \"S0010\", \"scene_notes\": \"悟空三更夜访祖师，获得长生妙诀口诀。；重要性：主线；呈现：对白驱动 / 直接画面；改编策略：retain；呈现策略：dialogue；剧本目标：通过庄严神秘的对话，戏剧化地呈现悟空获得长生之道的关键转折，奠定其后续修炼与冲突的基础。\", \"audio_notes\": \"保留对白节奏；环境音先行；动作点补音效；低沉庄严的对话\", \"narrator_profile_id\": \"narrator_main_cn\", \"chronology\": {\"scene_id\": \"S0010\", \"narrative_order\": 10, \"story_chronology_order\": 10, \"story_chronology_group\": \"CG0010\", \"time_mode\": \"mainline\", \"confidence\": 0.86, \"order_delta\": 0, \"temporal_anchor\": {\"label\": \"\", \"normalized_label\": \"unknown\", \"anchor_type\": \"unknown\", \"relative_direction\": \"unknown\", \"amount\": null, \"unit\": \"\", \"time_of_day\": \"\", \"explicit\": false, \"anchor_scene_id\": \"S0009\"}, \"constraints\": [{\"relation\": \"after\", \"target_scene_id\": \"S0009\", \"confidence\": 0.58, \"reason\": \"narrative_forward\"}], \"evidence\": []}, \"adaptation\": {\"scene_id\": \"S0010\", \"decision\": \"retain\", \"presentation_mode\": \"dialogue\", \"story_function\": [\"主线推进\", \"关键传授\", \"角色成长\"], \"adaptation_focus\": \"悟空与菩提祖师在深夜密室中的关键传法时刻，展现悟空的机敏与祖师的庄严神秘。\", \"must_keep\": [\"悟空三更夜访祖师\", \"祖师传授长生口诀\", \"悟空记下口诀返回\", \"“此间更无六耳”的对话\", \"口诀内容\"], \"may_compress\": [\"悟空返回前门及摇床铺的细节\", \"三年后对话的引入部分\"], \"visual_focus\": [\"深夜洞府光影\", \"祖师与悟空的面部特写\", \"口诀传授时的神秘光效或意象（如丹台明月、龟蛇盘结）\"], \"audio_focus\": [\"低沉庄严的对话\", \"环境寂静音\", \"口诀吟诵时的空灵回响或配乐\"], \"continuity_requirements\": [\"角色连续性：石猴/悟空、菩提祖师\", \"地点连续性：斜月三星洞\", \"时间连续性：紧接前序，深夜\"], \"script_objective\": \"通过庄严神秘的对话，戏剧化地呈现悟空获得长生之道的关键转折，奠定其后续修炼与冲突的基础。\", \"conflict\": \"悟空对长生之道的渴望与祖师设下考验（三更暗谜）之间的内在张力；获得力量后即将面临“三灾”的外部伏笔。\", \"turning_point\": \"悟空心领神会，记下口诀，标志着他正式踏入长生修仙之门，角色命运发生根本转变。\", \"reason\": \"main_conflict_or_dialogue_dense；dialogue_priority；场景为核心传法情节，对话密集且信息关键，需完整保留以推进主线并建立核心设定。\", \"chronology\": {\"scene_id\": \"S0010\", \"narrative_order\": 10, \"story_chronology_order\": 10, \"story_chronology_group\": \"CG0010\", \"time_mode\": \"mainline\", \"confidence\": 0.86, \"order_delta\": 0, \"temporal_anchor\": {\"label\": \"\", \"normalized_label\": \"unknown\", \"anchor_type\": \"unknown\", \"relative_direction\": \"unknown\", \"amount\": null, \"unit\": \"\", \"time_of_day\": \"\", \"explicit\": false, \"anchor_scene_id\": \"S0009\"}, \"constraints\": [{\"relation\": \"after\", \"target_scene_id\": \"S0009\", \"confidence\": 0.58, \"reason\": \"narrative_forward\"}], \"evidence\": []}, \"retained_group_id\": \"AG0007\", \"beat_id\": \"AB0007\", \"group_role\": \"standalone\", \"group_strategy\": \"single_scene\", \"script_render_mode\": \"full_scene\", \"drop_from_script\": false, \"hard_merge\": false, \"merge_lead_scene_id\": \"S0010\", \"merge_reason\": \"\", \"group_scene_count\": 1, \"group_context\": {\"group_id\": \"AG0007\", \"group_strategy\": \"single_scene\", \"hard_merge\": false, \"lead_scene_id\": \"S0010\", \"support_scene_ids\": [], \"merged_scene_count\": 0, \"group_summary\": \"悟空三更夜访祖师，获得长生妙诀口诀。\", \"script_objective\": \"通过庄严神秘的对话，戏剧化地呈现悟空获得长生之道的关键转折，奠定其后续修炼与冲突的基础。\", \"story_functions\": [\"主线推进\", \"关键传授\", \"角色成长\"], \"must_keep\": [\"悟空三更夜访祖师\", \"祖师传授长生口诀\", \"悟空记下口诀返回\", \"“此间更无六耳”的对话\", \"口诀内容\"], \"continuity_requirements\": [\"角色连续性：石猴/悟空、菩提祖师\", \"地点连续性：斜月三星洞\", \"时间连续性：紧接前序，深夜\"], \"merged_scene_summaries\": []}}, \"shots\": [{\"shot_id\": \"S0010_SH01\", \"camera\": \"对白建立镜头\", \"description\": \"悟空三更夜访祖师，获得长生妙诀口诀。\", \"actions\": [\"悟空夜访祖师\"], \"dialogue\": [], \"narration\": \"\", \"on_screen_text\": \"\", \"focus_characters\": [\"石猴\", \"菩提祖师\"], \"focus_locations\": [\"斜月三星洞\"], \"candidate_meta\": {\"shot_role\": \"opening\", \"description_hint\": \"斜月三星洞建立镜头，带出悟空夜访祖师\", \"camera_hint\": \"远景\", \"adaptation_summary\": {\"decision\": \"retain\", \"presentation_mode\": \"dialogue\", \"story_function\": [\"主线推进\", \"关键传授\", \"角色成长\"], \"must_keep_count\": 5, \"audio_focus_count\": 3, \"group_role\": \"standalone\", \"group_strategy\": \"single_scene\", \"script_render_mode\": \"full_scene\", \"drop_from_script\": false, \"retained_group_id\": \"AG0007\", \"beat_id\": \"AB0007\"}, \"adaptation_group_context\": {\"group_id\": \"AG0007\", \"group_strategy\": \"single_scene\", \"hard_merge\": false, \"lead_scene_id\": \"S0010\", \"support_scene_ids\": [], \"merged_scene_count\": 0, \"group_summary\": \"悟空三更夜访祖师，获得长生妙诀口诀。\", \"script_objective\": \"通过庄严神秘的对话，戏剧化地呈现悟空获得长生之道的关键转折，奠定其后续修炼与冲突的基础。\", \"story_functions\": [\"主线推进\", \"关键传授\", \"角色成长\"], \"must_keep\": [\"悟空三更夜访祖师\", \"祖师传授长生口诀\", \"悟空记下口诀返回\", \"“此间更无六耳”的对话\", \"口诀内容\"], \"continuity_requirements\": [\"角色连续性：石猴/悟空、菩提祖师\", \"地点连续性：斜月三星洞\", \"时间连续性：紧接前序，深夜\"], \"merged_scene_summaries\": []}, \"shot_index\": 1, \"chronology_summary\": {\"narrative_order\": 10, \"story_chronology_order\": 10, \"story_chronology_group\": \"CG0010\", \"time_mode\": \"mainline\", \"confidence\": 0.86, \"order_delta\": 0, \"anchor_label\": \"\", \"anchor_type\": \"unknown\", \"constraint_count\": 1, \"evidence_count\": 0}, \"focus_character_entity_refs\": [{\"entity_uid\": \"E000006\", \"entity_id\": \"E000006\", \"canonical_name\": \"石猴\", \"name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"悟空\", \"猢猻\"], \"match_score\": 4.8, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"character_candidate\"}, {\"entity_uid\": \"E000041\", \"entity_id\": \"E000041\", \"canonical_name\": \"菩提祖师\", \"name\": \"菩提祖师\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"祖師\", \"老爺\"], \"match_score\": 4.4, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"character_candidate\"}], \"focus_location_entity_refs\": []}, \"narrator_profile_id\": \"narrator_main_cn\"}, {\"shot_id\": \"S0010_SH02\", \"camera\": \"双人中景\", \"description\": \"石猴的反应镜头，推进祖师传授长生口诀\", \"actions\": [\"祖师传授长生口诀\"], \"dialogue\": [], \"narration\": \"\", \"on_screen_text\": \"\", \"focus_characters\": [\"石猴\", \"菩提祖师\"], \"focus_locations\": [\"斜月三星洞\"], \"candidate_meta\": {\"shot_role\": \"character\", \"description_hint\": \"石猴的反应镜头，推进祖师传授长生口诀\", \"camera_hint\": \"双人中景\", \"adaptation_summary\": {\"decision\": \"retain\", \"presentation_mode\": \"dialogue\", \"story_function\": [\"主线推进\", \"关键传授\", \"角色成长\"], \"must_keep_count\": 5, \"audio_focus_count\": 3, \"group_role\": \"standalone\", \"group_strategy\": \"single_scene\", \"script_render_mode\": \"full_scene\", \"drop_from_script\": false, \"retained_group_id\": \"AG0007\", \"beat_id\": \"AB0007\"}, \"adaptation_group_context\": {\"group_id\": \"AG0007\", \"group_strategy\": \"single_scene\", \"hard_merge\": false, \"lead_scene_id\": \"S0010\", \"support_scene_ids\": [], \"merged_scene_count\": 0, \"group_summary\": \"悟空三更夜访祖师，获得长生妙诀口诀。\", \"script_objective\": \"通过庄严神秘的对话，戏剧化地呈现悟空获得长生之道的关键转折，奠定其后续修炼与冲突的基础。\", \"story_functions\": [\"主线推进\", \"关键传授\", \"角色成长\"], \"must_keep\": [\"悟空三更夜访祖师\", \"祖师传授长生口诀\", \"悟空记下口诀返回\", \"“此间更无六耳”的对话\", \"口诀内容\"], \"continuity_requirements\": [\"角色连续性：石猴/悟空、菩提祖师\", \"地点连续性：斜月三星洞\", \"时间连续性：紧接前序，深夜\"], \"merged_scene_summaries\": []}, \"shot_index\": 2, \"chronology_summary\": {\"narrative_order\": 10, \"story_chronology_order\": 10, \"story_chronology_group\": \"CG0010\", \"time_mode\": \"mainline\", \"confidence\": 0.86, \"order_delta\": 0, \"anchor_label\": \"\", \"anchor_type\": \"unknown\", \"constraint_count\": 1, \"evidence_count\": 0}, \"focus_character_entity_refs\": [{\"entity_uid\": \"E000006\", \"entity_id\": \"E000006\", \"canonical_name\": \"石猴\", \"name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"悟空\", \"猢猻\"], \"match_score\": 4.8, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"character_candidate\"}, {\"entity_uid\": \"E000041\", \"entity_id\": \"E000041\", \"canonical_name\": \"菩提祖师\", \"name\": \"菩提祖师\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"祖師\", \"老爺\"], \"match_score\": 4.4, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"character_candidate\"}], \"focus_location_entity_refs\": []}, \"narrator_profile_id\": \"narrator_main_cn\"}, {\"shot_id\": \"S0010_SH03\", \"camera\": \"正反打\", \"description\": \"对白推进核心信息\", \"actions\": [\"祖师传授长生口诀\", \"悟空记下口诀返回\"], \"dialogue\": [{\"speaker\": \"石猴\", \"speaker_entity_uid\": \"\", \"delivery_hint\": \"情绪更强\", \"line\": \"難！難！難！道最玄，莫把金丹作等閑。不遇至人傳妙訣，空言口困舌頭乾！\"}, {\"speaker\": \"菩提祖师\", \"speaker_entity_uid\": \"\", \"delivery_hint\": \"平稳陈述\", \"line\": \"師父，弟子在此跪候多時。\"}, {\"speaker\": \"\", \"speaker_entity_uid\": \"\", \"delivery_hint\": \"带疑问感\", \"line\": \"這猢猻，你不在前邊去睡，卻來我這後邊作甚？\"}, {\"speaker\": \"\", \"speaker_entity_uid\": \"\", \"delivery_hint\": \"情绪更强\", \"line\": \"天光了，天光了，起耶！\"}], \"narration\": \"\", \"on_screen_text\": \"\", \"focus_characters\": [\"石猴\", \"菩提祖师\"], \"focus_locations\": [\"斜月三星洞\"], \"candidate_meta\": {\"shot_role\": \"dialogue_or_action\", \"description_hint\": \"对白推进核心信息\", \"camera_hint\": \"正反打\", \"adaptation_summary\": {\"decision\": \"retain\", \"presentation_mode\": \"dialogue\", \"story_function\": [\"主线推进\", \"关键传授\", \"角色成长\"], \"must_keep_count\": 5, \"audio_focus_count\": 3, \"group_role\": \"standalone\", \"group_strategy\": \"single_scene\", \"script_render_mode\": \"full_scene\", \"drop_from_script\": false, \"retained_group_id\": \"AG0007\", \"beat_id\": \"AB0007\"}, \"adaptation_group_context\": {\"group_id\": \"AG0007\", \"group_strategy\": \"single_scene\", \"hard_merge\": false, \"lead_scene_id\": \"S0010\", \"support_scene_ids\": [], \"merged_scene_count\": 0, \"group_summary\": \"悟空三更夜访祖师，获得长生妙诀口诀。\", \"script_objective\": \"通过庄严神秘的对话，戏剧化地呈现悟空获得长生之道的关键转折，奠定其后续修炼与冲突的基础。\", \"story_functions\": [\"主线推进\", \"关键传授\", \"角色成长\"], \"must_keep\": [\"悟空三更夜访祖师\", \"祖师传授长生口诀\", \"悟空记下口诀返回\", \"“此间更无六耳”的对话\", \"口诀内容\"], \"continuity_requirements\": [\"角色连续性：石猴/悟空、菩提祖师\", \"地点连续性：斜月三星洞\", \"时间连续性：紧接前序，深夜\"], \"merged_scene_summaries\": []}, \"shot_index\": 3, \"chronology_summary\": {\"narrative_order\": 10, \"story_chronology_order\": 10, \"story_chronology_group\": \"CG0010\", \"time_mode\": \"mainline\", \"confidence\": 0.86, \"order_delta\": 0, \"anchor_label\": \"\", \"anchor_type\": \"unknown\", \"constraint_count\": 1, \"evidence_count\": 0}, \"focus_character_entity_refs\": [{\"entity_uid\": \"E000006\", \"entity_id\": \"E000006\", \"canonical_name\": \"石猴\", \"name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"悟空\", \"猢猻\"], \"match_score\": 4.8, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"character_candidate\"}, {\"entity_uid\": \"E000041\", \"entity_id\": \"E000041\", \"canonical_name\": \"菩提祖师\", \"name\": \"菩提祖师\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"祖師\", \"老爺\"], \"match_score\": 4.4, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"character_candidate\"}], \"focus_location_entity_refs\": []}, \"narrator_profile_id\": \"narrator_main_cn\"}, {\"shot_id\": \"S0010_SH04\", \"camera\": \"特写\", \"description\": \"石猴收束镜头，停在悟空记下口诀返回\", \"actions\": [\"悟空记下口诀返回\"], \"dialogue\": [], \"narration\": \"\", \"on_screen_text\": \"\", \"focus_characters\": [\"石猴\"], \"focus_locations\": [\"斜月三星洞\"], \"candidate_meta\": {\"shot_role\": \"closing\", \"description_hint\": \"石猴收束镜头，停在悟空记下口诀返回\", \"camera_hint\": \"特写\", \"adaptation_summary\": {\"decision\": \"retain\", \"presentation_mode\": \"dialogue\", \"story_function\": [\"主线推进\", \"关键传授\", \"角色成长\"], \"must_keep_count\": 5, \"audio_focus_count\": 3, \"group_role\": \"standalone\", \"group_strategy\": \"single_scene\", \"script_render_mode\": \"full_scene\", \"drop_from_script\": false, \"retained_group_id\": \"AG0007\", \"beat_id\": \"AB0007\"}, \"adaptation_group_context\": {\"group_id\": \"AG0007\", \"group_strategy\": \"single_scene\", \"hard_merge\": false, \"lead_scene_id\": \"S0010\", \"support_scene_ids\": [], \"merged_scene_count\": 0, \"group_summary\": \"悟空三更夜访祖师，获得长生妙诀口诀。\", \"script_objective\": \"通过庄严神秘的对话，戏剧化地呈现悟空获得长生之道的关键转折，奠定其后续修炼与冲突的基础。\", \"story_functions\": [\"主线推进\", \"关键传授\", \"角色成长\"], \"must_keep\": [\"悟空三更夜访祖师\", \"祖师传授长生口诀\", \"悟空记下口诀返回\", \"“此间更无六耳”的对话\", \"口诀内容\"], \"continuity_requirements\": [\"角色连续性：石猴/悟空、菩提祖师\", \"地点连续性：斜月三星洞\", \"时间连续性：紧接前序，深夜\"], \"merged_scene_summaries\": []}, \"shot_index\": 4, \"chronology_summary\": {\"narrative_order\": 10, \"story_chronology_order\": 10, \"story_chronology_group\": \"CG0010\", \"time_mode\": \"mainline\", \"confidence\": 0.86, \"order_delta\": 0, \"anchor_label\": \"\", \"anchor_type\": \"unknown\", \"constraint_count\": 1, \"evidence_count\": 0}, \"focus_character_entity_refs\": [{\"entity_uid\": \"E000006\", \"entity_id\": \"E000006\", \"canonical_name\": \"石猴\", \"name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"悟空\", \"猢猻\"], \"match_score\": 4.8, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"character_candidate\"}, {\"entity_uid\": \"E000041\", \"entity_id\": \"E000041\", \"canonical_name\": \"菩提祖师\", \"name\": \"菩提祖师\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"祖師\", \"老爺\"], \"match_score\": 4.4, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"character_candidate\"}], \"focus_location_entity_refs\": []}, \"narrator_profile_id\": \"narrator_main_cn\"}], \"candidate_meta\": {\"scene_id\": \"S0010\", \"source_chunk_id\": \"C0005\", \"source_start_para\": 167, \"source_end_para\": 186, \"characters\": [\"石猴\", \"菩提祖师\"], \"locations\": [\"斜月三星洞\"], \"key_beats\": [\"悟空夜访祖师\", \"祖师传授长生口诀\", \"悟空记下口诀返回\"], \"shot_count_hint\": 4, \"scene_summary\": \"悟空三更夜访祖师，获得长生妙诀口诀。\", \"scene_text_preview\": \"來，舒開兩足，口中自吟道： 「難！難！難！道最玄，莫把金丹作等閑。不遇至人傳妙訣，空言口困舌頭乾！」 悟空應聲叫道：「師父，弟子在此跪候多時。」祖師聞得聲音是…\", \"chronology_summary\": {\"narrative_order\": 10, \"story_chronology_order\": 10, \"story_chronology_group\": \"CG0010\", \"time_mode\": \"mainline\", \"confidence\": 0.86, \"order_delta\": 0, \"anchor_label\": \"\", \"anchor_type\": \"unknown\", \"constraint_count\": 1, \"evidence_count\": 0}, \"adaptation_summary\": {\"decision\": \"retain\", \"presentation_mode\": \"dialogue\", \"story_function\": [\"主线推进\", \"关键传授\", \"角色成长\"], \"must_keep_count\": 5, \"audio_focus_count\": 3, \"group_role\": \"standalone\", \"group_strategy\": \"single_scene\", \"script_render_mode\": \"full_scene\", \"drop_from_script\": false, \"retained_group_id\": \"AG0007\", \"beat_id\": \"AB0007\"}, \"character_entity_refs\": [{\"entity_uid\": \"E000006\", \"entity_id\": \"E000006\", \"canonical_name\": \"石猴\", \"name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"悟空\", \"猢猻\"], \"match_score\": 4.8, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"character_candidate\"}, {\"entity_uid\": \"E000041\", \"entity_id\": \"E000041\", \"canonical_name\": \"菩提祖师\", \"name\": \"菩提祖师\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"祖師\", \"老爺\"], \"match_score\": 4.4, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"character_candidate\"}], \"location_entity_refs\": [], \"merged_scene_ids\": [], \"merged_scene_count\": 0}}"
    }
  ]
}