{
  "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\": \"C0029-SC03\", \"title\": \"第七回开篇定场诗\", \"summary\": \"第七回开篇定场诗，点明狂妄欺心必遭天谴的主旨，引出八卦炉逃大圣、五行山定心猿的情节。 齐天大圣被擒后刀枪不入，太上老君将其投入八卦炉冶炼，悟空练就火眼金睛后逃出，打至灵霄殿外\", \"type\": [\"叙事\", \"诗歌\", \"对话\", \"动作\"], \"tone\": [\"警示\", \"庄重\", \"庄严\", \"激烈\"], \"importance\": \"支线\", \"presentation\": [\"叙事画面\", \"对白驱动\", \"直接画面\"], \"key_beats\": [\"点明前缘分定不可欺心的道理\", \"警示狂妄之举必遭天谴\", \"引出第七回核心剧情\", \"天兵无法伤及被擒的孙悟空\", \"太上老君将悟空投入八卦炉炼就火眼金睛\", \"悟空逃出八卦炉大闹天宫打至灵霄殿外\"], \"characters\": [\"石猴(齐天大圣)\", \"太上老君\", \"石猴\", \"玉帝\", \"如来\", \"显圣二郎真君\"], \"locations\": [\"五行山\", \"灌江口\", \"灵霄殿\"], \"entity_refs\": [{\"entity_id\": \"E000070\", \"entity_uid\": \"E000070\", \"name\": \"五行山\", \"canonical_name\": \"五行山\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"五行山\"], \"match_score\": 5.2, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000066\", \"entity_uid\": \"E000066\", \"name\": \"八卦炉\", \"canonical_name\": \"八卦炉\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"八卦炉\"], \"match_score\": 5.2, \"ref_role\": \"other_candidate\"}, {\"entity_id\": \"E000006\", \"entity_uid\": \"E000006\", \"name\": \"石猴\", \"canonical_name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"大圣\"], \"match_score\": 2.8, \"ref_role\": \"character_candidate\"}], \"continuation_of_prev\": false, \"source_chunk_id\": \"C0029\", \"source_start_para\": 223, \"source_end_para\": 226, \"text\": \"第七回　八卦炉中逃大圣　五行山下定心猿\\n\\n富贵功名，前缘分定，为人切莫欺心。正大光明，忠良善果弥深。\\n\\n些些狂妄天加谴，眼前不遇待时临。问东君因甚，如今祸害相侵。\\n\\n只为心高图罔极，不分上下乱规箴。\", \"text_preview\": \"第七回 八卦炉中逃大圣 五行山下定心猿 富贵功名，前缘分定，为人切莫欺心。正大光明，忠良善果弥深。 些些狂妄天加谴，眼前不遇待时临。问东君因甚，如今祸害相侵。…\", \"candidate_meta\": {\"candidate_id\": \"C0029-SC03\", \"record_count\": 4, \"char_len\": 99, \"structure_counts\": {\"chapter_heading\": 1, \"body\": 2, \"short_line\": 1}, \"boundary_reasons_after\": [], \"matched_entities\": [{\"entity_id\": \"E000070\", \"name\": \"五行山\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"五行山\"], \"score\": 5.2}, {\"entity_id\": \"E000066\", \"name\": \"八卦炉\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"八卦炉\"], \"score\": 5.2}, {\"entity_id\": \"E000006\", \"name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"大圣\"], \"score\": 2.8}], \"entity_refs\": [{\"entity_id\": \"E000070\", \"entity_uid\": \"E000070\", \"name\": \"五行山\", \"canonical_name\": \"五行山\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"五行山\"], \"match_score\": 5.2, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000066\", \"entity_uid\": \"E000066\", \"name\": \"八卦炉\", \"canonical_name\": \"八卦炉\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"八卦炉\"], \"match_score\": 5.2, \"ref_role\": \"other_candidate\"}, {\"entity_id\": \"E000006\", \"entity_uid\": \"E000006\", \"name\": \"石猴\", \"canonical_name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"大圣\"], \"match_score\": 2.8, \"ref_role\": \"character_candidate\"}], \"heuristic_types\": [\"叙事\"], \"heuristic_tones\": [\"紧张\"], \"heuristic_presentation\": [\"叙事画面\"], \"heuristic_importance\": \"支线\"}, \"scene_id\": \"S0039\"}\n\nCHRONOLOGY:\n{\"scene_id\": \"S0039\", \"title\": \"第七回开篇定场诗\", \"summary\": \"第七回开篇定场诗，点明狂妄欺心必遭天谴的主旨，引出八卦炉逃大圣、五行山定心猿的情节。 齐天大圣被擒后刀枪不入，太上老君将其投入八卦炉冶炼，悟空练就火眼金睛后逃出，打至灵霄殿外\", \"characters\": [\"石猴(齐天大圣)\", \"太上老君\", \"石猴\", \"玉帝\", \"如来\", \"显圣二郎真君\"], \"locations\": [\"五行山\", \"灌江口\", \"灵霄殿\"], \"key_beats\": [\"点明前缘分定不可欺心的道理\", \"警示狂妄之举必遭天谴\", \"引出第七回核心剧情\", \"天兵无法伤及被擒的孙悟空\", \"太上老君将悟空投入八卦炉炼就火眼金睛\", \"悟空逃出八卦炉大闹天宫打至灵霄殿外\"], \"source_chunk_id\": \"C0029\", \"source_start_para\": 223, \"source_end_para\": 226, \"continuation_of_prev\": false, \"narrative_order\": 39, \"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\": \"S0038\"}, \"temporal_evidence\": [], \"constraints\": [{\"relation\": \"after\", \"target_scene_id\": \"S0038\", \"confidence\": 0.58, \"reason\": \"narrative_forward\"}], \"similarity_to_prev\": 0.338, \"text_preview\": \"第七回 八卦炉中逃大圣 五行山下定心猿 富贵功名，前缘分定，为人切莫欺心。正大光明，忠良善果弥深。 些些狂妄天加谴，眼前不遇待时临。问东君因甚，如今祸害相侵。…\", \"story_chronology_group\": \"CG0025\", \"story_chronology_order\": 26}\n\nENTITY CONTEXT:\n{\"registry_entities\": [{\"entity_uid\": \"E000006\", \"canonical_name\": \"石猴\", \"aliases\": [\"泼猴\", \"妖猴\", \"乖猴\"], \"type\": \"人物\", \"subtype\": \"\", \"voice_card_id\": \"VO000006\"}, {\"entity_uid\": \"E000070\", \"canonical_name\": \"五行山\", \"aliases\": [], \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"voice_card_id\": \"\"}, {\"entity_uid\": \"E000065\", \"canonical_name\": \"太上老君\", \"aliases\": [\"老君\"], \"type\": \"人物\", \"subtype\": \"\", \"voice_card_id\": \"VO000065\"}, {\"entity_uid\": \"E000052\", \"canonical_name\": \"玉帝\", \"aliases\": [\"上帝\", \"玉皇上帝\", \"大唐皇帝\", \"李世民\"], \"type\": \"人物\", \"subtype\": \"\", \"voice_card_id\": \"VO000052\"}, {\"entity_uid\": \"E000067\", \"canonical_name\": \"如来\", \"aliases\": [], \"type\": \"人物\", \"subtype\": \"\", \"voice_card_id\": \"VO000067\"}, {\"entity_uid\": \"E000061\", \"canonical_name\": \"显圣二郎真君\", \"aliases\": [\"二郎神\", \"昭惠灵王二郎\", \"真君\", \"二郎爷爷\", \"二郎真君\"], \"type\": \"人物\", \"subtype\": \"\", \"voice_card_id\": \"VO000061\"}, {\"entity_uid\": \"E000064\", \"canonical_name\": \"灌江口\", \"aliases\": [], \"type\": \"地点\", \"subtype\": \"\", \"voice_card_id\": \"\"}, {\"entity_uid\": \"E000068\", \"canonical_name\": \"灵霄殿\", \"aliases\": [], \"type\": \"地点\", \"subtype\": \"洞府/殿阁\", \"voice_card_id\": \"\"}], \"kg_entities\": [{\"entity_id\": \"E000070\", \"name\": \"五行山\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"aliases\": [], \"attributes\": {}, \"descriptions\": [\"如来五指所化，镇压石猴\", \"如来所化\", \"镇压石猴之处\"], \"evidence\": [\"C0032如来化五行山镇压石猴\", \"有如来六字真言压帖\"], \"mentions\": [{\"chunk_id\": \"C0032\", \"summary\": \"如来化五行山镇压石猴\", \"evidence\": [\"五指化作五座联山唤名五行山\"], \"attributes\": {}}, {\"chunk_id\": \"C0036\", \"summary\": \"压着齐天大圣，有如来压帖\", \"evidence\": [\"那放光之处，乃是五行山了：见有如来的‘压帖’在那里\"], \"attributes\": {}}], \"mention_count\": 2, \"observation_count\": 2, \"first_seen\": \"C0032\", \"last_seen\": \"C0036\"}, {\"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\"}]}\n\nADAPTATION CANDIDATE:\n{\"scene_id\": \"S0039\", \"source_chunk_id\": \"C0029\", \"scene_summary\": \"第七回开篇定场诗，点明狂妄欺心必遭天谴的主旨，引出八卦炉逃大圣、五行山定心猿的情节。 齐天大圣被擒后刀枪不入，太上老君将其投入八卦炉冶炼，悟空练就火眼金睛后逃出，打至灵霄殿外\", \"chronology\": {\"scene_id\": \"S0039\", \"narrative_order\": 39, \"story_chronology_order\": 26, \"story_chronology_group\": \"CG0025\", \"time_mode\": \"mainline\", \"confidence\": 0.86, \"order_delta\": -13, \"temporal_anchor\": {\"label\": \"\", \"normalized_label\": \"unknown\", \"anchor_type\": \"unknown\", \"relative_direction\": \"unknown\", \"amount\": null, \"unit\": \"\", \"time_of_day\": \"\", \"explicit\": false, \"anchor_scene_id\": \"S0038\"}, \"constraints\": [{\"relation\": \"after\", \"target_scene_id\": \"S0038\", \"confidence\": 0.58, \"reason\": \"narrative_forward\"}], \"evidence\": []}, \"decision\": \"compress\", \"presentation_mode\": \"dramatize\", \"story_function\": [\"冲突推进\"], \"adaptation_focus\": \"第七回开篇定场诗，点明狂妄欺心必遭天谴的主旨，引出八卦炉逃大圣、五行山定心猿的情节。 齐天大圣被擒后刀枪不入，太上老君将其投入八卦炉冶炼，悟空练就火眼金睛后逃出，打至灵霄殿外\", \"must_keep\": [\"点明前缘分定不可欺心的道理\", \"警示狂妄之举必遭天谴\", \"引出第七回核心剧情\", \"第七回开篇定场诗，点明狂妄欺心必遭天谴的主旨，引出八卦炉逃大圣、五行山定心猿的情节。 齐天大圣被擒后刀枪不入，太上老君将其投入八卦炉冶炼，悟空练就火眼金睛后逃出，打至灵霄殿外\"], \"may_compress\": [], \"visual_focus\": [\"石猴(齐天大圣)\", \"太上老君\", \"五行山\", \"灌江口\"], \"audio_focus\": [\"以叙述清晰为先\"], \"continuity_requirements\": [\"不得抹平叙事顺序与故事顺序差\", \"角色连续性：石猴(齐天大圣) / 太上老君\"], \"script_objective\": \"压缩呈现并保留关键信息：点明前缘分定不可欺心的道理\", \"conflict\": \"点明前缘分定不可欺心的道理\", \"turning_point\": \"悟空逃出八卦炉大闹天宫打至灵霄殿外\", \"reason\": \"chapter_heading_scene；default_dramatize\", \"candidate_meta\": {\"scene_id\": \"S0039\", \"decision_reasons\": [\"chapter_heading_scene\"], \"presentation_reasons\": [\"default_dramatize\"], \"metrics\": {\"text_length\": 362, \"quote_count\": 0, \"action_score\": 0, \"exposition_score\": 0, \"inner_score\": 0, \"transition_score\": 0, \"reveal_score\": 0, \"tension_score\": 5, \"environment_score\": 0, \"character_count\": 6, \"location_count\": 3, \"beat_count\": 6, \"continuation_of_prev\": false, \"time_mode\": \"mainline\", \"order_delta\": -13}, \"characters\": [\"石猴(齐天大圣)\", \"太上老君\", \"石猴\", \"玉帝\", \"如来\", \"显圣二郎真君\"], \"locations\": [\"五行山\", \"灌江口\", \"灵霄殿\"], \"key_beats\": [\"点明前缘分定不可欺心的道理\", \"警示狂妄之举必遭天谴\", \"引出第七回核心剧情\", \"天兵无法伤及被擒的孙悟空\", \"太上老君将悟空投入八卦炉炼就火眼金睛\", \"悟空逃出八卦炉大闹天宫打至灵霄殿外\"], \"entity_refs\": [{\"entity_uid\": \"E000070\", \"entity_id\": \"E000070\", \"canonical_name\": \"五行山\", \"name\": \"五行山\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"五行山\"], \"match_score\": 5.2, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"location_candidate\"}, {\"entity_uid\": \"E000066\", \"entity_id\": \"E000066\", \"canonical_name\": \"八卦炉\", \"name\": \"八卦炉\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"八卦炉\"], \"match_score\": 5.2, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"other_candidate\"}, {\"entity_uid\": \"E000006\", \"entity_id\": \"E000006\", \"canonical_name\": \"石猴\", \"name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"大圣\"], \"match_score\": 2.8, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"character_candidate\"}]}}"
    }
  ]
}