{
  "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\": \"C0002-SC03\", \"title\": \"太尉懊悔安顿\", \"summary\": \"洪太尉懊悔错过天师，真人安慰并安排宴席，将丹诏收藏于上清宫。 洪太尉游览龙虎山，执意打开伏魔之殿，发现石碣上刻有“遇洪而开”。\", \"type\": [\"叙事\", \"收束\", \"动作\", \"对话\"], \"tone\": [\"庄严\", \"平静\", \"紧张\", \"神秘\"], \"importance\": \"支线\", \"presentation\": [\"叙事画面\", \"对话收尾\", \"直接画面\", \"对话推进\"], \"key_beats\": [\"太尉懊悔错过\", \"真人安抚并安排后续\", \"丹诏收藏龙香焚烧\", \"洪太尉游览道观\", \"发现并执意打开伏魔殿\", \"看到石碣上“遇洪而开”四字\"], \"characters\": [\"洪信\", \"真人\", \"道童\"], \"locations\": [\"上清宫\", \"三清殿\", \"伏魔之殿\"], \"entity_refs\": [{\"entity_id\": \"E000014\", \"entity_uid\": \"E000014\", \"name\": \"三清殿\", \"canonical_name\": \"三清殿\", \"type\": \"地点\", \"subtype\": \"洞府/殿阁\", \"matched_terms\": [\"三清殿\"], \"match_score\": 5.1, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000015\", \"entity_uid\": \"E000015\", \"name\": \"真人\", \"canonical_name\": \"真人\", \"type\": \"职位称号\", \"subtype\": \"真人\", \"matched_terms\": [\"真人\"], \"match_score\": 5.1, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000002\", \"entity_uid\": \"E000002\", \"name\": \"洪信\", \"canonical_name\": \"洪信\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"洪太尉\", \"太尉\"], \"match_score\": 4.3, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000023\", \"entity_uid\": \"E000023\", \"name\": \"小王都太尉\", \"canonical_name\": \"小王都太尉\", \"type\": \"职位称号\", \"subtype\": \"\", \"matched_terms\": [\"太尉\"], \"match_score\": 2.2, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000008\", \"entity_uid\": \"E000008\", \"name\": \"罗天大醮\", \"canonical_name\": \"罗天大醮\", \"type\": \"事件仪式\", \"subtype\": \"\", \"matched_terms\": [\"醮事\"], \"match_score\": 2.2, \"ref_role\": \"other_candidate\"}], \"continuation_of_prev\": false, \"source_chunk_id\": \"C0002\", \"source_start_para\": 22, \"source_end_para\": 22, \"text\": \"洪太尉道：「我直如此有眼不識真師，當面錯過！」真人道：「太尉，且請放心。既然祖師法旨道是去了，比及太尉回京之日，這場醮事，祖師已都完了。」太尉見說，方纔放心。真人一面教安排筵宴管待太尉，請將丹詔收藏於御書匣內，留在上清宮中；龍香就三清殿上燒了。當日方丈內大排齋供，設宴飲酌。至晚席罷，止宿到曉。\", \"text_preview\": \"洪太尉道：「我直如此有眼不識真師，當面錯過！」真人道：「太尉，且請放心。既然祖師法旨道是去了，比及太尉回京之日，這場醮事，祖師已都完了。」太尉見說，方纔放心。…\", \"candidate_meta\": {\"candidate_id\": \"C0002-SC03\", \"record_count\": 1, \"char_len\": 147, \"structure_counts\": {\"body\": 1}, \"boundary_reasons_after\": [], \"matched_entities\": [{\"entity_id\": \"E000014\", \"name\": \"三清殿\", \"type\": \"地点\", \"subtype\": \"洞府/殿阁\", \"matched_terms\": [\"三清殿\"], \"score\": 5.1}, {\"entity_id\": \"E000015\", \"name\": \"真人\", \"type\": \"职位称号\", \"subtype\": \"真人\", \"matched_terms\": [\"真人\"], \"score\": 5.1}, {\"entity_id\": \"E000002\", \"name\": \"洪信\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"洪太尉\", \"太尉\"], \"score\": 4.3}, {\"entity_id\": \"E000023\", \"name\": \"小王都太尉\", \"type\": \"职位称号\", \"subtype\": \"\", \"matched_terms\": [\"太尉\"], \"score\": 2.2}, {\"entity_id\": \"E000008\", \"name\": \"罗天大醮\", \"type\": \"事件仪式\", \"subtype\": \"\", \"matched_terms\": [\"醮事\"], \"score\": 2.2}], \"entity_refs\": [{\"entity_id\": \"E000014\", \"entity_uid\": \"E000014\", \"name\": \"三清殿\", \"canonical_name\": \"三清殿\", \"type\": \"地点\", \"subtype\": \"洞府/殿阁\", \"matched_terms\": [\"三清殿\"], \"match_score\": 5.1, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000015\", \"entity_uid\": \"E000015\", \"name\": \"真人\", \"canonical_name\": \"真人\", \"type\": \"职位称号\", \"subtype\": \"真人\", \"matched_terms\": [\"真人\"], \"match_score\": 5.1, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000002\", \"entity_uid\": \"E000002\", \"name\": \"洪信\", \"canonical_name\": \"洪信\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"洪太尉\", \"太尉\"], \"match_score\": 4.3, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000023\", \"entity_uid\": \"E000023\", \"name\": \"小王都太尉\", \"canonical_name\": \"小王都太尉\", \"type\": \"职位称号\", \"subtype\": \"\", \"matched_terms\": [\"太尉\"], \"match_score\": 2.2, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000008\", \"entity_uid\": \"E000008\", \"name\": \"罗天大醮\", \"canonical_name\": \"罗天大醮\", \"type\": \"事件仪式\", \"subtype\": \"\", \"matched_terms\": [\"醮事\"], \"match_score\": 2.2, \"ref_role\": \"other_candidate\"}], \"heuristic_types\": [\"叙事\"], \"heuristic_tones\": [\"庄严\"], \"heuristic_presentation\": [\"叙事画面\"], \"heuristic_importance\": \"支线\"}, \"scene_id\": \"S0004\"}\n\nCHRONOLOGY:\n{\"scene_id\": \"S0004\", \"title\": \"太尉懊悔安顿\", \"summary\": \"洪太尉懊悔错过天师，真人安慰并安排宴席，将丹诏收藏于上清宫。 洪太尉游览龙虎山，执意打开伏魔之殿，发现石碣上刻有“遇洪而开”。\", \"characters\": [\"洪信\", \"真人\", \"道童\"], \"locations\": [\"上清宫\", \"三清殿\", \"伏魔之殿\"], \"key_beats\": [\"太尉懊悔错过\", \"真人安抚并安排后续\", \"丹诏收藏龙香焚烧\", \"洪太尉游览道观\", \"发现并执意打开伏魔殿\", \"看到石碣上“遇洪而开”四字\"], \"source_chunk_id\": \"C0002\", \"source_start_para\": 22, \"source_end_para\": 22, \"continuation_of_prev\": false, \"narrative_order\": 4, \"time_mode\": \"mainline\", \"confidence\": 0.86, \"temporal_anchor\": {\"label\": \"\", \"normalized_label\": \"unknown\", \"anchor_type\": \"unknown\", \"relative_direction\": \"unknown\", \"amount\": null, \"unit\": \"\", \"time_of_day\": \"\", \"explicit\": false, \"anchor_scene_id\": \"S0003\"}, \"temporal_evidence\": [], \"constraints\": [{\"relation\": \"after\", \"target_scene_id\": \"S0003\", \"confidence\": 0.58, \"reason\": \"narrative_forward\"}], \"similarity_to_prev\": 0.5, \"text_preview\": \"洪太尉道：「我直如此有眼不識真師，當面錯過！」真人道：「太尉，且請放心。既然祖師法旨道是去了，比及太尉回京之日，這場醮事，祖師已都完了。」太尉見說，方纔放心。…\", \"story_chronology_group\": \"CG0003\", \"story_chronology_order\": 3}\n\nENTITY CONTEXT:\n{\"registry_entities\": [{\"entity_uid\": \"E000015\", \"canonical_name\": \"真人\", \"aliases\": [], \"type\": \"职位称号\", \"subtype\": \"真人\", \"voice_card_id\": \"VO000015\"}, {\"entity_uid\": \"E000002\", \"canonical_name\": \"洪信\", \"aliases\": [\"洪太尉\", \"太尉\"], \"type\": \"人物\", \"subtype\": \"\", \"voice_card_id\": \"VO000002\"}, {\"entity_uid\": \"E000023\", \"canonical_name\": \"小王都太尉\", \"aliases\": [\"王都尉\", \"王驸马\", \"太尉\"], \"type\": \"职位称号\", \"subtype\": \"\", \"voice_card_id\": \"VO000023\"}, {\"entity_uid\": \"E000014\", \"canonical_name\": \"三清殿\", \"aliases\": [], \"type\": \"地点\", \"subtype\": \"洞府/殿阁\", \"voice_card_id\": \"\"}, {\"entity_uid\": \"E000011\", \"canonical_name\": \"道童\", \"aliases\": [\"牧童\"], \"type\": \"人物\", \"subtype\": \"\", \"voice_card_id\": \"VO000011\"}, {\"entity_uid\": \"E000006\", \"canonical_name\": \"上清宫\", \"aliases\": [], \"type\": \"地点\", \"subtype\": \"洞府/殿阁\", \"voice_card_id\": \"\"}, {\"entity_uid\": \"E000016\", \"canonical_name\": \"伏魔之殿\", \"aliases\": [\"伏魔殿\"], \"type\": \"地点\", \"subtype\": \"洞府/殿阁\", \"voice_card_id\": \"\"}], \"kg_entities\": [{\"entity_id\": \"E000014\", \"name\": \"三清殿\", \"type\": \"地点\", \"subtype\": \"洞府/殿阁\", \"aliases\": [], \"attributes\": {}, \"descriptions\": [\"烧龙香之处\"], \"evidence\": [\"龙香就三清殿上烧了\"], \"mentions\": [{\"chunk_id\": \"C0002\", \"summary\": \"焚烧御香地点\", \"evidence\": [\"龙香就三清殿上烧了\"], \"attributes\": {}}], \"mention_count\": 1, \"observation_count\": 1, \"first_seen\": \"C0002\", \"last_seen\": \"C0002\"}, {\"entity_id\": \"E000023\", \"name\": \"小王都太尉\", \"type\": \"职位称号\", \"subtype\": \"\", \"aliases\": [\"王都尉\", \"王驸马\", \"太尉\"], \"attributes\": {}, \"descriptions\": [\"喜爱风流人物\", \"赴端王宴\", \"同意高俅留宫\"], \"evidence\": [\"这太尉乃是哲宗皇帝妹夫\", \"请王都尉宫中赴宴\", \"王都尉答道\"], \"mentions\": [{\"chunk_id\": \"C0004\", \"summary\": \"王都尉收留高俅\", \"evidence\": [\"收留高俅在府内做个亲随\"], \"attributes\": {}}, {\"chunk_id\": \"C0005\", \"summary\": \"王都尉赴宴\", \"evidence\": [\"王都尉出来\"], \"attributes\": {}}], \"mention_count\": 2, \"observation_count\": 2, \"first_seen\": \"C0004\", \"last_seen\": \"C0005\"}, {\"entity_id\": \"E000002\", \"name\": \"洪信\", \"type\": \"人物\", \"subtype\": \"\", \"aliases\": [\"洪太尉\", \"太尉\"], \"attributes\": {}, \"descriptions\": [\"钦差前往龙虎山\", \"前往龙虎山请天师\", \"放走妖魔\"], \"evidence\": [\"钦差内外提点殿前太尉洪信为天使\", \"太尉居中坐下\", \"洪太尉道：「我直如此有眼不識真師，當面錯過！」\"], \"mentions\": [{\"chunk_id\": \"C0001\", \"summary\": \"洪太尉领旨前往\", \"evidence\": [\"洪信领了圣敕，辞别天子\"], \"attributes\": {}}, {\"chunk_id\": \"C0002\", \"summary\": \"太尉上山遇险\", \"evidence\": [\"洪太尉吃了一惊\"], \"attributes\": {}}, {\"chunk_id\": \"C0003\", \"summary\": \"洪太尉与真人对话\", \"evidence\": [\"洪太尉道：「我直如此有眼不識真師，當面錯過！」\"], \"attributes\": {}}], \"mention_count\": 3, \"observation_count\": 3, \"first_seen\": \"C0001\", \"last_seen\": \"C0003\"}, {\"entity_id\": \"E000015\", \"name\": \"真人\", \"type\": \"职位称号\", \"subtype\": \"真人\", \"aliases\": [], \"attributes\": {}, \"descriptions\": [\"龙虎山道士\", \"看守伏魔殿\"], \"evidence\": [\"真人道：「太尉，且請放心。既然祖師法旨道是去了，比及太尉回京之日，這場醮事，祖師已都完了。」\"], \"mentions\": [{\"chunk_id\": \"C0003\", \"summary\": \"真人劝阻洪太尉\", \"evidence\": [\"真人答道：「此乃是前代老租天師鎖鎮魔王之殿。」\"], \"attributes\": {}}], \"mention_count\": 1, \"observation_count\": 1, \"first_seen\": \"C0003\", \"last_seen\": \"C0003\"}]}\n\nADAPTATION CANDIDATE:\n{\"scene_id\": \"S0004\", \"source_chunk_id\": \"C0002\", \"scene_summary\": \"洪太尉懊悔错过天师，真人安慰并安排宴席，将丹诏收藏于上清宫。 洪太尉游览龙虎山，执意打开伏魔之殿，发现石碣上刻有“遇洪而开”。\", \"chronology\": {\"scene_id\": \"S0004\", \"narrative_order\": 4, \"story_chronology_order\": 3, \"story_chronology_group\": \"CG0003\", \"time_mode\": \"mainline\", \"confidence\": 0.86, \"order_delta\": -1, \"temporal_anchor\": {\"label\": \"\", \"normalized_label\": \"unknown\", \"anchor_type\": \"unknown\", \"relative_direction\": \"unknown\", \"amount\": null, \"unit\": \"\", \"time_of_day\": \"\", \"explicit\": false, \"anchor_scene_id\": \"S0003\"}, \"constraints\": [{\"relation\": \"after\", \"target_scene_id\": \"S0003\", \"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\": \"S0004\", \"decision_reasons\": [\"main_conflict_or_dialogue_dense\"], \"presentation_reasons\": [\"dialogue_priority\"], \"metrics\": {\"text_length\": 358, \"quote_count\": 6, \"action_score\": 0, \"exposition_score\": 0, \"inner_score\": 0, \"transition_score\": 0, \"reveal_score\": 2, \"tension_score\": 2, \"environment_score\": 0, \"character_count\": 4, \"location_count\": 3, \"beat_count\": 6, \"continuation_of_prev\": false, \"time_mode\": \"mainline\", \"order_delta\": -1}, \"characters\": [\"洪信\", \"真人\", \"道童\", \"小王都太尉\"], \"locations\": [\"上清宫\", \"三清殿\", \"伏魔之殿\"], \"key_beats\": [\"太尉懊悔错过\", \"真人安抚并安排后续\", \"丹诏收藏龙香焚烧\", \"洪太尉游览道观\", \"发现并执意打开伏魔殿\", \"看到石碣上“遇洪而开”四字\"], \"entity_refs\": [{\"entity_uid\": \"E000014\", \"entity_id\": \"E000014\", \"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\": \"E000015\", \"entity_id\": \"E000015\", \"canonical_name\": \"真人\", \"name\": \"真人\", \"type\": \"职位称号\", \"subtype\": \"真人\", \"matched_terms\": [\"真人\"], \"match_score\": 5.1, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"character_candidate\"}, {\"entity_uid\": \"E000002\", \"entity_id\": \"E000002\", \"canonical_name\": \"洪信\", \"name\": \"洪信\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"洪太尉\", \"太尉\"], \"match_score\": 4.3, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"character_candidate\"}, {\"entity_uid\": \"E000023\", \"entity_id\": \"E000023\", \"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\": \"E000008\", \"entity_id\": \"E000008\", \"canonical_name\": \"罗天大醮\", \"name\": \"罗天大醮\", \"type\": \"事件仪式\", \"subtype\": \"\", \"matched_terms\": [\"醮事\"], \"match_score\": 2.2, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"other_candidate\"}]}}"
    }
  ]
}