{
  "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\": \"C0041-SC03\", \"title\": \"第十回章节回目\", \"summary\": \"展示第十回回目标题：二将军宫门镇鬼 唐太宗地府还魂\", \"type\": [\"叙事\"], \"tone\": [\"中性\"], \"importance\": \"过渡\", \"presentation\": [\"叙事画面\"], \"key_beats\": [\"出现第十回章节回目标题\"], \"characters\": [\"唐太宗\"], \"locations\": [], \"entity_refs\": [{\"entity_id\": \"E000052\", \"entity_uid\": \"E000052\", \"name\": \"玉帝\", \"canonical_name\": \"玉帝\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"唐太宗\", \"太宗\"], \"match_score\": 4.8, \"ref_role\": \"character_candidate\"}], \"continuation_of_prev\": false, \"source_chunk_id\": \"C0041\", \"source_start_para\": 351, \"source_end_para\": 351, \"text\": \"第十回　二将军宫门镇鬼　唐太宗地府还魂\", \"text_preview\": \"第十回 二将军宫门镇鬼 唐太宗地府还魂\", \"candidate_meta\": {\"candidate_id\": \"C0041-SC03\", \"record_count\": 1, \"char_len\": 19, \"structure_counts\": {\"chapter_heading\": 1}, \"boundary_reasons_after\": [], \"matched_entities\": [{\"entity_id\": \"E000052\", \"name\": \"玉帝\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"唐太宗\", \"太宗\"], \"score\": 4.8}], \"entity_refs\": [{\"entity_id\": \"E000052\", \"entity_uid\": \"E000052\", \"name\": \"玉帝\", \"canonical_name\": \"玉帝\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"唐太宗\", \"太宗\"], \"match_score\": 4.8, \"ref_role\": \"character_candidate\"}], \"heuristic_types\": [\"叙事\"], \"heuristic_tones\": [\"中性\"], \"heuristic_presentation\": [\"叙事画面\"], \"heuristic_importance\": \"支线\"}, \"scene_id\": \"S0054\"}\n\nCHRONOLOGY:\n{\"scene_id\": \"S0054\", \"title\": \"第十回章节回目\", \"summary\": \"展示第十回回目标题：二将军宫门镇鬼 唐太宗地府还魂\", \"characters\": [\"唐太宗\"], \"locations\": [], \"key_beats\": [\"出现第十回章节回目标题\"], \"source_chunk_id\": \"C0041\", \"source_start_para\": 351, \"source_end_para\": 351, \"continuation_of_prev\": false, \"narrative_order\": 54, \"time_mode\": \"mainline\", \"confidence\": 0.643, \"temporal_anchor\": {\"label\": \"\", \"normalized_label\": \"unknown\", \"anchor_type\": \"unknown\", \"relative_direction\": \"unknown\", \"amount\": null, \"unit\": \"\", \"time_of_day\": \"\", \"explicit\": false, \"anchor_scene_id\": \"S0052\"}, \"temporal_evidence\": [], \"constraints\": [{\"relation\": \"after\", \"target_scene_id\": \"S0052\", \"confidence\": 0.58, \"reason\": \"narrative_forward\"}], \"similarity_to_prev\": 0.083, \"text_preview\": \"第十回 二将军宫门镇鬼 唐太宗地府还魂\", \"story_chronology_group\": \"CG0035\", \"story_chronology_order\": 35}\n\nENTITY CONTEXT:\n{\"registry_entities\": [{\"entity_uid\": \"E000052\", \"canonical_name\": \"玉帝\", \"aliases\": [\"上帝\", \"玉皇上帝\", \"大唐皇帝\", \"李世民\"], \"type\": \"人物\", \"subtype\": \"\", \"voice_card_id\": \"VO000052\"}], \"kg_entities\": [{\"entity_id\": \"E000052\", \"name\": \"玉帝\", \"type\": \"人物\", \"subtype\": \"\", \"aliases\": [\"上帝\", \"陛下\", \"玉皇大帝\", \"万岁\", \"玉皇上帝\", \"唐王\", \"主公\", \"唐太宗\", \"大唐皇帝\", \"太宗\", \"李世民\"], \"attributes\": {}, \"descriptions\": [\"惩罚打碎玻璃盏的卷帘大将\", \"天庭掌权者\", \"惩处犯错仙官\", \"向泾河龙王下达行雨旨意\", \"被龙王索命受惊患病\", \"被泾河龙王状告\", \"魂入冥司对案\", \"大唐君主，入冥司游历\"], \"evidence\": [\"C0032传旨召众神赴会谢佛恩\", \"玉帝大开金阙瑶宫，立安天大会谢我\", \"打卷帘大将八百, 贬其下界\", \"贬天蓬、罚小龙\", \"手擎玉帝敕旨，径投水府而来\", \"被泾河龙王扯住嚷闹\", \"太宗因病去世，魂赴冥司三曹对案\", \"被众鬼称为李世民，称陛下\"], \"mentions\": [{\"chunk_id\": \"C0026\", \"summary\": \"收求助表，下旨调二郎神剿猴\", \"evidence\": [\"玉帝拆表，传旨差大力鬼王送调令\"], \"attributes\": {}}, {\"chunk_id\": \"C0027\", \"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\": \"C0035\", \"summary\": \"贬卷帘大将下凡\", \"evidence\": [\"玉帝把我打了八百, 贬下界来\"], \"attributes\": {}}, {\"chunk_id\": \"C0036\", \"summary\": \"赦免小龙赐予菩萨做脚力\", \"evidence\": [\"玉帝闻言，即传旨赦宥，差天将解放\"], \"attributes\": {}}, {\"chunk_id\": \"C0040\", \"summary\": \"给泾河龙王下旨要求长安行雨\", \"evidence\": [\"敕命八河总，驱雷掣电行；明朝施雨泽，普济长安城\"], \"attributes\": {}}, {\"chunk_id\": \"C0042\", \"summary\": \"太宗受惊患病免朝\", \"evidence\": [\"朕心不快，众官免朝\"], \"attributes\": {}}, {\"chunk_id\": \"C0043\", \"summary\": \"唐太宗魂赴冥司对案\", \"evidence\": [\"太宗瞑目而亡，魂灵径出五凤楼\"], \"attributes\": {}}, {\"chunk_id\": \"C0045\", \"summary\": \"李世民随崔珪游历冥司各处\", \"evidence\": [\"太宗相随二人，上得山岩\"], \"attributes\": {}}], \"mention_count\": 17, \"observation_count\": 17, \"first_seen\": \"C0020\", \"last_seen\": \"C0045\"}]}\n\nADAPTATION CANDIDATE:\n{\"scene_id\": \"S0054\", \"source_chunk_id\": \"C0041\", \"scene_summary\": \"展示第十回回目标题：二将军宫门镇鬼 唐太宗地府还魂\", \"chronology\": {\"scene_id\": \"S0054\", \"narrative_order\": 54, \"story_chronology_order\": 35, \"story_chronology_group\": \"CG0035\", \"time_mode\": \"mainline\", \"confidence\": 0.643, \"order_delta\": -19, \"temporal_anchor\": {\"label\": \"\", \"normalized_label\": \"unknown\", \"anchor_type\": \"unknown\", \"relative_direction\": \"unknown\", \"amount\": null, \"unit\": \"\", \"time_of_day\": \"\", \"explicit\": false, \"anchor_scene_id\": \"S0052\"}, \"constraints\": [{\"relation\": \"after\", \"target_scene_id\": \"S0052\", \"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\": \"S0054\", \"decision_reasons\": [\"chapter_heading_scene\"], \"presentation_reasons\": [\"default_dramatize\"], \"metrics\": {\"text_length\": 85, \"quote_count\": 0, \"action_score\": 0, \"exposition_score\": 0, \"inner_score\": 0, \"transition_score\": 0, \"reveal_score\": 0, \"tension_score\": 0, \"environment_score\": 0, \"character_count\": 2, \"location_count\": 0, \"beat_count\": 1, \"continuation_of_prev\": false, \"time_mode\": \"mainline\", \"order_delta\": -19}, \"characters\": [\"唐太宗\", \"玉帝\"], \"locations\": [], \"key_beats\": [\"出现第十回章节回目标题\"], \"entity_refs\": [{\"entity_uid\": \"E000052\", \"entity_id\": \"E000052\", \"canonical_name\": \"玉帝\", \"name\": \"玉帝\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"唐太宗\", \"太宗\"], \"match_score\": 4.8, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"character_candidate\"}]}}"
    }
  ]
}