{
  "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\": \"C0003-SC03\", \"title\": \"仙童迎客入洞府\", \"summary\": \"猴王找到洞府，见景致非凡。洞门开处，仙童出来，言明师父已知其来，引他入内。 美猴王随仙童进入斜月三星洞，拜见菩提祖师，说明来历，获赐孙姓。\", \"type\": [\"环境描写\", \"对话\", \"叙事\", \"动作\"], \"tone\": [\"庄严\", \"轻松\", \"期待\"], \"importance\": \"主线\", \"presentation\": [\"叙事画面\", \"氛围镜头\", \"对话\", \"直接画面\", \"对白驱动\"], \"key_beats\": [\"描绘洞府仙境\", \"仙童出门询问\", \"告知师父预知并引入\", \"仙童引猴王入洞\", \"猴王拜见菩提祖师\", \"祖师问出身赐孙姓\"], \"characters\": [\"石猴\", \"仙童\", \"菩提祖师\"], \"locations\": [\"斜月三星洞\"], \"entity_refs\": [{\"entity_id\": \"E000039\", \"entity_uid\": \"E000039\", \"name\": \"仙童\", \"canonical_name\": \"仙童\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"仙童\", \"童子\"], \"match_score\": 7.2, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000006\", \"entity_uid\": \"E000006\", \"name\": \"石猴\", \"canonical_name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"猴王\"], \"match_score\": 2.8, \"ref_role\": \"character_candidate\"}], \"continuation_of_prev\": false, \"source_chunk_id\": \"C0003\", \"source_start_para\": 111, \"source_end_para\": 117, \"text\": \"清奇，比尋常俗子不同。但見他：\\n\\n髽髻雙絲綰，寬袍兩袖風。\\n\\n貌和身自別，心與相俱空。\\n\\n物外長年客，山中永壽童。\\n\\n一塵全不染，甲子任翻騰。\\n\\n那童子出得門來，高叫道：「甚麼人在此搔擾？」猴王撲的跳下樹來，上前躬身\\n道：「仙童，我是個訪道學仙之弟子，更不敢在此搔擾。」仙童笑道：「你是個\\n訪道的麼？」猴王道：「是。」童子道：「我家師父正才下榻，登壇講道，還未\\n\\n說出原由，就教我出來開門。說：『外面有個修行的來了，可去接待接待。』想\\n必就是你了？」猴王笑道：「是我，是我。」童子道：「你跟我進來。」\", \"text_preview\": \"清奇，比尋常俗子不同。但見他： 髽髻雙絲綰，寬袍兩袖風。 貌和身自別，心與相俱空。 物外長年客，山中永壽童。 一塵全不染，甲子任翻騰。 那童子出得門來，高叫道…\", \"candidate_meta\": {\"candidate_id\": \"C0003-SC03\", \"record_count\": 7, \"char_len\": 250, \"structure_counts\": {\"short_line\": 5, \"body\": 2}, \"boundary_reasons_after\": [], \"matched_entities\": [{\"entity_id\": \"E000039\", \"name\": \"仙童\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"仙童\", \"童子\"], \"score\": 7.2}, {\"entity_id\": \"E000006\", \"name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"猴王\"], \"score\": 2.8}], \"entity_refs\": [{\"entity_id\": \"E000039\", \"entity_uid\": \"E000039\", \"name\": \"仙童\", \"canonical_name\": \"仙童\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"仙童\", \"童子\"], \"match_score\": 7.2, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000006\", \"entity_uid\": \"E000006\", \"name\": \"石猴\", \"canonical_name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"猴王\"], \"match_score\": 2.8, \"ref_role\": \"character_candidate\"}], \"heuristic_types\": [\"叙事\"], \"heuristic_tones\": [\"庄严\", \"轻松\"], \"heuristic_presentation\": [\"叙事画面\"], \"heuristic_importance\": \"主线\"}, \"scene_id\": \"S0007\"}\n\nCHRONOLOGY:\n{\"scene_id\": \"S0007\", \"title\": \"仙童迎客入洞府\", \"summary\": \"猴王找到洞府，见景致非凡。洞门开处，仙童出来，言明师父已知其来，引他入内。 美猴王随仙童进入斜月三星洞，拜见菩提祖师，说明来历，获赐孙姓。\", \"characters\": [\"石猴\", \"仙童\", \"菩提祖师\"], \"locations\": [\"斜月三星洞\"], \"key_beats\": [\"描绘洞府仙境\", \"仙童出门询问\", \"告知师父预知并引入\", \"仙童引猴王入洞\", \"猴王拜见菩提祖师\", \"祖师问出身赐孙姓\"], \"source_chunk_id\": \"C0003\", \"source_start_para\": 111, \"source_end_para\": 117, \"continuation_of_prev\": false, \"narrative_order\": 7, \"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\": \"S0006\"}, \"temporal_evidence\": [], \"constraints\": [{\"relation\": \"after\", \"target_scene_id\": \"S0006\", \"confidence\": 0.58, \"reason\": \"narrative_forward\"}], \"similarity_to_prev\": 0.3, \"text_preview\": \"清奇，比尋常俗子不同。但見他： 髽髻雙絲綰，寬袍兩袖風。 貌和身自別，心與相俱空。 物外長年客，山中永壽童。 一塵全不染，甲子任翻騰。 那童子出得門來，高叫道…\", \"story_chronology_group\": \"CG0007\", \"story_chronology_order\": 7}\n\nENTITY CONTEXT:\n{\"registry_entities\": [{\"entity_uid\": \"E000039\", \"canonical_name\": \"仙童\", \"aliases\": [\"童子\"], \"type\": \"人物\", \"subtype\": \"\", \"voice_card_id\": \"VO000039\"}, {\"entity_uid\": \"E000006\", \"canonical_name\": \"石猴\", \"aliases\": [\"猴王\", \"孙悟空\", \"孙悟\", \"悟空\", \"猢猻\", \"潑猴\", \"水帘洞洞主\", \"老孙\", \"孙\", \"老孫\", \"妖猴\", \"弼马温\"], \"type\": \"人物\", \"subtype\": \"\", \"voice_card_id\": \"VO000006\"}, {\"entity_uid\": \"E000041\", \"canonical_name\": \"菩提祖师\", \"aliases\": [\"祖師\", \"师父\", \"老師父\", \"老爺\"], \"type\": \"人物\", \"subtype\": \"\", \"voice_card_id\": \"VO000041\"}, {\"entity_uid\": \"E000037\", \"canonical_name\": \"斜月三星洞\", \"aliases\": [\"洞府\", \"洞天\", \"三星洞\", \"三星仙洞\", \"水脏洞\"], \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"voice_card_id\": \"\"}], \"kg_entities\": [{\"entity_id\": \"E000039\", \"name\": \"仙童\", \"type\": \"人物\", \"subtype\": \"\", \"aliases\": [\"童子\"], \"attributes\": {}, \"descriptions\": [\"斜月三星洞童子\", \"丰姿英伟\", \"接待猴王\"], \"evidence\": [\"里面走出一个仙童\", \"童子出得门来\", \"童子道：你跟我进来；随童子径入洞天深处\"], \"mentions\": [{\"chunk_id\": \"C0003\", \"summary\": \"开门接待猴王\", \"evidence\": [\"里面走出一个仙童\"], \"attributes\": {}}, {\"chunk_id\": \"C0004\", \"summary\": \"引猴王见祖师\", \"evidence\": [\"童子道：你跟我进来；随童子径入洞天深处\"], \"attributes\": {}}], \"mention_count\": 2, \"observation_count\": 2, \"first_seen\": \"C0003\", \"last_seen\": \"C0004\"}, {\"entity_id\": \"E000006\", \"name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"aliases\": [\"猴王\", \"孙悟空\", \"孙悟\", \"悟空\", \"猢猻\", \"潑猴\", \"水帘洞洞主\", \"老孙\", \"孙\", \"老孫\", \"妖猴\", \"弼马温\"], \"attributes\": {}, \"descriptions\": [\"花果山水帘洞洞主\", \"学得手段\", \"花果山天生圣人\", \"有七十二般变化\", \"花果山水帘洞天生圣人\", \"修了仙道与天齐寿\", \"花果山水帘洞妖仙\", \"强销死籍\"], \"evidence\": [\"悟空道：「靜字門中是甚正果？」\", \"悟空道；悟空伸手；悟空闻说\", \"悟空闻说，心中大怒\", \"吾乃花果山天生聖人孫悟空\", \"悟空道：「老孫不會使刀，乞另賜一件。」\", \"我本是花果山水簾洞天生聖人孫悟空\", \"花果山水簾洞天產妖猴孫悟空\", \"猴王有分来天境，不堕人间点污泥。\"], \"mentions\": [{\"chunk_id\": \"C0004\", \"summary\": \"拜师菩提祖师\", \"evidence\": [\"猴王整衣端肃随童子入洞；美猴王倒身下拜；弟子飘洋过海登界游方；教你姓孙罢；起个法名叫做孙悟空\"], \"attributes\": {}}, {\"chunk_id\": \"C0004\", \"summary\": \"菩提祖师赐姓孙\", \"evidence\": [\"教你姓『孙』罢\"], \"attributes\": {}}, {\"chunk_id\": \"C0005\", \"summary\": \"询问静字门正果\", \"evidence\": [\"悟空道：「靜字門中是甚正果？」\"], \"attributes\": {}}, {\"chunk_id\": \"C0005\", \"summary\": \"询问动字门道法\", \"evidence\": [\"悟空道：「動門之道卻又怎麼？」\"], \"attributes\": {}}, {\"chunk_id\": \"C0006\", \"summary\": \"学地煞变化觔斗云\", \"evidence\": [\"悟空道；悟空伸手；悟空闻说\"], \"attributes\": {}}, {\"chunk_id\": \"C0007\", \"summary\": \"听闻妖魔欺虐大怒\", \"evidence\": [\"悟空闻说，心中大怒\"], \"attributes\": {}}, {\"chunk_id\": \"C0008\", \"summary\": \"自称花果山天生圣人\", \"evidence\": [\"吾乃花果山天生聖人孫悟空\"], \"attributes\": {}}, {\"chunk_id\": \"C0009\", \"summary\": \"索要兵器披掛\", \"evidence\": [\"悟空道：「老孫不會使刀，乞另賜一件。」\"], \"attributes\": {}}, {\"chunk_id\": \"C0010\", \"summary\": \"自称孙悟空\", \"evidence\": [\"我本是花果山水簾洞天生聖人孫悟空\"], \"attributes\": {}}, {\"chunk_id\": \"C0011\", \"summary\": \"被龙王和地府告状\", \"evidence\": [\"花果山水簾洞住妖仙孫悟空者\"], \"attributes\": {}}, {\"chunk_id\": \"C0012\", \"summary\": \"被太白金星领至灵霄殿\", \"evidence\": [\"太白金星领着美猴王，到于灵霄殿外\"], \"attributes\": {}}, {\"chunk_id\": \"C0012\", \"summary\": \"受封弼马温\", \"evidence\": [\"玉帝传旨道：就除他做个弼马温罢\"], \"attributes\": {}}], \"mention_count\": 16, \"observation_count\": 16, \"first_seen\": \"C0001\", \"last_seen\": \"C0012\"}]}\n\nADAPTATION CANDIDATE:\n{\"scene_id\": \"S0007\", \"source_chunk_id\": \"C0003\", \"scene_summary\": \"猴王找到洞府，见景致非凡。洞门开处，仙童出来，言明师父已知其来，引他入内。 美猴王随仙童进入斜月三星洞，拜见菩提祖师，说明来历，获赐孙姓。\", \"chronology\": {\"scene_id\": \"S0007\", \"narrative_order\": 7, \"story_chronology_order\": 7, \"story_chronology_group\": \"CG0007\", \"time_mode\": \"mainline\", \"confidence\": 0.86, \"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\": \"S0006\"}, \"constraints\": [{\"relation\": \"after\", \"target_scene_id\": \"S0006\", \"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\": \"S0007\", \"decision_reasons\": [\"main_conflict_or_dialogue_dense\"], \"presentation_reasons\": [\"dialogue_priority\"], \"metrics\": {\"text_length\": 459, \"quote_count\": 6, \"action_score\": 0, \"exposition_score\": 1, \"inner_score\": 0, \"transition_score\": 0, \"reveal_score\": 0, \"tension_score\": 0, \"environment_score\": 5, \"character_count\": 3, \"location_count\": 1, \"beat_count\": 6, \"continuation_of_prev\": false, \"time_mode\": \"mainline\", \"order_delta\": 0}, \"characters\": [\"石猴\", \"仙童\", \"菩提祖师\"], \"locations\": [\"斜月三星洞\"], \"key_beats\": [\"描绘洞府仙境\", \"仙童出门询问\", \"告知师父预知并引入\", \"仙童引猴王入洞\", \"猴王拜见菩提祖师\", \"祖师问出身赐孙姓\"], \"entity_refs\": [{\"entity_uid\": \"E000039\", \"entity_id\": \"E000039\", \"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\": \"E000006\", \"entity_id\": \"E000006\", \"canonical_name\": \"石猴\", \"name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"猴王\"], \"match_score\": 2.8, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"character_candidate\"}]}}"
    }
  ]
}