{
  "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-SC07\", \"title\": \"后门护卫\", \"summary\": \"几日后，后宫门又闻砖瓦乱响。徐茂功奏请魏征把守后门。魏征提剑侍立一夜，无事。但太宗病体渐重，太后召众臣商议后事。\", \"type\": [\"对话\", \"动作\"], \"tone\": [\"庄严\", \"紧张\"], \"importance\": \"主线\", \"presentation\": [\"对白驱动\", \"直接画面\"], \"key_beats\": [\"魏征守后门\", \"太宗病重托后事\"], \"characters\": [\"唐太宗\", \"魏征\", \"徐茂功\", \"秦叔宝\", \"胡敬德\", \"太后\"], \"locations\": [\"皇宫后宰门\"], \"entity_refs\": [{\"entity_id\": \"E000088\", \"entity_uid\": \"E000088\", \"name\": \"魏征\", \"canonical_name\": \"魏征\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"魏征\"], \"match_score\": 5.2, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000089\", \"entity_uid\": \"E000089\", \"name\": \"唐太宗\", \"canonical_name\": \"唐太宗\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"太宗\"], \"match_score\": 2.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\": 361, \"source_end_para\": 361, \"text\": \"如此二三日，又听得后宰门乒乓乒乓砖瓦乱响，晓来急宣众臣曰：“连日前门幸喜无事，今夜后门又响，却不又惊杀寡人也！”茂功进前奏道：“前门不安，是敬德、叔宝护卫；后门不安，该着魏征护卫。”太宗准奏，又宣魏征今夜把守后门。征领旨，当夜结束整齐，提着那诛龙的宝剑，侍立在后宰门前，真个的好英雄也！他怎生打扮：熟绢青巾抹额，锦袍玉带垂腰，兜风氅袖采霜飘，压赛垒荼神貌。脚踏乌靴坐折，手持利刃凶骁。圆睁两眼四边瞧，那个邪神敢到？一夜通明，也无鬼魅。虽是前后门无事，只是身体渐重。一日，太后又传旨，召众臣商议殡殓后事。太宗又宣徐茂功，吩咐国家大事，叮嘱仿刘蜀主托孤之意。言毕，沐浴更衣，待时而已。旁闪魏征，手扯龙衣，奏道：\", \"text_preview\": \"如此二三日，又听得后宰门乒乓乒乓砖瓦乱响，晓来急宣众臣曰：“连日前门幸喜无事，今夜后门又响，却不又惊杀寡人也！”茂功进前奏道：“前门不安，是敬德、叔宝护卫；后…\", \"candidate_meta\": {\"candidate_id\": \"C0013-SC07\", \"record_count\": 1, \"char_len\": 303, \"structure_counts\": {\"body\": 1}, \"boundary_reasons_after\": [], \"matched_entities\": [{\"entity_id\": \"E000088\", \"name\": \"魏征\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"魏征\"], \"score\": 5.2}, {\"entity_id\": \"E000089\", \"name\": \"唐太宗\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"太宗\"], \"score\": 2.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\": \"E000088\", \"entity_uid\": \"E000088\", \"name\": \"魏征\", \"canonical_name\": \"魏征\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"魏征\"], \"match_score\": 5.2, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000089\", \"entity_uid\": \"E000089\", \"name\": \"唐太宗\", \"canonical_name\": \"唐太宗\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"太宗\"], \"match_score\": 2.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\": \"S0064\"}\n\nCHRONOLOGY:\n{\"scene_id\": \"S0064\", \"title\": \"后门护卫\", \"summary\": \"几日后，后宫门又闻砖瓦乱响。徐茂功奏请魏征把守后门。魏征提剑侍立一夜，无事。但太宗病体渐重，太后召众臣商议后事。\", \"characters\": [\"唐太宗\", \"魏征\", \"徐茂功\", \"秦叔宝\", \"胡敬德\", \"太后\"], \"locations\": [\"皇宫后宰门\"], \"key_beats\": [\"魏征守后门\", \"太宗病重托后事\"], \"source_chunk_id\": \"C0013\", \"source_start_para\": 361, \"source_end_para\": 361, \"continuation_of_prev\": false, \"narrative_order\": 64, \"time_mode\": \"mainline\", \"confidence\": 0.99, \"temporal_anchor\": {\"label\": \"几日后\", \"normalized_label\": \"future:日\", \"anchor_type\": \"relative_future\", \"relative_direction\": \"after\", \"amount\": null, \"unit\": \"日\", \"time_of_day\": \"\", \"explicit\": true, \"anchor_scene_id\": \"S0063\"}, \"temporal_evidence\": [{\"kind\": \"relative_future\", \"field\": \"summary\", \"text\": \"几日后\", \"snippet\": \"几日后，后宫门又闻砖瓦乱响。徐茂功奏请魏征把守\", \"amount\": null, \"unit\": \"日\", \"direction\": \"future\"}, {\"kind\": \"forward\", \"field\": \"text\", \"text\": \"当夜\", \"snippet\": \"太宗准奏，又宣魏征今夜把守后门。征领旨，当夜结束整齐，提着那诛龙的宝剑，侍立在后宰门\"}], \"constraints\": [{\"relation\": \"after\", \"target_scene_id\": \"S0063\", \"confidence\": 0.78, \"reason\": \"narrative_forward\"}], \"similarity_to_prev\": 0.333, \"text_preview\": \"如此二三日，又听得后宰门乒乓乒乓砖瓦乱响，晓来急宣众臣曰：“连日前门幸喜无事，今夜后门又响，却不又惊杀寡人也！”茂功进前奏道：“前门不安，是敬德、叔宝护卫；后…\", \"story_chronology_group\": \"CG0047\", \"story_chronology_order\": 47}\n\nENTITY CONTEXT:\n{\"registry_entities\": [{\"entity_uid\": \"E000088\", \"canonical_name\": \"魏征\", \"aliases\": [\"人曹官\", \"丞相\"], \"type\": \"人物\", \"subtype\": \"\", \"voice_card_id\": \"VO000088\"}, {\"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\"}, {\"entity_id\": \"E000088\", \"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\"}]}\n\nADAPTATION CANDIDATE:\n{\"scene_id\": \"S0064\", \"source_chunk_id\": \"C0013\", \"scene_summary\": \"几日后，后宫门又闻砖瓦乱响。徐茂功奏请魏征把守后门。魏征提剑侍立一夜，无事。但太宗病体渐重，太后召众臣商议后事。\", \"chronology\": {\"scene_id\": \"S0064\", \"narrative_order\": 64, \"story_chronology_order\": 47, \"story_chronology_group\": \"CG0047\", \"time_mode\": \"mainline\", \"confidence\": 0.99, \"order_delta\": -17, \"temporal_anchor\": {\"label\": \"几日后\", \"normalized_label\": \"future:日\", \"anchor_type\": \"relative_future\", \"relative_direction\": \"after\", \"amount\": null, \"unit\": \"日\", \"time_of_day\": \"\", \"explicit\": true, \"anchor_scene_id\": \"S0063\"}, \"constraints\": [{\"relation\": \"after\", \"target_scene_id\": \"S0063\", \"confidence\": 0.78, \"reason\": \"narrative_forward\"}], \"evidence\": [{\"kind\": \"relative_future\", \"field\": \"summary\", \"text\": \"几日后\", \"snippet\": \"几日后，后宫门又闻砖瓦乱响。徐茂功奏请魏征把守\"}, {\"kind\": \"forward\", \"field\": \"text\", \"text\": \"当夜\", \"snippet\": \"太宗准奏，又宣魏征今夜把守后门。征领旨，当夜结束整齐，提着那诛龙的宝剑，侍立在后宰门\"}]}, \"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\": \"S0064\", \"decision_reasons\": [\"main_conflict_or_dialogue_dense\"], \"presentation_reasons\": [\"dialogue_priority\"], \"metrics\": {\"text_length\": 460, \"quote_count\": 3, \"action_score\": 0, \"exposition_score\": 0, \"inner_score\": 3, \"transition_score\": 1, \"reveal_score\": 0, \"tension_score\": 4, \"environment_score\": 0, \"character_count\": 6, \"location_count\": 1, \"beat_count\": 2, \"continuation_of_prev\": false, \"time_mode\": \"mainline\", \"order_delta\": -17}, \"characters\": [\"唐太宗\", \"魏征\", \"徐茂功\", \"秦叔宝\", \"胡敬德\", \"太后\"], \"locations\": [\"皇宫后宰门\"], \"key_beats\": [\"魏征守后门\", \"太宗病重托后事\"], \"entity_refs\": [{\"entity_uid\": \"E000088\", \"entity_id\": \"E000088\", \"canonical_name\": \"魏征\", \"name\": \"魏征\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"魏征\"], \"match_score\": 5.2, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"character_candidate\"}, {\"entity_uid\": \"E000089\", \"entity_id\": \"E000089\", \"canonical_name\": \"唐太宗\", \"name\": \"唐太宗\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"太宗\"], \"match_score\": 2.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\"}]}}"
    }
  ]
}