{
  "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\": \"C0004-SC02\", \"title\": \"得名悟空\", \"summary\": \"菩提祖师为猴王起法名孙悟空，猴王欢喜接受。\", \"type\": [\"叙事\"], \"tone\": [\"庄严\"], \"importance\": \"主线\", \"presentation\": [\"叙事画面\"], \"key_beats\": [\"祖师赐名孙悟空\", \"猴王欢喜接受\"], \"characters\": [\"石猴\"], \"locations\": [\"斜月三星洞\"], \"entity_refs\": [{\"entity_id\": \"E000006\", \"entity_uid\": \"E000006\", \"name\": \"石猴\", \"canonical_name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"猴王\", \"悟空\"], \"match_score\": 4.8, \"ref_role\": \"character_candidate\"}], \"continuation_of_prev\": false, \"source_chunk_id\": \"C0004\", \"source_start_para\": 130, \"source_end_para\": 132, \"text\": \"『孫悟空』，好麼？」猴王笑道：「好！好！好！自今就叫做孫悟空也。」正是：\\n\\n鴻濛初闢原無姓，打破頑空須悟空。\\n\\n畢竟不知向後修些甚麼道果，且聽下回分解。\", \"text_preview\": \"『孫悟空』，好麼？」猴王笑道：「好！好！好！自今就叫做孫悟空也。」正是： 鴻濛初闢原無姓，打破頑空須悟空。 畢竟不知向後修些甚麼道果，且聽下回分解\", \"candidate_meta\": {\"candidate_id\": \"C0004-SC02\", \"record_count\": 3, \"char_len\": 76, \"structure_counts\": {\"dialogue\": 1, \"short_line\": 1, \"body\": 1}, \"boundary_reasons_after\": [\"chapter_heading\"], \"matched_entities\": [{\"entity_id\": \"E000006\", \"name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"猴王\", \"悟空\"], \"score\": 4.8}], \"entity_refs\": [{\"entity_id\": \"E000006\", \"entity_uid\": \"E000006\", \"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\": \"S0008\"}\n\nCHRONOLOGY:\n{\"scene_id\": \"S0008\", \"title\": \"得名悟空\", \"summary\": \"菩提祖师为猴王起法名孙悟空，猴王欢喜接受。\", \"characters\": [\"石猴\"], \"locations\": [\"斜月三星洞\"], \"key_beats\": [\"祖师赐名孙悟空\", \"猴王欢喜接受\"], \"source_chunk_id\": \"C0004\", \"source_start_para\": 130, \"source_end_para\": 132, \"continuation_of_prev\": false, \"narrative_order\": 8, \"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\": \"S0007\"}, \"temporal_evidence\": [], \"constraints\": [{\"relation\": \"after\", \"target_scene_id\": \"S0007\", \"confidence\": 0.58, \"reason\": \"narrative_forward\"}], \"similarity_to_prev\": 0.517, \"text_preview\": \"『孫悟空』，好麼？」猴王笑道：「好！好！好！自今就叫做孫悟空也。」正是： 鴻濛初闢原無姓，打破頑空須悟空。 畢竟不知向後修些甚麼道果，且聽下回分解\", \"story_chronology_group\": \"CG0008\", \"story_chronology_order\": 8}\n\nENTITY CONTEXT:\n{\"registry_entities\": [{\"entity_uid\": \"E000006\", \"canonical_name\": \"石猴\", \"aliases\": [\"猴王\", \"孙悟空\", \"孙悟\", \"悟空\", \"猢猻\", \"潑猴\", \"水帘洞洞主\", \"老孙\", \"孙\", \"老孫\", \"妖猴\", \"弼马温\"], \"type\": \"人物\", \"subtype\": \"\", \"voice_card_id\": \"VO000006\"}, {\"entity_uid\": \"E000037\", \"canonical_name\": \"斜月三星洞\", \"aliases\": [\"洞府\", \"洞天\", \"三星洞\", \"三星仙洞\", \"水脏洞\"], \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"voice_card_id\": \"\"}], \"kg_entities\": [{\"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\": \"S0008\", \"source_chunk_id\": \"C0004\", \"scene_summary\": \"菩提祖师为猴王起法名孙悟空，猴王欢喜接受。\", \"chronology\": {\"scene_id\": \"S0008\", \"narrative_order\": 8, \"story_chronology_order\": 8, \"story_chronology_group\": \"CG0008\", \"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\": \"S0007\"}, \"constraints\": [{\"relation\": \"after\", \"target_scene_id\": \"S0007\", \"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\": \"S0008\", \"decision_reasons\": [\"main_conflict_or_dialogue_dense\"], \"presentation_reasons\": [\"dialogue_priority\"], \"metrics\": {\"text_length\": 192, \"quote_count\": 4, \"action_score\": 0, \"exposition_score\": 0, \"inner_score\": 0, \"transition_score\": 0, \"reveal_score\": 0, \"tension_score\": 0, \"environment_score\": 0, \"character_count\": 1, \"location_count\": 1, \"beat_count\": 2, \"continuation_of_prev\": false, \"time_mode\": \"mainline\", \"order_delta\": 0}, \"characters\": [\"石猴\"], \"locations\": [\"斜月三星洞\"], \"key_beats\": [\"祖师赐名孙悟空\", \"猴王欢喜接受\"], \"entity_refs\": [{\"entity_uid\": \"E000006\", \"entity_id\": \"E000006\", \"canonical_name\": \"石猴\", \"name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"猴王\", \"悟空\"], \"match_score\": 4.8, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"character_candidate\"}]}}"
    }
  ]
}