{
  "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\": \"C0001-SC01\", \"title\": \"楔子：五代乱离至三登之世\", \"summary\": \"以诗开篇，回顾五代乱世至宋朝建立，仁宗皇帝在位时天下太平，后瘟疫爆发。\", \"type\": [\"叙事\", \"背景\"], \"tone\": [\"庄严\", \"宏大\"], \"importance\": \"主线\", \"presentation\": [\"叙事画面\", \"旁白\"], \"key_beats\": [\"五代乱离，宋朝开基\", \"仁宗皇帝与三登之世\", \"天下瘟疫盛行\"], \"characters\": [\"仁宗\", \"邵尧夫\", \"陈抟\", \"包拯\", \"狄青\"], \"locations\": [\"东京\", \"汴梁\", \"华山\"], \"entity_refs\": [{\"entity_id\": \"E000001\", \"entity_uid\": \"E000001\", \"name\": \"仁宗\", \"canonical_name\": \"仁宗\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"仁宗\", \"仁宗皇帝\"], \"match_score\": 7.2, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000007\", \"entity_uid\": \"E000007\", \"name\": \"瘟疫\", \"canonical_name\": \"瘟疫\", \"type\": \"事件仪式\", \"subtype\": \"\", \"matched_terms\": [\"瘟疫\"], \"match_score\": 5.1, \"ref_role\": \"other_candidate\"}, {\"entity_id\": \"E000002\", \"entity_uid\": \"E000002\", \"name\": \"洪信\", \"canonical_name\": \"洪信\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"洪太尉\", \"太尉\"], \"match_score\": 4.3, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000004\", \"entity_uid\": \"E000004\", \"name\": \"东京\", \"canonical_name\": \"东京\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"汴梁\"], \"match_score\": 2.3, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000023\", \"entity_uid\": \"E000023\", \"name\": \"小王都太尉\", \"canonical_name\": \"小王都太尉\", \"type\": \"职位称号\", \"subtype\": \"\", \"matched_terms\": [\"太尉\"], \"match_score\": 2.2, \"ref_role\": \"character_candidate\"}], \"continuation_of_prev\": false, \"source_chunk_id\": \"C0001\", \"source_start_para\": 1, \"source_end_para\": 8, \"text\": \"楔子　張天師祈禳瘟疫　洪太尉誤走妖魔\\n\\n紛紛五代亂離間，一旦雲開復見天！草木百年新雨露，車書萬里舊江山。尋常巷陌陳羅綺，幾處樓臺奏管絃。天下太平無事日，鶯花無限日高眠。\\n\\n話說這八句詩乃是故宋神宗天子朝中一個名儒，姓邵，諱堯夫，道號康節先生所作；為歎五代殘唐，天下干戈不息。那時朝屬梁，暮屬晉，正謂是：\\n\\n朱李石劉郭，梁唐晉漢周：都來十五帝，播亂五十秋。\\n\\n後來感得天道循環，向甲馬營中生下太祖武德皇帝來，這朝聖人出世，紅光滿天，異香經宿不散，乃是上界霹靂大仙下降。英雄勇猛，智量寬洪，自古帝王都不及這朝天子，一條桿棒等身齊，打四百座軍州都姓趙！那天子掃清寰宇，蕩靜中原，國號大宋，建都汴梁，九朝八帝班頭，四百年開基帝主。因此上，邵堯夫先生讚道：「一旦雲開復見天！」正如教百姓再見天日之面一般。\\n\\n那時西嶽華山有個陳摶處士，是個道高有德之人，能辨風雲氣色。一日，騎驢下山，向那華陰道中正行之間，聽得路上客人傳說：「如今東京柴世宗讓位與趙檢點登基。」那陳摶先生聽得，心中歡喜，以手加額，在驢背上大笑，顛下驢來。人問其故。那先生道：「天下從此定矣！正乃上合天心，下合地理，中合人和。」\\n\\n自庚申年間受禪，開基即位，在位一十七年，天下太平，傳位與御弟太宗。太宗皇帝在位二十二年，傳位與真宗皇帝，真宗又傳位與仁宗。這仁宗皇帝乃是上界赤腳大仙；降生之時，晝夜啼哭不止。朝廷出給黃榜，召人醫治，感動天庭，差遣太白金星下界，化作一老叟前來揭了黃榜，自言能止太子啼哭。看榜官員引至殿下朝見真宗。天子聖旨，教進內苑看視太子。那老叟直至宮中，抱著太子耳邊低低說了八個字，太字便不啼哭。那老叟不言姓名，只見化陣清風而去。\\n\\n耳邊道八個甚字？道是：「文有文曲，武有武曲。」端的是玉帝差遣紫微宮中兩座星辰下來輔佐這朝天子！文曲星乃是南衙開封府主龍圖閣大學士包拯。武曲星乃是征西夏國大元帥狄青。這兩個賢臣出來輔佐這朝皇帝，在位四十二年，改了九個年號。自天聖元年癸亥登基，至天聖九年，那時天下太平，五穀豐登，萬民樂業，路不拾遺，戶不夜閉，這九年謂之一登；自明道元年，至皇祐三年，這九年亦是豐富，謂之二登；自皇祐四年，至嘉祐二年，這九年田禾大熟，謂之三登。一連三九二十七年，號為「三登之世。」那時百姓受了些快樂，誰道樂極悲生：嘉祐三年春間，天下瘟疫盛行。自江南直至兩京，無一處人民不染此證。天下各州各府雪片也似申奏將來。\", \"text_preview\": \"楔子 張天師祈禳瘟疫 洪太尉誤走妖魔 紛紛五代亂離間，一旦雲開復見天！草木百年新雨露，車書萬里舊江山。尋常巷陌陳羅綺，幾處樓臺奏管絃。天下太平無事日，鶯花無限…\", \"candidate_meta\": {\"candidate_id\": \"C0001-SC01\", \"record_count\": 8, \"char_len\": 994, \"structure_counts\": {\"chapter_heading\": 1, \"body\": 7}, \"boundary_reasons_after\": [\"hard_length_break\"], \"matched_entities\": [{\"entity_id\": \"E000001\", \"name\": \"仁宗\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"仁宗\", \"仁宗皇帝\"], \"score\": 7.2}, {\"entity_id\": \"E000007\", \"name\": \"瘟疫\", \"type\": \"事件仪式\", \"subtype\": \"\", \"matched_terms\": [\"瘟疫\"], \"score\": 5.1}, {\"entity_id\": \"E000002\", \"name\": \"洪信\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"洪太尉\", \"太尉\"], \"score\": 4.3}, {\"entity_id\": \"E000004\", \"name\": \"东京\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"汴梁\"], \"score\": 2.3}, {\"entity_id\": \"E000023\", \"name\": \"小王都太尉\", \"type\": \"职位称号\", \"subtype\": \"\", \"matched_terms\": [\"太尉\"], \"score\": 2.2}], \"entity_refs\": [{\"entity_id\": \"E000001\", \"entity_uid\": \"E000001\", \"name\": \"仁宗\", \"canonical_name\": \"仁宗\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"仁宗\", \"仁宗皇帝\"], \"match_score\": 7.2, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000007\", \"entity_uid\": \"E000007\", \"name\": \"瘟疫\", \"canonical_name\": \"瘟疫\", \"type\": \"事件仪式\", \"subtype\": \"\", \"matched_terms\": [\"瘟疫\"], \"match_score\": 5.1, \"ref_role\": \"other_candidate\"}, {\"entity_id\": \"E000002\", \"entity_uid\": \"E000002\", \"name\": \"洪信\", \"canonical_name\": \"洪信\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"洪太尉\", \"太尉\"], \"match_score\": 4.3, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000004\", \"entity_uid\": \"E000004\", \"name\": \"东京\", \"canonical_name\": \"东京\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"汴梁\"], \"match_score\": 2.3, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000023\", \"entity_uid\": \"E000023\", \"name\": \"小王都太尉\", \"canonical_name\": \"小王都太尉\", \"type\": \"职位称号\", \"subtype\": \"\", \"matched_terms\": [\"太尉\"], \"match_score\": 2.2, \"ref_role\": \"character_candidate\"}], \"heuristic_types\": [\"叙事\"], \"heuristic_tones\": [\"庄严\", \"紧张\"], \"heuristic_presentation\": [\"叙事画面\"], \"heuristic_importance\": \"主线\"}, \"scene_id\": \"S0001\"}\n\nCHRONOLOGY:\n{\"scene_id\": \"S0001\", \"title\": \"楔子：五代乱离至三登之世\", \"summary\": \"以诗开篇，回顾五代乱世至宋朝建立，仁宗皇帝在位时天下太平，后瘟疫爆发。\", \"characters\": [\"仁宗\", \"邵尧夫\", \"陈抟\", \"包拯\", \"狄青\"], \"locations\": [\"东京\", \"汴梁\", \"华山\"], \"key_beats\": [\"五代乱离，宋朝开基\", \"仁宗皇帝与三登之世\", \"天下瘟疫盛行\"], \"source_chunk_id\": \"C0001\", \"source_start_para\": 1, \"source_end_para\": 8, \"continuation_of_prev\": false, \"narrative_order\": 1, \"time_mode\": \"unknown\", \"confidence\": 0.3, \"temporal_anchor\": {\"label\": \"\", \"normalized_label\": \"unknown\", \"anchor_type\": \"unknown\", \"relative_direction\": \"unknown\", \"amount\": null, \"unit\": \"\", \"time_of_day\": \"\", \"explicit\": false, \"anchor_scene_id\": \"\"}, \"temporal_evidence\": [], \"constraints\": [], \"similarity_to_prev\": 0.0, \"text_preview\": \"楔子 張天師祈禳瘟疫 洪太尉誤走妖魔 紛紛五代亂離間，一旦雲開復見天！草木百年新雨露，車書萬里舊江山。尋常巷陌陳羅綺，幾處樓臺奏管絃。天下太平無事日，鶯花無限…\", \"story_chronology_group\": \"CG0001\", \"story_chronology_order\": 1}\n\nENTITY CONTEXT:\n{\"registry_entities\": [{\"entity_uid\": \"E000001\", \"canonical_name\": \"仁宗\", \"aliases\": [\"仁宗皇帝\"], \"type\": \"人物\", \"subtype\": \"\", \"voice_card_id\": \"VO000001\"}, {\"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\": \"E000004\", \"canonical_name\": \"东京\", \"aliases\": [\"汴梁\", \"开封府\"], \"type\": \"地点\", \"subtype\": \"\", \"voice_card_id\": \"\"}], \"kg_entities\": [{\"entity_id\": \"E000004\", \"name\": \"东京\", \"type\": \"地点\", \"subtype\": \"\", \"aliases\": [\"汴梁\", \"开封府\"], \"attributes\": {}, \"descriptions\": [\"瘟疫盛行\", \"天师做法事处\", \"瘟疫尽消\", \"高俅活动地\"], \"evidence\": [\"且说东京城里城外军民死亡大半\", \"進得汴梁城，聞人所說：「天師在東京禁院做了七晝夜好事，普施符籙，禳救災病，瘟疫盡消，軍民安泰，天師辭朝，乘鶴駕雲，自回龍虎山去了。」\", \"只在东京城里城外帮闲\"], \"mentions\": [{\"chunk_id\": \"C0001\", \"summary\": \"东京瘟疫盛行\", \"evidence\": [\"离了东京，取路径投信州贵溪县来\"], \"attributes\": {}}, {\"chunk_id\": \"C0003\", \"summary\": \"天师在东京做法事\", \"evidence\": [\"進得汴梁城，聞人所說：「天師在東京禁院做了七晝夜好事，普施符籙，禳救災病，瘟疫盡消，軍民安泰，天師辭朝，乘鶴駕雲，自回龍虎山去了。」\"], \"attributes\": {}}, {\"chunk_id\": \"C0004\", \"summary\": \"高俅被逐出东京\", \"evidence\": [\"东京城里人民不许容他在家宿食\"], \"attributes\": {}}], \"mention_count\": 3, \"observation_count\": 3, \"first_seen\": \"C0001\", \"last_seen\": \"C0004\"}, {\"entity_id\": \"E000001\", \"name\": \"仁宗\", \"type\": \"人物\", \"subtype\": \"\", \"aliases\": [\"仁宗皇帝\"], \"attributes\": {}, \"descriptions\": [\"宋朝皇帝\", \"在位四十二年\", \"赏赐洪信\"], \"evidence\": [\"仁宗天子闻知，龙体不安\", \"仁宗准奏，賞賜洪信，復還舊職，亦不在話下。\"], \"mentions\": [{\"chunk_id\": \"C0001\", \"summary\": \"仁宗皇帝在位\", \"evidence\": [\"这仁宗皇帝乃是上界赤脚大仙\"], \"attributes\": {}}, {\"chunk_id\": \"C0003\", \"summary\": \"仁宗赏赐洪信\", \"evidence\": [\"仁宗准奏，賞賜洪信，復還舊職，亦不在話下。\"], \"attributes\": {}}], \"mention_count\": 2, \"observation_count\": 2, \"first_seen\": \"C0001\", \"last_seen\": \"C0003\"}, {\"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\"}]}\n\nADAPTATION CANDIDATE:\n{\"scene_id\": \"S0001\", \"source_chunk_id\": \"C0001\", \"scene_summary\": \"以诗开篇，回顾五代乱世至宋朝建立，仁宗皇帝在位时天下太平，后瘟疫爆发。\", \"chronology\": {\"scene_id\": \"S0001\", \"narrative_order\": 1, \"story_chronology_order\": 1, \"story_chronology_group\": \"CG0001\", \"time_mode\": \"unknown\", \"confidence\": 0.3, \"order_delta\": 0, \"temporal_anchor\": {\"label\": \"\", \"normalized_label\": \"unknown\", \"anchor_type\": \"unknown\", \"relative_direction\": \"unknown\", \"amount\": null, \"unit\": \"\", \"time_of_day\": \"\", \"explicit\": false, \"anchor_scene_id\": \"\"}, \"constraints\": [], \"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\": \"S0001\", \"decision_reasons\": [\"main_conflict_or_dialogue_dense\"], \"presentation_reasons\": [\"dialogue_priority\"], \"metrics\": {\"text_length\": 1151, \"quote_count\": 5, \"action_score\": 0, \"exposition_score\": 5, \"inner_score\": 1, \"transition_score\": 0, \"reveal_score\": 0, \"tension_score\": 2, \"environment_score\": 3, \"character_count\": 6, \"location_count\": 3, \"beat_count\": 3, \"continuation_of_prev\": false, \"time_mode\": \"unknown\", \"order_delta\": 0}, \"characters\": [\"仁宗\", \"邵尧夫\", \"陈抟\", \"包拯\", \"狄青\", \"洪信\"], \"locations\": [\"东京\", \"汴梁\", \"华山\"], \"key_beats\": [\"五代乱离，宋朝开基\", \"仁宗皇帝与三登之世\", \"天下瘟疫盛行\"], \"entity_refs\": [{\"entity_uid\": \"E000001\", \"entity_id\": \"E000001\", \"canonical_name\": \"仁宗\", \"name\": \"仁宗\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"仁宗\", \"仁宗皇帝\"], \"match_score\": 7.2, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"character_candidate\"}, {\"entity_uid\": \"E000007\", \"entity_id\": \"E000007\", \"canonical_name\": \"瘟疫\", \"name\": \"瘟疫\", \"type\": \"事件仪式\", \"subtype\": \"\", \"matched_terms\": [\"瘟疫\"], \"match_score\": 5.1, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"other_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\": \"E000004\", \"entity_id\": \"E000004\", \"canonical_name\": \"东京\", \"name\": \"东京\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"汴梁\"], \"match_score\": 2.3, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"location_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\"}]}}"
    }
  ]
}