{
  "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\": \"C0006-SC02\", \"title\": \"悟空三更赴约得授长生妙诀\", \"summary\": \"悟空三更潜入祖师寝殿跪候，须菩提祖师确认其识破谜题后传授长生口诀，悟空铭记后悄悄返回住处\", \"type\": [\"对话\", \"动作\"], \"tone\": [\"庄严\", \"悬疑\"], \"importance\": \"主线\", \"presentation\": [\"对白驱动\", \"直接画面\"], \"key_beats\": [\"悟空三更从后门进入祖师寝殿跪候\", \"祖师确认悟空识破谜题后传授长生口诀\", \"悟空牢记口诀悄悄返回住处假装未醒\"], \"characters\": [\"须菩提祖师\", \"石猴\"], \"locations\": [\"斜月三星洞\"], \"entity_refs\": [{\"entity_id\": \"E000017\", \"entity_uid\": \"E000017\", \"name\": \"须菩提祖师\", \"canonical_name\": \"须菩提祖师\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"祖师\", \"师父\", \"老师父\"], \"match_score\": 6.5, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000006\", \"entity_uid\": \"E000006\", \"name\": \"石猴\", \"canonical_name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"悟空\", \"猢狲\"], \"match_score\": 4.8, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000022\", \"entity_uid\": \"E000022\", \"name\": \"长生妙道\", \"canonical_name\": \"长生妙道\", \"type\": \"功法体系\", \"subtype\": \"\", \"matched_terms\": [\"长生之道\"], \"match_score\": 2.1, \"ref_role\": \"other_candidate\"}], \"continuation_of_prev\": false, \"source_chunk_id\": \"C0006\", \"source_start_para\": 75, \"source_end_para\": 87, \"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此时说破根源，悟空心灵福至，切切记了口诀，对祖师拜谢深恩，即出后门观看。但见东方天色微舒白，西路金光大显明。依旧路，转到前门，轻轻的推开进去，坐在原寝之处，故将床铺摇响道：“天光了！天光了！起耶！”那大众还正睡哩，不知悟空已得了好事。当日起来打混，暗暗维持，子前午后，自己调息。\", \"text_preview\": \"月明清露冷，八极迥无尘。深树幽禽宿，源头水溜汾。 飞萤光散影，过雁字排云。正直三更候，应该访道真。你看他从旧路径至后门外，只见那门儿半开半掩。悟空喜道：“老师…\", \"candidate_meta\": {\"candidate_id\": \"C0006-SC02\", \"record_count\": 13, \"char_len\": 755, \"structure_counts\": {\"body\": 4, \"dialogue\": 1, \"short_line\": 8}, \"boundary_reasons_after\": [], \"matched_entities\": [{\"entity_id\": \"E000017\", \"name\": \"须菩提祖师\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"祖师\", \"师父\", \"老师父\"], \"score\": 6.5}, {\"entity_id\": \"E000006\", \"name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"悟空\", \"猢狲\"], \"score\": 4.8}, {\"entity_id\": \"E000022\", \"name\": \"长生妙道\", \"type\": \"功法体系\", \"subtype\": \"\", \"matched_terms\": [\"长生之道\"], \"score\": 2.1}], \"entity_refs\": [{\"entity_id\": \"E000017\", \"entity_uid\": \"E000017\", \"name\": \"须菩提祖师\", \"canonical_name\": \"须菩提祖师\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"祖师\", \"师父\", \"老师父\"], \"match_score\": 6.5, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000006\", \"entity_uid\": \"E000006\", \"name\": \"石猴\", \"canonical_name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"悟空\", \"猢狲\"], \"match_score\": 4.8, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000022\", \"entity_uid\": \"E000022\", \"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\": \"S0007\"}\n\nCHRONOLOGY:\n{\"scene_id\": \"S0007\", \"title\": \"悟空三更赴约得授长生妙诀\", \"summary\": \"悟空三更潜入祖师寝殿跪候，须菩提祖师确认其识破谜题后传授长生口诀，悟空铭记后悄悄返回住处\", \"characters\": [\"须菩提祖师\", \"石猴\"], \"locations\": [\"斜月三星洞\"], \"key_beats\": [\"悟空三更从后门进入祖师寝殿跪候\", \"祖师确认悟空识破谜题后传授长生口诀\", \"悟空牢记口诀悄悄返回住处假装未醒\"], \"source_chunk_id\": \"C0006\", \"source_start_para\": 75, \"source_end_para\": 87, \"continuation_of_prev\": false, \"narrative_order\": 7, \"time_mode\": \"rumor\", \"confidence\": 0.99, \"temporal_anchor\": {\"label\": \"午后\", \"normalized_label\": \"午后\", \"anchor_type\": \"forward_marker\", \"relative_direction\": \"after\", \"amount\": null, \"unit\": \"\", \"time_of_day\": \"\", \"explicit\": true, \"anchor_scene_id\": \"S0004\"}, \"temporal_evidence\": [{\"kind\": \"forward\", \"field\": \"text\", \"text\": \"午后\", \"snippet\": \"已得了好事。当日起来打混，暗暗维持，子前午后，自己调息。\"}, {\"kind\": \"same_time\", \"field\": \"text\", \"text\": \"此时\", \"snippet\": \"攒簇五行颠倒用，功完随作佛和仙。 此时说破根源，悟空心灵福至，切切记了口诀，对\"}, {\"kind\": \"rumor\", \"field\": \"text\", \"text\": \"听说\", \"snippet\": \"里传我道理，故此大胆径拜老爷榻下。”祖师听说，十分欢喜，暗自寻思道：“这厮果然是个天\"}, {\"kind\": \"insertion\", \"field\": \"text\", \"text\": \"转到\", \"snippet\": \"东方天色微舒白，西路金光大显明。依旧路，转到前门，轻轻的推开进去，坐在原寝之处，故将\"}, {\"kind\": \"time_of_day\", \"field\": \"text\", \"text\": \"午后\", \"snippet\": \"已得了好事。当日起来打混，暗暗维持，子前午后，自己调息。\"}], \"constraints\": [{\"relation\": \"same_time\", \"target_scene_id\": \"S0004\", \"confidence\": 0.45, \"reason\": \"rumor_attached_to_frame\"}], \"similarity_to_prev\": 0.617, \"text_preview\": \"月明清露冷，八极迥无尘。深树幽禽宿，源头水溜汾。 飞萤光散影，过雁字排云。正直三更候，应该访道真。你看他从旧路径至后门外，只见那门儿半开半掩。悟空喜道：“老师…\", \"story_chronology_group\": \"CG0002\", \"story_chronology_order\": 3}\n\nENTITY CONTEXT:\n{\"registry_entities\": [{\"entity_uid\": \"E000017\", \"canonical_name\": \"须菩提祖师\", \"aliases\": [\"菩提祖师\", \"祖师\", \"尊师\"], \"type\": \"人物\", \"subtype\": \"\", \"voice_card_id\": \"VO000017\"}, {\"entity_uid\": \"E000006\", \"canonical_name\": \"石猴\", \"aliases\": [\"泼猴\", \"妖猴\", \"乖猴\"], \"type\": \"人物\", \"subtype\": \"\", \"voice_card_id\": \"VO000006\"}, {\"entity_uid\": \"E000016\", \"canonical_name\": \"斜月三星洞\", \"aliases\": [\"三星仙洞\", \"三星洞\"], \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"voice_card_id\": \"\"}], \"kg_entities\": [{\"entity_id\": \"E000006\", \"name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"aliases\": [\"石猿\", \"千岁大王\", \"猴王\", \"孙悟空\", \"悟空\", \"猢狲\", \"泼猴\", \"齐天大圣\", \"老孙\", \"大圣\", \"妖猴\", \"乖猴\"], \"attributes\": {\"出身\": \"仙石所化\", \"天赋\": \"金刚之躯、火眼金睛\"}, \"descriptions\": [\"大闹天宫，众天神难以抵挡\", \"搅乱天宫反出天庭\", \"与如来打赌夺天宫\", \"与如来打赌被压五行山下\", \"被如来镇压于五行山下\", \"曾偷蟠桃反天宫\", \"大闹天宫被压五行山\", \"愿皈依修行\"], \"evidence\": [\"堪羡猴王真本事，木叉复败又逃生\", \"大圣掣金箍棒与二郎神打斗\", \"大圣变麻雀、鱼儿、土地庙躲避二郎\", \"刀砍斧剁雷打火烧不能伤损分毫\", \"三十六员雷将围困大圣\", \"C0032中与如来打赌被压\", \"妖猴大胆反天宫，却被如来伏手降\", \"被压山下五百年求菩萨救度\"], \"mentions\": [{\"chunk_id\": \"C0021\", \"summary\": \"石猴哄骗赤脚大仙\", \"evidence\": [\"骗大仙先至通明殿下演礼\"], \"attributes\": {}}, {\"chunk_id\": \"C0022\", \"summary\": \"偷食天宫宝物逃回花果山\", \"evidence\": [\"石猴偷蟠桃仙酒金丹后逃回花果山\"], \"attributes\": {}}, {\"chunk_id\": \"C0024\", \"summary\": \"与天兵交战得胜回洞\", \"evidence\": [\"打退哪吒太子，战败五个天王得胜回洞\"], \"attributes\": {}}, {\"chunk_id\": \"C0025\", \"summary\": \"花果山对战惠岸获胜\", \"evidence\": [\"木叉复败又逃生\"], \"attributes\": {}}, {\"chunk_id\": \"C0026\", \"summary\": \"与惠岸交战取胜，后对阵二郎神\", \"evidence\": [\"大圣胜惠岸，真君到水帘洞外叫战\"], \"attributes\": {}}, {\"chunk_id\": \"C0027\", \"summary\": \"与二郎神对战，变化身形躲避\", \"evidence\": [\"大圣将金箍棒掣起，高叫挑衅二郎神\"], \"attributes\": {}}, {\"chunk_id\": \"C0028\", \"summary\": \"石猴与二郎神斗法交战\", \"evidence\": [\"二人且行且战复打到花果山\"], \"attributes\": {}}, {\"chunk_id\": \"C0030\", \"summary\": \"石猴大闹天宫无一神可挡\", \"evidence\": [\"使铁棒东打西敌，更无一神可挡\"], \"attributes\": {}}, {\"chunk_id\": \"C0031\", \"summary\": \"与如来打赌欲夺天宫\", \"evidence\": [\"强者为尊该让我，英雄只此敢争先\"], \"attributes\": {}}, {\"chunk_id\": \"C0032\", \"summary\": \"与如来打赌被压五行山\", \"evidence\": [\"石猴跳如来手掌被压\"], \"attributes\": {}}, {\"chunk_id\": \"C0033\", \"summary\": \"被镇压五行山，饥食铁丸渴饮铜汁\", \"evidence\": [\"饥时与铁丸子吃，渴时与溶化的铜汁饮\"], \"attributes\": {}}, {\"chunk_id\": \"C0036\", \"summary\": \"被压五行山求菩萨救度\", \"evidence\": [\"把我压在此山，五百余年了，不能展挣\"], \"attributes\": {}}], \"mention_count\": 32, \"observation_count\": 32, \"first_seen\": \"C0001\", \"last_seen\": \"C0036\"}, {\"entity_id\": \"E000017\", \"name\": \"须菩提祖师\", \"type\": \"人物\", \"subtype\": \"\", \"aliases\": [\"菩提祖师\", \"祖师\", \"师父\", \"老师父\", \"尊师\"], \"attributes\": {}, \"descriptions\": [\"斜月三星洞讲道的神仙\", \"斜月三星洞主人，石猴师父\", \"登坛讲道诸仙听讲\", \"设暗谜传石猴长生妙诀\", \"传授悟空多种法术\", \"告知悟空三灾利害\", \"逐悟空出师门，禁提师徒名分\"], \"evidence\": [\"石猴拜其为师，座下多弟子\", \"为石猴赐名，登坛开讲大道\", \"文中祖师、师父指代须菩提祖师\", \"登座讲法传悟空七十二变筋斗云\", \"C0008中祖师相关言行\"], \"mentions\": [{\"chunk_id\": \"C0004\", \"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\": {}}], \"mention_count\": 5, \"observation_count\": 5, \"first_seen\": \"C0004\", \"last_seen\": \"C0008\"}]}\n\nADAPTATION CANDIDATE:\n{\"scene_id\": \"S0007\", \"source_chunk_id\": \"C0006\", \"scene_summary\": \"悟空三更潜入祖师寝殿跪候，须菩提祖师确认其识破谜题后传授长生口诀，悟空铭记后悄悄返回住处\", \"chronology\": {\"scene_id\": \"S0007\", \"narrative_order\": 7, \"story_chronology_order\": 3, \"story_chronology_group\": \"CG0002\", \"time_mode\": \"rumor\", \"confidence\": 0.99, \"order_delta\": -4, \"temporal_anchor\": {\"label\": \"午后\", \"normalized_label\": \"午后\", \"anchor_type\": \"forward_marker\", \"relative_direction\": \"after\", \"amount\": null, \"unit\": \"\", \"time_of_day\": \"\", \"explicit\": true, \"anchor_scene_id\": \"S0004\"}, \"constraints\": [{\"relation\": \"same_time\", \"target_scene_id\": \"S0004\", \"confidence\": 0.45, \"reason\": \"rumor_attached_to_frame\"}], \"evidence\": [{\"kind\": \"forward\", \"field\": \"text\", \"text\": \"午后\", \"snippet\": \"已得了好事。当日起来打混，暗暗维持，子前午后，自己调息。\"}, {\"kind\": \"same_time\", \"field\": \"text\", \"text\": \"此时\", \"snippet\": \"攒簇五行颠倒用，功完随作佛和仙。 此时说破根源，悟空心灵福至，切切记了口诀，对\"}, {\"kind\": \"rumor\", \"field\": \"text\", \"text\": \"听说\", \"snippet\": \"里传我道理，故此大胆径拜老爷榻下。”祖师听说，十分欢喜，暗自寻思道：“这厮果然是个天\"}, {\"kind\": \"insertion\", \"field\": \"text\", \"text\": \"转到\", \"snippet\": \"东方天色微舒白，西路金光大显明。依旧路，转到前门，轻轻的推开进去，坐在原寝之处，故将\"}, {\"kind\": \"time_of_day\", \"field\": \"text\", \"text\": \"午后\", \"snippet\": \"已得了好事。当日起来打混，暗暗维持，子前午后，自己调息。\"}]}, \"decision\": \"retain\", \"presentation_mode\": \"dialogue\", \"story_function\": [\"转述信息\"], \"adaptation_focus\": \"悟空三更潜入祖师寝殿跪候，须菩提祖师确认其识破谜题后传授长生口诀，悟空铭记后悄悄返回住处\", \"must_keep\": [\"悟空三更从后门进入祖师寝殿跪候\", \"祖师确认悟空识破谜题后传授长生口诀\", \"悟空牢记口诀悄悄返回住处假装未醒\", \"悟空三更潜入祖师寝殿跪候，须菩提祖师确认其识破谜题后传授长生口诀，悟空铭记后悄悄返回住处\"], \"may_compress\": [], \"visual_focus\": [\"须菩提祖师\", \"石猴\", \"斜月三星洞\", \"悟空三更从后门进入祖师寝殿跪候\"], \"audio_focus\": [\"保留对白推进\", \"动作点补音效\", \"旁白保留转述感\"], \"continuity_requirements\": [\"保持rumor表达\", \"不得抹平叙事顺序与故事顺序差\", \"保留时间锚点：午后\", \"角色连续性：须菩提祖师 / 石猴\"], \"script_objective\": \"完整呈现并推进戏剧动作：悟空三更从后门进入祖师寝殿跪候\", \"conflict\": \"\", \"turning_point\": \"悟空牢记口诀悄悄返回住处假装未醒\", \"reason\": \"main_conflict_or_dialogue_dense；dialogue_priority\", \"candidate_meta\": {\"scene_id\": \"S0007\", \"decision_reasons\": [\"main_conflict_or_dialogue_dense\"], \"presentation_reasons\": [\"dialogue_priority\"], \"metrics\": {\"text_length\": 945, \"quote_count\": 9, \"action_score\": 1, \"exposition_score\": 0, \"inner_score\": 0, \"transition_score\": 0, \"reveal_score\": 0, \"tension_score\": 1, \"environment_score\": 0, \"character_count\": 2, \"location_count\": 1, \"beat_count\": 3, \"continuation_of_prev\": false, \"time_mode\": \"rumor\", \"order_delta\": -4}, \"characters\": [\"须菩提祖师\", \"石猴\"], \"locations\": [\"斜月三星洞\"], \"key_beats\": [\"悟空三更从后门进入祖师寝殿跪候\", \"祖师确认悟空识破谜题后传授长生口诀\", \"悟空牢记口诀悄悄返回住处假装未醒\"], \"entity_refs\": [{\"entity_uid\": \"E000017\", \"entity_id\": \"E000017\", \"canonical_name\": \"须菩提祖师\", \"name\": \"须菩提祖师\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"祖师\", \"师父\", \"老师父\"], \"match_score\": 6.5, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"character_candidate\"}, {\"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\": \"E000022\", \"entity_id\": \"E000022\", \"canonical_name\": \"长生妙道\", \"name\": \"长生妙道\", \"type\": \"功法体系\", \"subtype\": \"\", \"matched_terms\": [\"长生之道\"], \"match_score\": 2.1, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"other_candidate\"}]}}"
    }
  ]
}