{
  "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\": \"C0012-SC05\", \"title\": \"龙王闻讯\", \"summary\": \"泾河夜叉听到渔樵对话，报告龙王，龙王变作秀士前往长安查探。\", \"type\": [\"对话\", \"动作\"], \"tone\": [\"紧张\", \"悬疑\"], \"importance\": \"主线\", \"presentation\": [\"对白驱动\", \"直接画面\"], \"key_beats\": [\"夜叉报信\", \"龙王怒而欲行\", \"变秀士入长安\"], \"characters\": [\"泾河龙王\", \"夜叉\", \"龙子龙孙\"], \"locations\": [\"泾河水府\", \"长安城\"], \"entity_refs\": [{\"entity_id\": \"E000083\", \"entity_uid\": \"E000083\", \"name\": \"长安城\", \"canonical_name\": \"长安城\", \"type\": \"地点\", \"subtype\": \"城镇/疆域\", \"matched_terms\": [\"长安城\"], \"match_score\": 5.1, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000087\", \"entity_uid\": \"E000087\", \"name\": \"泾河龙王\", \"canonical_name\": \"泾河龙王\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"龙王\"], \"match_score\": 2.1, \"ref_role\": \"character_candidate\"}], \"continuation_of_prev\": false, \"source_chunk_id\": \"C0012\", \"source_start_para\": 336, \"source_end_para\": 339, \"text\": \"这正是路上说话，草里有人。原来这泾河水府有一个巡水的夜叉，听见了百下百着之言，急转水晶宫，慌忙报与龙王道：\\n\\n“祸事了！祸事了！”龙王问：“有甚祸事？”夜叉道：“臣巡水去到河边，只听得两个渔樵攀话。相别时，言语甚是历害。那渔翁说：长安城里西门街上，有个卖卦先生，算得最准。他每日送他鲤鱼一尾，他就袖传一课，教他百下百着。若依此等算准，却不将水族尽情打了？何以壮观水府，何以跃浪翻波辅助大王威力？”龙王甚怒，急提了剑就要上长安城，诛灭这卖卦的。旁边闪过龙子龙孙、虾臣蟹士、鲥军师鳜少卿鲤太宰，一齐启奏道：\\n\\n“大王且息怒。常言道，过耳之言，不可听信。大王此去，必有云从，必有雨助，恐惊了长安黎庶，上天见责。大王隐显莫测，变化无方，但只变一秀士，到长安城内，访问一番。果有此辈，容加诛灭不迟；若无此辈，可不是妄害他人也？”龙王依奏，遂弃宝剑，也不兴云雨，出岸上，摇身一变，变作一个白衣秀士，真个丰姿英伟，耸壑昂霄。步履端祥，循规蹈矩。语言遵孔孟，礼貌体周文。身穿玉色罗襕服，头戴逍遥一字巾。上路来拽开云步，径到长安城西门大街上。只见一簇人，挤挤杂杂，闹闹哄哄，内有高谈阔论的道：“属龙的本命，属虎的相冲。寅辰巳亥，虽称合局，但只怕的是日犯岁君。”龙王闻言，情知是那卖卜之处，走上前，分开众人，望里观看，只见：四壁珠玑，满堂绮绣。\\n\\n宝鸭香无断，磁瓶水恁清。两边罗列王维画，座上高悬鬼谷形。\", \"text_preview\": \"这正是路上说话，草里有人。原来这泾河水府有一个巡水的夜叉，听见了百下百着之言，急转水晶宫，慌忙报与龙王道： “祸事了！祸事了！”龙王问：“有甚祸事？”夜叉道：…\", \"candidate_meta\": {\"candidate_id\": \"C0012-SC05\", \"record_count\": 4, \"char_len\": 592, \"structure_counts\": {\"body\": 2, \"dialogue\": 2}, \"boundary_reasons_after\": [], \"matched_entities\": [{\"entity_id\": \"E000083\", \"name\": \"长安城\", \"type\": \"地点\", \"subtype\": \"城镇/疆域\", \"matched_terms\": [\"长安城\"], \"score\": 5.1}, {\"entity_id\": \"E000087\", \"name\": \"泾河龙王\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"龙王\"], \"score\": 2.1}], \"entity_refs\": [{\"entity_id\": \"E000083\", \"entity_uid\": \"E000083\", \"name\": \"长安城\", \"canonical_name\": \"长安城\", \"type\": \"地点\", \"subtype\": \"城镇/疆域\", \"matched_terms\": [\"长安城\"], \"match_score\": 5.1, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000087\", \"entity_uid\": \"E000087\", \"name\": \"泾河龙王\", \"canonical_name\": \"泾河龙王\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"龙王\"], \"match_score\": 2.1, \"ref_role\": \"character_candidate\"}], \"heuristic_types\": [\"对话\", \"动作\"], \"heuristic_tones\": [\"庄严\", \"紧张\"], \"heuristic_presentation\": [\"对白驱动\", \"直接画面\"], \"heuristic_importance\": \"主线\"}, \"scene_id\": \"S0057\"}\n\nCHRONOLOGY:\n{\"scene_id\": \"S0057\", \"title\": \"龙王闻讯\", \"summary\": \"泾河夜叉听到渔樵对话，报告龙王，龙王变作秀士前往长安查探。\", \"characters\": [\"泾河龙王\", \"夜叉\", \"龙子龙孙\"], \"locations\": [\"泾河水府\", \"长安城\"], \"key_beats\": [\"夜叉报信\", \"龙王怒而欲行\", \"变秀士入长安\"], \"source_chunk_id\": \"C0012\", \"source_start_para\": 336, \"source_end_para\": 339, \"continuation_of_prev\": false, \"narrative_order\": 57, \"time_mode\": \"mainline\", \"confidence\": 0.56, \"temporal_anchor\": {\"label\": \"\", \"normalized_label\": \"unknown\", \"anchor_type\": \"unknown\", \"relative_direction\": \"unknown\", \"amount\": null, \"unit\": \"\", \"time_of_day\": \"\", \"explicit\": false, \"anchor_scene_id\": \"S0056\"}, \"temporal_evidence\": [], \"constraints\": [{\"relation\": \"after\", \"target_scene_id\": \"S0056\", \"confidence\": 0.58, \"reason\": \"narrative_forward\"}], \"similarity_to_prev\": 0.0, \"text_preview\": \"这正是路上说话，草里有人。原来这泾河水府有一个巡水的夜叉，听见了百下百着之言，急转水晶宫，慌忙报与龙王道： “祸事了！祸事了！”龙王问：“有甚祸事？”夜叉道：…\", \"story_chronology_group\": \"CG0042\", \"story_chronology_order\": 43}\n\nENTITY CONTEXT:\n{\"registry_entities\": [{\"entity_uid\": \"E000087\", \"canonical_name\": \"泾河龙王\", \"aliases\": [\"龙王\", \"业龙\"], \"type\": \"人物\", \"subtype\": \"\", \"voice_card_id\": \"VO000087\"}, {\"entity_uid\": \"E000083\", \"canonical_name\": \"长安城\", \"aliases\": [\"长安大唐国\", \"都城大国\"], \"type\": \"地点\", \"subtype\": \"城镇/疆域\", \"voice_card_id\": \"\"}], \"kg_entities\": [{\"entity_id\": \"E000087\", \"name\": \"泾河龙王\", \"type\": \"人物\", \"subtype\": \"\", \"aliases\": [\"龙王\", \"业龙\"], \"attributes\": {}, \"descriptions\": [\"违了玉帝敕旨，改了时辰\", \"该人曹官魏征处斩\"], \"evidence\": [\"龙王入门来，与先生相见\"], \"mentions\": [{\"chunk_id\": \"C0013\", \"summary\": \"泾河龙王接旨\", \"evidence\": [\"泾河龙王接旨\"], \"attributes\": {}}], \"mention_count\": 1, \"observation_count\": 1, \"first_seen\": \"C0013\", \"last_seen\": \"C0013\"}, {\"entity_id\": \"E000083\", \"name\": \"长安城\", \"type\": \"地点\", \"subtype\": \"城镇/疆域\", \"aliases\": [\"长安大唐国\", \"都城大国\"], \"attributes\": {}, \"descriptions\": [\"历代帝王建都之地\", \"八水绕城流\"], \"evidence\": [\"此单表陕西大国长安城，乃历代帝王建都之地\", \"八水周流绕四山\"], \"mentions\": [{\"chunk_id\": \"C0012\", \"summary\": \"历代帝王建都地\", \"evidence\": [\"此单表陕西大国长安城，乃历代帝王建都之地\"], \"attributes\": {}}], \"mention_count\": 1, \"observation_count\": 1, \"first_seen\": \"C0012\", \"last_seen\": \"C0012\"}]}\n\nADAPTATION CANDIDATE:\n{\"scene_id\": \"S0057\", \"source_chunk_id\": \"C0012\", \"scene_summary\": \"泾河夜叉听到渔樵对话，报告龙王，龙王变作秀士前往长安查探。\", \"chronology\": {\"scene_id\": \"S0057\", \"narrative_order\": 57, \"story_chronology_order\": 43, \"story_chronology_group\": \"CG0042\", \"time_mode\": \"mainline\", \"confidence\": 0.56, \"order_delta\": -14, \"temporal_anchor\": {\"label\": \"\", \"normalized_label\": \"unknown\", \"anchor_type\": \"unknown\", \"relative_direction\": \"unknown\", \"amount\": null, \"unit\": \"\", \"time_of_day\": \"\", \"explicit\": false, \"anchor_scene_id\": \"S0056\"}, \"constraints\": [{\"relation\": \"after\", \"target_scene_id\": \"S0056\", \"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\": \"S0057\", \"decision_reasons\": [\"main_conflict_or_dialogue_dense\"], \"presentation_reasons\": [\"dialogue_priority\"], \"metrics\": {\"text_length\": 727, \"quote_count\": 7, \"action_score\": 1, \"exposition_score\": 2, \"inner_score\": 0, \"transition_score\": 0, \"reveal_score\": 2, \"tension_score\": 4, \"environment_score\": 2, \"character_count\": 3, \"location_count\": 2, \"beat_count\": 3, \"continuation_of_prev\": false, \"time_mode\": \"mainline\", \"order_delta\": -14}, \"characters\": [\"泾河龙王\", \"夜叉\", \"龙子龙孙\"], \"locations\": [\"泾河水府\", \"长安城\"], \"key_beats\": [\"夜叉报信\", \"龙王怒而欲行\", \"变秀士入长安\"], \"entity_refs\": [{\"entity_uid\": \"E000083\", \"entity_id\": \"E000083\", \"canonical_name\": \"长安城\", \"name\": \"长安城\", \"type\": \"地点\", \"subtype\": \"城镇/疆域\", \"matched_terms\": [\"长安城\"], \"match_score\": 5.1, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"location_candidate\"}, {\"entity_uid\": \"E000087\", \"entity_id\": \"E000087\", \"canonical_name\": \"泾河龙王\", \"name\": \"泾河龙王\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"龙王\"], \"match_score\": 2.1, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"character_candidate\"}]}}"
    }
  ]
}