{
  "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\": \"C0011-SC01\", \"title\": \"误会与惊呼\", \"summary\": \"李凡与王爷发生误会，王爷惊呼师傅。\", \"type\": [\"对话\"], \"tone\": [\"中性\"], \"importance\": \"支线\", \"presentation\": [\"对白驱动\"], \"key_beats\": [\"王爷和李凡都傻逼了\", \"“你和我的手可能有点误会……”\", \"“师——傅——！”\"], \"characters\": [\"李凡\"], \"locations\": [], \"continuation_of_prev\": false, \"source_chunk_id\": \"C0011\", \"source_start_para\": 311, \"source_end_para\": 313, \"text\": \"王爷和李凡都傻逼了。\\n\\n“呃，不是，那个，你和我的手可能有点误会……”\\n\\n“师——傅——！”\", \"text_preview\": \"王爷和李凡都傻逼了。 “呃，不是，那个，你和我的手可能有点误会……” “师——傅——！”\", \"candidate_meta\": {\"candidate_id\": \"C0011-SC01\", \"record_count\": 3, \"char_len\": 46, \"structure_counts\": {\"short_line\": 1, \"dialogue\": 2}, \"boundary_reasons_after\": [\"system_switch\"], \"matched_entities\": [{\"entity_id\": \"E000003\", \"name\": \"李凡\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"李凡\"], \"score\": 5.8}, {\"entity_id\": \"E000052\", \"name\": \"外门弟子\", \"type\": \"职位称号\", \"subtype\": \"\", \"matched_terms\": [\"王爷\"], \"score\": 2.3}], \"heuristic_types\": [\"对话\"], \"heuristic_tones\": [\"中性\"], \"heuristic_presentation\": [\"对白驱动\"], \"heuristic_importance\": \"支线\"}, \"scene_id\": \"S0037\"}\n\nCHRONOLOGY:\n{\"scene_id\": \"S0037\", \"title\": \"误会与惊呼\", \"summary\": \"李凡与王爷发生误会，王爷惊呼师傅。\", \"characters\": [\"李凡\"], \"locations\": [], \"key_beats\": [\"王爷和李凡都傻逼了\", \"“你和我的手可能有点误会……”\", \"“师——傅——！”\"], \"source_chunk_id\": \"C0011\", \"source_start_para\": 311, \"source_end_para\": 313, \"continuation_of_prev\": false, \"narrative_order\": 37, \"time_mode\": \"mainline\", \"confidence\": 0.81, \"temporal_anchor\": {\"label\": \"\", \"normalized_label\": \"unknown\", \"anchor_type\": \"unknown\", \"relative_direction\": \"unknown\", \"amount\": null, \"unit\": \"\", \"time_of_day\": \"\", \"explicit\": false, \"anchor_scene_id\": \"S0036\"}, \"temporal_evidence\": [], \"constraints\": [{\"relation\": \"after\", \"target_scene_id\": \"S0036\", \"confidence\": 0.58, \"reason\": \"narrative_forward\"}], \"similarity_to_prev\": 0.25, \"text_preview\": \"王爷和李凡都傻逼了。 “呃，不是，那个，你和我的手可能有点误会……” “师——傅——！”\", \"story_chronology_group\": \"CG0030\", \"story_chronology_order\": 30}\n\nENTITY CONTEXT:\n{\"registry_entities\": [{\"entity_uid\": \"E000003\", \"canonical_name\": \"李凡\", \"aliases\": [\"穿越者\", \"小相公\", \"小友\", \"小子\", \"清月\", \"李清月\", \"道子\", \"童子\", \"傻小子\", \"宿主\", \"清月师弟\"], \"type\": \"人物\", \"subtype\": \"\", \"voice_card_id\": \"VO000003\"}], \"kg_entities\": [{\"entity_id\": \"E000003\", \"name\": \"李凡\", \"type\": \"人物\", \"subtype\": \"\", \"aliases\": [\"穿越者\", \"小相公\", \"小友\", \"小子\", \"清月\", \"李清月\", \"道子\", \"童子\", \"傻小子\", \"宿主\", \"清月师弟\"], \"attributes\": {}, \"descriptions\": [\"买酒雷觞\", \"探头看酒坛\", \"运起赤脉童子法门\", \"观察武林中人实力\", \"打量太监\", \"观察太监与商人\", \"察觉商人头领异常\", \"躲在桌子底下\"], \"evidence\": [\"李凡遥望远方\", \"李凡走进客栈\", \"然后李凡探头往酒坛子里张望了一眼\", \"无聊得运起赤脉童子的法门\", \"李凡凝聚目力不是看人家少妇身材的\", \"李凡又看了一眼\", \"李凡下意识扫了他们一眼\", \"躲在桌子底下的李凡翻了个白眼\"], \"mentions\": [{\"chunk_id\": \"C0041\", \"summary\": \"看龙兴奋\", \"evidence\": [\"李凡忍不住跑到舟头往外看\"], \"attributes\": {}}, {\"chunk_id\": \"C0043\", \"summary\": \"用神识看童子打架\", \"evidence\": [\"李凡用神识一扫，正‘看’到另外两个童子在前边甲板上打架\"], \"attributes\": {}}, {\"chunk_id\": \"C0044\", \"summary\": \"听完赤脉童子剑法\", \"evidence\": [\"李凡听完就那个藏狐的表情\"], \"attributes\": {}}, {\"chunk_id\": \"C0044\", \"summary\": \"尝试修炼剑法\", \"evidence\": [\"李凡尝试不运剑气\"], \"attributes\": {}}, {\"chunk_id\": \"C0045\", \"summary\": \"与三人聊天用餐\", \"evidence\": [\"李凡也就不在船尾傻坐着\"], \"attributes\": {}}, {\"chunk_id\": \"C0046\", \"summary\": \"遥望不周山\", \"evidence\": [\"李凡遥望远方\"], \"attributes\": {}}, {\"chunk_id\": \"C0046\", \"summary\": \"买酒雷觞\", \"evidence\": [\"李凡走进客栈\"], \"attributes\": {}}, {\"chunk_id\": \"C0047\", \"summary\": \"看酒坛中玄天剑意\", \"evidence\": [\"然后李凡探头往酒坛子里张望了一眼\"], \"attributes\": {}}, {\"chunk_id\": \"C0048\", \"summary\": \"观察萱娘身材与实力\", \"evidence\": [\"李凡凝聚目力不是看人家少妇身材的\"], \"attributes\": {}}, {\"chunk_id\": \"C0048\", \"summary\": \"打量太监与护卫\", \"evidence\": [\"李凡又看了一眼\"], \"attributes\": {}}, {\"chunk_id\": \"C0049\", \"summary\": \"观察太监与商人\", \"evidence\": [\"李凡又看了一眼\"], \"attributes\": {}}, {\"chunk_id\": \"C0050\", \"summary\": \"躲在桌下吐槽\", \"evidence\": [\"躲在桌子底下的李凡翻了个白眼\"], \"attributes\": {}}], \"mention_count\": 57, \"observation_count\": 57, \"first_seen\": \"C0001\", \"last_seen\": \"C0050\"}]}\n\nADAPTATION CANDIDATE:\n{\"scene_id\": \"S0037\", \"source_chunk_id\": \"C0011\", \"scene_summary\": \"李凡与王爷发生误会，王爷惊呼师傅。\", \"chronology\": {\"scene_id\": \"S0037\", \"narrative_order\": 37, \"story_chronology_order\": 30, \"story_chronology_group\": \"CG0030\", \"time_mode\": \"mainline\", \"confidence\": 0.81, \"order_delta\": -7, \"temporal_anchor\": {\"label\": \"\", \"normalized_label\": \"unknown\", \"anchor_type\": \"unknown\", \"relative_direction\": \"unknown\", \"amount\": null, \"unit\": \"\", \"time_of_day\": \"\", \"explicit\": false, \"anchor_scene_id\": \"S0036\"}, \"constraints\": [{\"relation\": \"after\", \"target_scene_id\": \"S0036\", \"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\": \"S0037\", \"decision_reasons\": [\"main_conflict_or_dialogue_dense\"], \"presentation_reasons\": [\"dialogue_priority\"], \"metrics\": {\"text_length\": 151, \"quote_count\": 6, \"action_score\": 0, \"exposition_score\": 0, \"inner_score\": 0, \"transition_score\": 0, \"reveal_score\": 0, \"tension_score\": 2, \"environment_score\": 0, \"character_count\": 2, \"location_count\": 0, \"beat_count\": 3, \"continuation_of_prev\": false, \"time_mode\": \"mainline\", \"order_delta\": -7}, \"characters\": [\"李凡\", \"外门弟子\"], \"locations\": [], \"key_beats\": [\"王爷和李凡都傻逼了\", \"“你和我的手可能有点误会……”\", \"“师——傅——！”\"], \"entity_refs\": [{\"entity_uid\": \"E000003\", \"entity_id\": \"E000003\", \"name\": \"李凡\", \"canonical_name\": \"李凡\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"李凡\"], \"match_score\": 5.8, \"ref_role\": \"character_candidate\"}, {\"entity_uid\": \"E000052\", \"entity_id\": \"E000052\", \"name\": \"外门弟子\", \"canonical_name\": \"外门弟子\", \"type\": \"职位称号\", \"subtype\": \"\", \"matched_terms\": [\"王爷\"], \"match_score\": 2.3, \"ref_role\": \"character_candidate\"}]}}"
    }
  ]
}