{
  "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-SC05\", \"title\": \"闻歌遇樵夫\", \"summary\": \"美猴王在山中听到歌声，循声发现一砍柴樵夫。\", \"type\": [\"对话\", \"环境描写\"], \"tone\": [\"轻松\", \"好奇\"], \"importance\": \"主线\", \"presentation\": [\"对白驱动\", \"直接画面\"], \"key_beats\": [\"山中闻仙歌\", \"发现砍柴樵夫\"], \"characters\": [\"石猴\", \"樵子\"], \"locations\": [], \"entity_refs\": [{\"entity_id\": \"E000019\", \"entity_uid\": \"E000019\", \"name\": \"樵子\", \"canonical_name\": \"樵子\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"樵子\"], \"match_score\": 5.1, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000027\", \"entity_uid\": \"E000027\", \"name\": \"黄庭\", \"canonical_name\": \"黄庭\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"黄庭\"], \"match_score\": 5.1, \"ref_role\": \"other_candidate\"}, {\"entity_id\": \"E000001\", \"entity_uid\": \"E000001\", \"name\": \"石猴\", \"canonical_name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"美猴王\", \"猴王\"], \"match_score\": 4.8, \"ref_role\": \"character_candidate\"}], \"continuation_of_prev\": false, \"source_chunk_id\": \"C0001\", \"source_start_para\": 43, \"source_end_para\": 46, \"text\": \"正观看间，忽闻得林深之处，有人言语，急忙趋步，穿入林中，侧耳而听，原来是歌唱之声。歌曰：\\n\\n“观棋柯烂，伐木丁丁，云边谷口徐行，卖薪沽酒，狂笑自陶情。苍迳秋高，对月枕松根，一觉天明。认旧林，登崖过岭，持斧断枯藤。\\n\\n收来成一担，行歌市上，易米三升。更无些子争竞，时价平平，不会机谋巧算，没荣辱，恬淡衍生。相逢处，非仙即道，静坐讲黄庭。”美猴王听得此言，满心欢喜道：“神仙原来藏在这里！”急忙跳入里面，仔细再看，乃是一个樵子，在那里举斧砍柴。但看他打扮非常：\\n\\n头上戴箬笠，乃是新笋初脱之箨。身上穿布衣，乃是木绵捻就之纱。腰间系环绦，乃是老蚕口吐之丝。足下踏草履，乃是枯莎搓就之爽。手执衠钢斧，担挽火麻绳。扳松劈枯树，争似此樵能！\", \"text_preview\": \"正观看间，忽闻得林深之处，有人言语，急忙趋步，穿入林中，侧耳而听，原来是歌唱之声。歌曰： “观棋柯烂，伐木丁丁，云边谷口徐行，卖薪沽酒，狂笑自陶情。苍迳秋高，…\", \"candidate_meta\": {\"candidate_id\": \"C0001-SC05\", \"record_count\": 4, \"char_len\": 314, \"structure_counts\": {\"body\": 3, \"dialogue\": 1}, \"boundary_reasons_after\": [], \"matched_entities\": [{\"entity_id\": \"E000019\", \"name\": \"樵子\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"樵子\"], \"score\": 5.1}, {\"entity_id\": \"E000027\", \"name\": \"黄庭\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"黄庭\"], \"score\": 5.1}, {\"entity_id\": \"E000001\", \"name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"美猴王\", \"猴王\"], \"score\": 4.8}], \"entity_refs\": [{\"entity_id\": \"E000019\", \"entity_uid\": \"E000019\", \"name\": \"樵子\", \"canonical_name\": \"樵子\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"樵子\"], \"match_score\": 5.1, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000027\", \"entity_uid\": \"E000027\", \"name\": \"黄庭\", \"canonical_name\": \"黄庭\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"黄庭\"], \"match_score\": 5.1, \"ref_role\": \"other_candidate\"}, {\"entity_id\": \"E000001\", \"entity_uid\": \"E000001\", \"name\": \"石猴\", \"canonical_name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"美猴王\", \"猴王\"], \"match_score\": 4.8, \"ref_role\": \"character_candidate\"}], \"heuristic_types\": [\"对话\"], \"heuristic_tones\": [\"庄严\", \"轻松\"], \"heuristic_presentation\": [\"对白驱动\"], \"heuristic_importance\": \"主线\"}, \"scene_id\": \"S0005\"}\n\nCHRONOLOGY:\n{\"scene_id\": \"S0005\", \"title\": \"闻歌遇樵夫\", \"summary\": \"美猴王在山中听到歌声，循声发现一砍柴樵夫。\", \"characters\": [\"石猴\", \"樵子\"], \"locations\": [], \"key_beats\": [\"山中闻仙歌\", \"发现砍柴樵夫\"], \"source_chunk_id\": \"C0001\", \"source_start_para\": 43, \"source_end_para\": 46, \"continuation_of_prev\": false, \"narrative_order\": 5, \"time_mode\": \"mainline\", \"confidence\": 0.81, \"temporal_anchor\": {\"label\": \"\", \"normalized_label\": \"unknown\", \"anchor_type\": \"unknown\", \"relative_direction\": \"unknown\", \"amount\": null, \"unit\": \"\", \"time_of_day\": \"\", \"explicit\": false, \"anchor_scene_id\": \"S0004\"}, \"temporal_evidence\": [], \"constraints\": [{\"relation\": \"after\", \"target_scene_id\": \"S0004\", \"confidence\": 0.58, \"reason\": \"narrative_forward\"}], \"similarity_to_prev\": 0.25, \"text_preview\": \"正观看间，忽闻得林深之处，有人言语，急忙趋步，穿入林中，侧耳而听，原来是歌唱之声。歌曰： “观棋柯烂，伐木丁丁，云边谷口徐行，卖薪沽酒，狂笑自陶情。苍迳秋高，…\", \"story_chronology_group\": \"CG0004\", \"story_chronology_order\": 5}\n\nENTITY CONTEXT:\n{\"registry_entities\": [{\"entity_uid\": \"E000019\", \"canonical_name\": \"樵子\", \"aliases\": [\"砍柴人\"], \"type\": \"人物\", \"subtype\": \"\", \"voice_card_id\": \"VO000019\"}, {\"entity_uid\": \"E000001\", \"canonical_name\": \"石猴\", \"aliases\": [\"弼马温\", \"齐天大圣\", \"大圣\", \"妖猴\", \"孙大圣\", \"那厮\", \"美猴王\", \"弼马温猢狲\", \"猴王\", \"孙悟空\", \"猿猴怪\", \"姓孙的\"], \"type\": \"人物\", \"subtype\": \"\", \"voice_card_id\": \"VO000001\"}], \"kg_entities\": [{\"entity_id\": \"E000019\", \"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\"}, {\"entity_id\": \"E000001\", \"name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"aliases\": [\"弼马温\", \"齐天大圣\", \"大圣\", \"妖猴\", \"孙大圣\", \"那厮\", \"美猴王\", \"弼马温猢狲\", \"猴王\", \"孙悟空\", \"猿猴怪\", \"姓孙的\"], \"attributes\": {}, \"descriptions\": [\"打败巨灵神哪吒\", \"偷丹偷酒搅乱蟠桃会\", \"自称齐天之职\", \"与二郎神赌斗\", \"被八卦炉炼出火眼金睛\", \"与如来打赌失败被压五行山\", \"压于五行山下\", \"火眼金睛认菩萨\"], \"evidence\": [\"悟空笑道\", \"好大圣\", \"猴王得胜归山\", \"孙大圣不守执事\", \"中军里，立一竿旗，上书“齐天大圣”四字\", \"老君推入八卦炉锻炼；大圣跳出丹炉；与如来打赌被压五行山\", \"此却是那搅乱蟠桃会大闹天宫的齐天大圣，今乃压在此也\", \"大圣睁开火眼金睛，点着头儿高叫道\"], \"mentions\": [{\"chunk_id\": \"C0002\", \"summary\": \"猴王寻访神仙\", \"evidence\": [\"猴王近前叫道：“老神仙！弟子起手。”\"], \"attributes\": {}}, {\"chunk_id\": \"C0003\", \"summary\": \"悟空学成变化与筋斗云\", \"evidence\": [\"将七十二般变化，都学成了\"], \"attributes\": {}}, {\"chunk_id\": \"C0004\", \"summary\": \"美猴王操演武艺\", \"evidence\": [\"美猴王荣归故里\"], \"attributes\": {}}, {\"chunk_id\": \"C0004\", \"summary\": \"悟空使神通取兵器\", \"evidence\": [\"悟空心中想道\"], \"attributes\": {}}, {\"chunk_id\": \"C0005\", \"summary\": \"大闹幽冥界销生死簿\", \"evidence\": [\"悟空亲自检阅...方注着孙悟空名字\"], \"attributes\": {}}, {\"chunk_id\": \"C0006\", \"summary\": \"嫌弼马温官小反天\", \"evidence\": [\"猴王忽停杯问曰\"], \"attributes\": {}}, {\"chunk_id\": \"C0006\", \"summary\": \"打败巨灵神哪吒\", \"evidence\": [\"巨灵神抵敌他不住\"], \"attributes\": {}}, {\"chunk_id\": \"C0008\", \"summary\": \"战天兵使分身法\", \"evidence\": [\"大圣一条如意棒，翻来覆去战天神\"], \"attributes\": {}}, {\"chunk_id\": \"C0009\", \"summary\": \"旗号齐天大圣\", \"evidence\": [\"真君道：“那泼猴，怎么称得起齐天之职？”\"], \"attributes\": {}}, {\"chunk_id\": \"C0010\", \"summary\": \"八卦炉炼出火眼金睛\", \"evidence\": [\"把一双眼熏红了，弄做个老害眼病，故唤作‘火眼金睛’\"], \"attributes\": {}}, {\"chunk_id\": \"C0010\", \"summary\": \"与如来打赌被压五行山\", \"evidence\": [\"佛祖翻掌一扑，把这猴王推出西天门外，将五指化作五行山压住\"], \"attributes\": {}}, {\"chunk_id\": \"C0012\", \"summary\": \"压于五行山下\", \"evidence\": [\"此却是那搅乱蟠桃会大闹天宫的齐天大圣，今乃压在此也\"], \"attributes\": {}}], \"mention_count\": 14, \"observation_count\": 14, \"first_seen\": \"C0001\", \"last_seen\": \"C0012\"}]}\n\nADAPTATION CANDIDATE:\n{\"scene_id\": \"S0005\", \"source_chunk_id\": \"C0001\", \"scene_summary\": \"美猴王在山中听到歌声，循声发现一砍柴樵夫。\", \"chronology\": {\"scene_id\": \"S0005\", \"narrative_order\": 5, \"story_chronology_order\": 5, \"story_chronology_group\": \"CG0004\", \"time_mode\": \"mainline\", \"confidence\": 0.81, \"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\": \"S0004\"}, \"constraints\": [{\"relation\": \"after\", \"target_scene_id\": \"S0004\", \"confidence\": 0.58, \"reason\": \"narrative_forward\"}], \"evidence\": []}, \"decision\": \"retain\", \"presentation_mode\": \"exposition\", \"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；exposition_priority\", \"candidate_meta\": {\"scene_id\": \"S0005\", \"decision_reasons\": [\"main_conflict_or_dialogue_dense\"], \"presentation_reasons\": [\"exposition_priority\"], \"metrics\": {\"text_length\": 436, \"quote_count\": 1, \"action_score\": 0, \"exposition_score\": 8, \"inner_score\": 0, \"transition_score\": 0, \"reveal_score\": 5, \"tension_score\": 0, \"environment_score\": 2, \"character_count\": 2, \"location_count\": 0, \"beat_count\": 2, \"continuation_of_prev\": false, \"time_mode\": \"mainline\", \"order_delta\": 0}, \"characters\": [\"石猴\", \"樵子\"], \"locations\": [], \"key_beats\": [\"山中闻仙歌\", \"发现砍柴樵夫\"], \"entity_refs\": [{\"entity_uid\": \"E000019\", \"entity_id\": \"E000019\", \"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\": \"E000027\", \"entity_id\": \"E000027\", \"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\": \"E000001\", \"entity_id\": \"E000001\", \"canonical_name\": \"石猴\", \"name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"美猴王\", \"猴王\"], \"match_score\": 4.8, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"character_candidate\"}]}}"
    }
  ]
}