{
  "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\": \"C0014-SC03\", \"title\": \"辞别十王\", \"summary\": \"太宗获准还阳，辞别十王，由崔判官、朱太尉引领，踏上回程，初见阴山。\", \"type\": [\"对话\"], \"tone\": [\"庄严\", \"悬疑\"], \"importance\": \"主线\", \"presentation\": [\"对白驱动\"], \"key_beats\": [\"太宗辞谢十王\", \"判官太尉引路\", \"初见幽冥背阴山\"], \"characters\": [\"唐太宗\", \"崔珪\", \"十代阎王\"], \"locations\": [\"幽冥界\"], \"entity_refs\": [{\"entity_id\": \"E000012\", \"entity_uid\": \"E000012\", \"name\": \"阎王\", \"canonical_name\": \"阎王\", \"type\": \"职位称号\", \"subtype\": \"\", \"matched_terms\": [\"阎王\"], \"match_score\": 5.1, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000039\", \"entity_uid\": \"E000039\", \"name\": \"幽冥界\", \"canonical_name\": \"幽冥界\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"森罗殿\", \"地府\"], \"match_score\": 4.3, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000089\", \"entity_uid\": \"E000089\", \"name\": \"唐太宗\", \"canonical_name\": \"唐太宗\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"太宗\", \"陛下\"], \"match_score\": 4.2, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000043\", \"entity_uid\": \"E000043\", \"name\": \"十代冥王\", \"canonical_name\": \"十代冥王\", \"type\": \"职位称号\", \"subtype\": \"\", \"matched_terms\": [\"十王\"], \"match_score\": 2.1, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000094\", \"entity_uid\": \"E000094\", \"name\": \"十代阎王\", \"canonical_name\": \"十代阎王\", \"type\": \"组织\", \"subtype\": \"\", \"matched_terms\": [\"十王\"], \"match_score\": 2.1, \"ref_role\": \"organization_candidate\"}, {\"entity_id\": \"E000093\", \"entity_uid\": \"E000093\", \"name\": \"崔珪\", \"canonical_name\": \"崔珪\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"崔判官\"], \"match_score\": 2.1, \"ref_role\": \"character_candidate\"}], \"continuation_of_prev\": false, \"source_chunk_id\": \"C0014\", \"source_start_para\": 371, \"source_end_para\": 376, \"text\": \"太宗闻言，躬身称谢。十阎王差崔判官、朱太尉二人，送太宗还魂。太宗出森罗殿，又起手问十王道：“朕宫中老少安否如何？”\\n\\n十王道：“俱安，但恐御妹寿似不永。”太宗又再拜启谢：“朕回阳世，无物可酬谢，惟答瓜果而已。”十王喜曰：“我处颇有东瓜西瓜，只少南瓜。”太宗道：“朕回去即送来，即送来。”从此遂相揖而别。\\n\\n那太尉执一首引魂幡，在前引路，崔判官随后保着太宗，径出幽司。太宗举目而看，不是旧路，问判官曰：“此路差矣？”\\n\\n判官道：“不差。阴司里是这般，有去路，无来路。如今送陛下自转轮藏出身，一则请陛下游观地府，一则教陛下转托超生。”\\n\\n太宗只得随他两个，引路前来。径行数里，忽见一座高山，阴云垂地，黑雾迷空。太宗道：“崔先生，那厢是甚么山？”判官道：\\n\\n“乃幽冥背阴山。”太宗悚惧道：“朕如何去得？”判官道：“陛下宽心，有臣等引领。”太宗战战兢兢，相随二人，上得山岩，抬头观看，只见：形多凸凹，势更崎岖。峻如蜀岭，高似庐岩。非阳世之名山，实阴司之险地。荆棘丛丛藏鬼怪，石崖磷磷隐邪魔。\", \"text_preview\": \"太宗闻言，躬身称谢。十阎王差崔判官、朱太尉二人，送太宗还魂。太宗出森罗殿，又起手问十王道：“朕宫中老少安否如何？” 十王道：“俱安，但恐御妹寿似不永。”太宗又…\", \"candidate_meta\": {\"candidate_id\": \"C0014-SC03\", \"record_count\": 6, \"char_len\": 441, \"structure_counts\": {\"body\": 5, \"dialogue\": 1}, \"boundary_reasons_after\": [\"time_transition\", \"dialogue_to_environment\"], \"matched_entities\": [{\"entity_id\": \"E000012\", \"name\": \"阎王\", \"type\": \"职位称号\", \"subtype\": \"\", \"matched_terms\": [\"阎王\"], \"score\": 5.1}, {\"entity_id\": \"E000039\", \"name\": \"幽冥界\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"森罗殿\", \"地府\"], \"score\": 4.3}, {\"entity_id\": \"E000089\", \"name\": \"唐太宗\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"太宗\", \"陛下\"], \"score\": 4.2}, {\"entity_id\": \"E000043\", \"name\": \"十代冥王\", \"type\": \"职位称号\", \"subtype\": \"\", \"matched_terms\": [\"十王\"], \"score\": 2.1}, {\"entity_id\": \"E000094\", \"name\": \"十代阎王\", \"type\": \"组织\", \"subtype\": \"\", \"matched_terms\": [\"十王\"], \"score\": 2.1}, {\"entity_id\": \"E000093\", \"name\": \"崔珪\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"崔判官\"], \"score\": 2.1}], \"entity_refs\": [{\"entity_id\": \"E000012\", \"entity_uid\": \"E000012\", \"name\": \"阎王\", \"canonical_name\": \"阎王\", \"type\": \"职位称号\", \"subtype\": \"\", \"matched_terms\": [\"阎王\"], \"match_score\": 5.1, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000039\", \"entity_uid\": \"E000039\", \"name\": \"幽冥界\", \"canonical_name\": \"幽冥界\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"森罗殿\", \"地府\"], \"match_score\": 4.3, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000089\", \"entity_uid\": \"E000089\", \"name\": \"唐太宗\", \"canonical_name\": \"唐太宗\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"太宗\", \"陛下\"], \"match_score\": 4.2, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000043\", \"entity_uid\": \"E000043\", \"name\": \"十代冥王\", \"canonical_name\": \"十代冥王\", \"type\": \"职位称号\", \"subtype\": \"\", \"matched_terms\": [\"十王\"], \"match_score\": 2.1, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000094\", \"entity_uid\": \"E000094\", \"name\": \"十代阎王\", \"canonical_name\": \"十代阎王\", \"type\": \"组织\", \"subtype\": \"\", \"matched_terms\": [\"十王\"], \"match_score\": 2.1, \"ref_role\": \"organization_candidate\"}, {\"entity_id\": \"E000093\", \"entity_uid\": \"E000093\", \"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\": \"S0067\"}\n\nCHRONOLOGY:\n{\"scene_id\": \"S0067\", \"title\": \"辞别十王\", \"summary\": \"太宗获准还阳，辞别十王，由崔判官、朱太尉引领，踏上回程，初见阴山。\", \"characters\": [\"唐太宗\", \"崔珪\", \"十代阎王\"], \"locations\": [\"幽冥界\"], \"key_beats\": [\"太宗辞谢十王\", \"判官太尉引路\", \"初见幽冥背阴山\"], \"source_chunk_id\": \"C0014\", \"source_start_para\": 371, \"source_end_para\": 376, \"continuation_of_prev\": false, \"narrative_order\": 67, \"time_mode\": \"mainline\", \"confidence\": 0.99, \"temporal_anchor\": {\"label\": \"随后\", \"normalized_label\": \"随后\", \"anchor_type\": \"forward_marker\", \"relative_direction\": \"after\", \"amount\": null, \"unit\": \"\", \"time_of_day\": \"\", \"explicit\": true, \"anchor_scene_id\": \"S0066\"}, \"temporal_evidence\": [{\"kind\": \"forward\", \"field\": \"text\", \"text\": \"随后\", \"snippet\": \"那太尉执一首引魂幡，在前引路，崔判官随后保着太宗，径出幽司。太宗举目而看，不是旧\"}], \"constraints\": [{\"relation\": \"after\", \"target_scene_id\": \"S0066\", \"confidence\": 0.78, \"reason\": \"narrative_forward\"}], \"similarity_to_prev\": 0.425, \"text_preview\": \"太宗闻言，躬身称谢。十阎王差崔判官、朱太尉二人，送太宗还魂。太宗出森罗殿，又起手问十王道：“朕宫中老少安否如何？” 十王道：“俱安，但恐御妹寿似不永。”太宗又…\", \"story_chronology_group\": \"CG0048\", \"story_chronology_order\": 49}\n\nENTITY CONTEXT:\n{\"registry_entities\": [{\"entity_uid\": \"E000012\", \"canonical_name\": \"阎王\", \"aliases\": [\"阎王老子\"], \"type\": \"职位称号\", \"subtype\": \"\", \"voice_card_id\": \"VO000012\"}, {\"entity_uid\": \"E000089\", \"canonical_name\": \"唐太宗\", \"aliases\": [\"太宗\", \"唐王\", \"陛下\", \"李世民\"], \"type\": \"人物\", \"subtype\": \"\", \"voice_card_id\": \"VO000089\"}, {\"entity_uid\": \"E000043\", \"canonical_name\": \"十代冥王\", \"aliases\": [\"十王\", \"冥王\", \"秦广王等\"], \"type\": \"职位称号\", \"subtype\": \"\", \"voice_card_id\": \"VO000043\"}, {\"entity_uid\": \"E000093\", \"canonical_name\": \"崔珪\", \"aliases\": [\"崔判官\", \"酆都判官\"], \"type\": \"人物\", \"subtype\": \"\", \"voice_card_id\": \"VO000093\"}, {\"entity_uid\": \"E000039\", \"canonical_name\": \"幽冥界\", \"aliases\": [\"森罗殿\", \"地府\", \"幽冥地府\"], \"type\": \"地点\", \"subtype\": \"\", \"voice_card_id\": \"\"}, {\"entity_uid\": \"E000094\", \"canonical_name\": \"十代阎王\", \"aliases\": [\"十王\"], \"type\": \"组织\", \"subtype\": \"\", \"voice_card_id\": \"\"}], \"kg_entities\": [{\"entity_id\": \"E000043\", \"name\": \"十代冥王\", \"type\": \"职位称号\", \"subtype\": \"\", \"aliases\": [\"十王\", \"冥王\", \"秦广王等\"], \"attributes\": {}, \"descriptions\": [\"幽冥界统治者\", \"十殿阎罗\"], \"evidence\": [\"我等是阴间天子十代冥王\"], \"mentions\": [{\"chunk_id\": \"C0005\", \"summary\": \"被孙悟空威吓取生死簿\", \"evidence\": [\"慌得那十代冥王急整衣来着\"], \"attributes\": {}}], \"mention_count\": 1, \"observation_count\": 1, \"first_seen\": \"C0005\", \"last_seen\": \"C0005\"}, {\"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\": \"E000093\", \"name\": \"崔珪\", \"type\": \"人物\", \"subtype\": \"\", \"aliases\": [\"崔判官\", \"酆都判官\"], \"attributes\": {}, \"descriptions\": [\"阴司掌案判官\", \"魏征故交\"], \"evidence\": [\"今在阴司，得受酆都掌案判官\", \"怀揣一本生死簿，注定存亡\"], \"mentions\": [{\"chunk_id\": \"C0014\", \"summary\": \"崔珪接太宗赠书\", \"evidence\": [\"今在阴司，得受酆都掌案判官\"], \"attributes\": {}}], \"mention_count\": 1, \"observation_count\": 1, \"first_seen\": \"C0014\", \"last_seen\": \"C0014\"}, {\"entity_id\": \"E000039\", \"name\": \"幽冥界\", \"type\": \"地点\", \"subtype\": \"\", \"aliases\": [\"森罗殿\", \"地府\", \"幽冥地府\"], \"attributes\": {}, \"descriptions\": [\"阎王所居\", \"勾魂之地\", \"阴司\", \"生死簿所在\", \"太宗魂游之地\", \"设十八层地狱\"], \"evidence\": [\"那城上有一铁牌，牌上有三个大字，乃“幽冥界”\", \"那城上有一铁牌...乃'幽冥界'\", \"城门上挂着一面大牌，上写着‘幽冥地府鬼门关’\", \"十王出在森罗宝殿，控背躬身迎迓太宗\"], \"mentions\": [{\"chunk_id\": \"C0004\", \"summary\": \"幽冥界乃阎王居\", \"evidence\": [\"那城上有一铁牌，牌上有三个大字，乃“幽冥界”\"], \"attributes\": {}}, {\"chunk_id\": \"C0005\", \"summary\": \"美猴王被勾魂带入\", \"evidence\": [\"美猴王顿然醒悟道:'幽冥界乃阎王所居'\"], \"attributes\": {}}, {\"chunk_id\": \"C0014\", \"summary\": \"太宗入幽冥界\", \"evidence\": [\"城门上挂着一面大牌，上写着‘幽冥地府鬼门关’\"], \"attributes\": {}}], \"mention_count\": 3, \"observation_count\": 3, \"first_seen\": \"C0004\", \"last_seen\": \"C0014\"}, {\"entity_id\": \"E000012\", \"name\": \"阎王\", \"type\": \"职位称号\", \"subtype\": \"\", \"aliases\": [\"阎王老子\"], \"attributes\": {}, \"descriptions\": [\"猴王担忧被其管辖\"], \"evidence\": [\"暗中有阎王老子管着\"], \"mentions\": [{\"chunk_id\": \"C0001\", \"summary\": \"猴王远虑之源\", \"evidence\": [\"一旦身亡，可不枉生世界之中\"], \"attributes\": {}}], \"mention_count\": 1, \"observation_count\": 1, \"first_seen\": \"C0001\", \"last_seen\": \"C0001\"}]}\n\nADAPTATION CANDIDATE:\n{\"scene_id\": \"S0067\", \"source_chunk_id\": \"C0014\", \"scene_summary\": \"太宗获准还阳，辞别十王，由崔判官、朱太尉引领，踏上回程，初见阴山。\", \"chronology\": {\"scene_id\": \"S0067\", \"narrative_order\": 67, \"story_chronology_order\": 49, \"story_chronology_group\": \"CG0048\", \"time_mode\": \"mainline\", \"confidence\": 0.99, \"order_delta\": -18, \"temporal_anchor\": {\"label\": \"随后\", \"normalized_label\": \"随后\", \"anchor_type\": \"forward_marker\", \"relative_direction\": \"after\", \"amount\": null, \"unit\": \"\", \"time_of_day\": \"\", \"explicit\": true, \"anchor_scene_id\": \"S0066\"}, \"constraints\": [{\"relation\": \"after\", \"target_scene_id\": \"S0066\", \"confidence\": 0.78, \"reason\": \"narrative_forward\"}], \"evidence\": [{\"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\": \"S0067\", \"decision_reasons\": [\"main_conflict_or_dialogue_dense\"], \"presentation_reasons\": [\"dialogue_priority\"], \"metrics\": {\"text_length\": 583, \"quote_count\": 13, \"action_score\": 0, \"exposition_score\": 0, \"inner_score\": 0, \"transition_score\": 1, \"reveal_score\": 0, \"tension_score\": 2, \"environment_score\": 0, \"character_count\": 5, \"location_count\": 1, \"beat_count\": 3, \"continuation_of_prev\": false, \"time_mode\": \"mainline\", \"order_delta\": -18}, \"characters\": [\"唐太宗\", \"崔珪\", \"十代阎王\", \"阎王\", \"十代冥王\"], \"locations\": [\"幽冥界\"], \"key_beats\": [\"太宗辞谢十王\", \"判官太尉引路\", \"初见幽冥背阴山\"], \"entity_refs\": [{\"entity_uid\": \"E000012\", \"entity_id\": \"E000012\", \"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\": \"E000039\", \"entity_id\": \"E000039\", \"canonical_name\": \"幽冥界\", \"name\": \"幽冥界\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"森罗殿\", \"地府\"], \"match_score\": 4.3, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"location_candidate\"}, {\"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\": \"E000043\", \"entity_id\": \"E000043\", \"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\": \"E000094\", \"entity_id\": \"E000094\", \"canonical_name\": \"十代阎王\", \"name\": \"十代阎王\", \"type\": \"组织\", \"subtype\": \"\", \"matched_terms\": [\"十王\"], \"match_score\": 2.1, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"organization_candidate\"}, {\"entity_uid\": \"E000093\", \"entity_id\": \"E000093\", \"canonical_name\": \"崔珪\", \"name\": \"崔珪\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"崔判官\"], \"match_score\": 2.1, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"character_candidate\"}]}}"
    }
  ]
}