{
  "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\": \"C0013-SC06\", \"title\": \"门神镇鬼\", \"summary\": \"秦叔宝与胡敬德自请把守宫门，一夜无事。接连几夜护卫后，太宗不忍其辛苦，命画师绘二人真容贴于门上，夜间亦无事。\", \"type\": [\"对话\", \"动作\"], \"tone\": [\"庄严\", \"紧张\"], \"importance\": \"主线\", \"presentation\": [\"对白驱动\", \"直接画面\"], \"key_beats\": [\"秦琼敬德守宫门\", \"画像贴门镇鬼\"], \"characters\": [\"唐太宗\", \"秦叔宝\", \"胡敬德\", \"徐茂功\"], \"locations\": [\"皇宫宫门\"], \"entity_refs\": [{\"entity_id\": \"E000089\", \"entity_uid\": \"E000089\", \"name\": \"唐太宗\", \"canonical_name\": \"唐太宗\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"太宗\", \"陛下\"], \"match_score\": 4.2, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000090\", \"entity_uid\": \"E000090\", \"name\": \"秦叔宝\", \"canonical_name\": \"秦叔宝\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"叔宝\"], \"match_score\": 2.1, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000091\", \"entity_uid\": \"E000091\", \"name\": \"胡敬德\", \"canonical_name\": \"胡敬德\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"敬德\"], \"match_score\": 2.1, \"ref_role\": \"character_candidate\"}], \"continuation_of_prev\": false, \"source_chunk_id\": \"C0013\", \"source_start_para\": 358, \"source_end_para\": 360, \"text\": \"叔宝道：“陛下宽心，今晚臣与敬德把守宫门，看有甚么鬼祟。”\\n\\n太宗准奏，茂功谢恩而出。当日天晚，各取披挂，他两个介胄整齐，执金瓜钺斧，在宫门外把守。好将军！你看他怎生打扮：头戴金盔光烁烁，身披铠甲龙鳞。护心宝镜幌祥云，狮蛮收紧扣，绣带彩霞新。这一个凤眼朝天星斗怕，那一个环睛映电月光浮。他本是英雄豪杰旧勋臣，只落得千年称户尉，万古作门神。\\n\\n二将军侍立门旁，一夜天晚，更不曾见一点邪崇。是夜，太宗在宫，安寝无事，晓来宣二将军，重重赏劳道：“朕自得疾，数日不能得睡，今夜仗二将军威势甚安。卿且请出安息安息，待晚间再一护卫。”二将谢恩而出。遂此二三夜把守俱安，只是御膳减损，病转觉重。太宗又不忍二将辛苦，又宣叔宝、敬德与杜、房诸公入宫，吩咐道：“这两日朕虽得安，却只难为秦、胡二将军彻夜辛苦。朕欲召巧手丹青，传二将军真容，贴于门上，免得劳他，如何？”众臣即依旨，选两个会写真的，着胡、秦二公依前披挂，照样画了，贴在门上，夜间也即无事。\", \"text_preview\": \"叔宝道：“陛下宽心，今晚臣与敬德把守宫门，看有甚么鬼祟。” 太宗准奏，茂功谢恩而出。当日天晚，各取披挂，他两个介胄整齐，执金瓜钺斧，在宫门外把守。好将军！你看…\", \"candidate_meta\": {\"candidate_id\": \"C0013-SC06\", \"record_count\": 3, \"char_len\": 415, \"structure_counts\": {\"body\": 3}, \"boundary_reasons_after\": [\"time_transition\", \"location_transition\"], \"matched_entities\": [{\"entity_id\": \"E000089\", \"name\": \"唐太宗\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"太宗\", \"陛下\"], \"score\": 4.2}, {\"entity_id\": \"E000090\", \"name\": \"秦叔宝\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"叔宝\"], \"score\": 2.1}, {\"entity_id\": \"E000091\", \"name\": \"胡敬德\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"敬德\"], \"score\": 2.1}], \"entity_refs\": [{\"entity_id\": \"E000089\", \"entity_uid\": \"E000089\", \"name\": \"唐太宗\", \"canonical_name\": \"唐太宗\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"太宗\", \"陛下\"], \"match_score\": 4.2, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000090\", \"entity_uid\": \"E000090\", \"name\": \"秦叔宝\", \"canonical_name\": \"秦叔宝\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"叔宝\"], \"match_score\": 2.1, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000091\", \"entity_uid\": \"E000091\", \"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\": \"S0063\"}\n\nCHRONOLOGY:\n{\"scene_id\": \"S0063\", \"title\": \"门神镇鬼\", \"summary\": \"秦叔宝与胡敬德自请把守宫门，一夜无事。接连几夜护卫后，太宗不忍其辛苦，命画师绘二人真容贴于门上，夜间亦无事。\", \"characters\": [\"唐太宗\", \"秦叔宝\", \"胡敬德\", \"徐茂功\"], \"locations\": [\"皇宫宫门\"], \"key_beats\": [\"秦琼敬德守宫门\", \"画像贴门镇鬼\"], \"source_chunk_id\": \"C0013\", \"source_start_para\": 358, \"source_end_para\": 360, \"continuation_of_prev\": false, \"narrative_order\": 63, \"time_mode\": \"mainline\", \"confidence\": 0.685, \"temporal_anchor\": {\"label\": \"\", \"normalized_label\": \"unknown\", \"anchor_type\": \"unknown\", \"relative_direction\": \"unknown\", \"amount\": null, \"unit\": \"\", \"time_of_day\": \"\", \"explicit\": false, \"anchor_scene_id\": \"S0061\"}, \"temporal_evidence\": [], \"constraints\": [{\"relation\": \"after\", \"target_scene_id\": \"S0061\", \"confidence\": 0.58, \"reason\": \"narrative_forward\"}], \"similarity_to_prev\": 0.125, \"text_preview\": \"叔宝道：“陛下宽心，今晚臣与敬德把守宫门，看有甚么鬼祟。” 太宗准奏，茂功谢恩而出。当日天晚，各取披挂，他两个介胄整齐，执金瓜钺斧，在宫门外把守。好将军！你看…\", \"story_chronology_group\": \"CG0046\", \"story_chronology_order\": 46}\n\nENTITY CONTEXT:\n{\"registry_entities\": [{\"entity_uid\": \"E000089\", \"canonical_name\": \"唐太宗\", \"aliases\": [\"太宗\", \"唐王\", \"陛下\", \"李世民\"], \"type\": \"人物\", \"subtype\": \"\", \"voice_card_id\": \"VO000089\"}, {\"entity_uid\": \"E000090\", \"canonical_name\": \"秦叔宝\", \"aliases\": [\"叔宝\"], \"type\": \"人物\", \"subtype\": \"\", \"voice_card_id\": \"VO000090\"}, {\"entity_uid\": \"E000091\", \"canonical_name\": \"胡敬德\", \"aliases\": [\"敬德\", \"尉迟公\"], \"type\": \"人物\", \"subtype\": \"\", \"voice_card_id\": \"VO000091\"}], \"kg_entities\": [{\"entity_id\": \"E000089\", \"name\": \"唐太宗\", \"type\": \"人物\", \"subtype\": \"\", \"aliases\": [\"太宗\", \"唐王\", \"陛下\", \"李世民\"], \"attributes\": {}, \"descriptions\": [\"夜间得一怪梦\", \"心中悲喜不一\", \"接魏征书瞑目而亡\", \"魂游地府对案\"], \"evidence\": [\"唐王正梦出宫门之外\", \"太宗闻言，接在手中，笼入袖里，遂瞑目而亡\", \"太宗渺渺茫茫，魂灵径出五凤楼前\"], \"mentions\": [{\"chunk_id\": \"C0013\", \"summary\": \"唐太宗梦龙王求救\", \"evidence\": [\"唐王正梦出宫门之外\"], \"attributes\": {}}, {\"chunk_id\": \"C0014\", \"summary\": \"太宗魂游地府\", \"evidence\": [\"太宗闻言，接在手中，笼入袖里，遂瞑目而亡\"], \"attributes\": {}}], \"mention_count\": 2, \"observation_count\": 2, \"first_seen\": \"C0013\", \"last_seen\": \"C0014\"}, {\"entity_id\": \"E000090\", \"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\": \"E000091\", \"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\"}]}\n\nADAPTATION CANDIDATE:\n{\"scene_id\": \"S0063\", \"source_chunk_id\": \"C0013\", \"scene_summary\": \"秦叔宝与胡敬德自请把守宫门，一夜无事。接连几夜护卫后，太宗不忍其辛苦，命画师绘二人真容贴于门上，夜间亦无事。\", \"chronology\": {\"scene_id\": \"S0063\", \"narrative_order\": 63, \"story_chronology_order\": 46, \"story_chronology_group\": \"CG0046\", \"time_mode\": \"mainline\", \"confidence\": 0.685, \"order_delta\": -17, \"temporal_anchor\": {\"label\": \"\", \"normalized_label\": \"unknown\", \"anchor_type\": \"unknown\", \"relative_direction\": \"unknown\", \"amount\": null, \"unit\": \"\", \"time_of_day\": \"\", \"explicit\": false, \"anchor_scene_id\": \"S0061\"}, \"constraints\": [{\"relation\": \"after\", \"target_scene_id\": \"S0061\", \"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\": \"S0063\", \"decision_reasons\": [\"main_conflict_or_dialogue_dense\"], \"presentation_reasons\": [\"dialogue_priority\"], \"metrics\": {\"text_length\": 571, \"quote_count\": 4, \"action_score\": 0, \"exposition_score\": 0, \"inner_score\": 0, \"transition_score\": 0, \"reveal_score\": 0, \"tension_score\": 0, \"environment_score\": 0, \"character_count\": 4, \"location_count\": 1, \"beat_count\": 2, \"continuation_of_prev\": false, \"time_mode\": \"mainline\", \"order_delta\": -17}, \"characters\": [\"唐太宗\", \"秦叔宝\", \"胡敬德\", \"徐茂功\"], \"locations\": [\"皇宫宫门\"], \"key_beats\": [\"秦琼敬德守宫门\", \"画像贴门镇鬼\"], \"entity_refs\": [{\"entity_uid\": \"E000089\", \"entity_id\": \"E000089\", \"canonical_name\": \"唐太宗\", \"name\": \"唐太宗\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"太宗\", \"陛下\"], \"match_score\": 4.2, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"character_candidate\"}, {\"entity_uid\": \"E000090\", \"entity_id\": \"E000090\", \"canonical_name\": \"秦叔宝\", \"name\": \"秦叔宝\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"叔宝\"], \"match_score\": 2.1, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"character_candidate\"}, {\"entity_uid\": \"E000091\", \"entity_id\": \"E000091\", \"canonical_name\": \"胡敬德\", \"name\": \"胡敬德\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"敬德\"], \"match_score\": 2.1, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"character_candidate\"}]}}"
    }
  ]
}