{
  "messages": [
    {
      "role": "system",
      "content": "你是影视化改编智能体。程序已经为每个 scene 生成了改编候选，包含时间顺序、场景摘要、保留策略和呈现策略。不得改动 scene_id、source_chunk_id、chronology、candidate_meta。decision 只能在 retain / compress / bridge 中选择。presentation_mode 只能在 dramatize / dialogue / action / narration / montage / exposition 中选择。你只能补充或修正 story_function、adaptation_focus、must_keep、may_compress、visual_focus、audio_focus、continuity_requirements、script_objective、conflict、turning_point、reason。不要直接写剧本，不要改写 chronology。只返回 JSON。"
    },
    {
      "role": "user",
      "content": "请基于场景、时间线、实体上下文，以及程序生成的影视化改编候选，输出一个更适合后续 screenplay 阶段消费的 scene-level adaptation brief。输出必须是严格 JSON，键为：scene_id, decision, presentation_mode, story_function, adaptation_focus, must_keep, may_compress, visual_focus, audio_focus, continuity_requirements, script_objective, conflict, turning_point, reason。scene_id 必须与输入一致；不得新增其他顶层键。必须保留 chronology 所表达的时间模式与顺序差，不得自行重排或删改时间结构。must_keep / may_compress / visual_focus / audio_focus / continuity_requirements 都应是短列表。只返回单个 JSON 对象，不要 markdown，不要代码块。如果无法判断，至少返回原候选中的 scene_id、decision 和 presentation_mode。\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\", \"title\": \"夜访得道\", \"summary\": \"悟空三更夜访祖师，获得长生妙诀口诀。\", \"characters\": [\"石猴\", \"菩提祖师\"], \"locations\": [\"斜月三星洞\"], \"key_beats\": [\"悟空夜访祖师\", \"祖师传授长生口诀\", \"悟空记下口诀返回\"], \"source_chunk_id\": \"C0005\", \"source_start_para\": 167, \"source_end_para\": 186, \"continuation_of_prev\": false, \"narrative_order\": 10, \"time_mode\": \"mainline\", \"confidence\": 0.86, \"temporal_anchor\": {\"label\": \"\", \"normalized_label\": \"unknown\", \"anchor_type\": \"unknown\", \"relative_direction\": \"unknown\", \"amount\": null, \"unit\": \"\", \"time_of_day\": \"\", \"explicit\": false, \"anchor_scene_id\": \"S0009\"}, \"temporal_evidence\": [], \"constraints\": [{\"relation\": \"after\", \"target_scene_id\": \"S0009\", \"confidence\": 0.58, \"reason\": \"narrative_forward\"}], \"similarity_to_prev\": 0.85, \"text_preview\": \"來，舒開兩足，口中自吟道： 「難！難！難！道最玄，莫把金丹作等閑。不遇至人傳妙訣，空言口困舌頭乾！」 悟空應聲叫道：「師父，弟子在此跪候多時。」祖師聞得聲音是…\", \"story_chronology_group\": \"CG0010\", \"story_chronology_order\": 10}\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\nADAPTATION CANDIDATE:\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\"}]}}"
    }
  ]
}