{
  "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\": \"C0002-SC05\", \"title\": \"得传口诀\", \"summary\": \"祖师传授长生口诀，悟空铭记于心，悄然返回。\", \"type\": [\"叙事\"], \"tone\": [\"庄严\", \"悬疑\"], \"importance\": \"主线\", \"presentation\": [\"叙事画面\"], \"key_beats\": [\"祖师传授真妙诀\", \"悟空牢记口诀\", \"返回寝处不露声色\"], \"characters\": [\"石猴\", \"须菩提祖师\"], \"locations\": [\"斜月三星洞\"], \"entity_refs\": [{\"entity_id\": \"E000023\", \"entity_uid\": \"E000023\", \"name\": \"须菩提祖师\", \"canonical_name\": \"须菩提祖师\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"祖师\"], \"match_score\": 2.3, \"ref_role\": \"character_candidate\"}], \"continuation_of_prev\": false, \"source_chunk_id\": \"C0002\", \"source_start_para\": 79, \"source_end_para\": 87, \"text\": \"显密圆通真妙诀，惜修生命无他说。\\n\\n都来总是精气神，谨固牢藏休漏泄。\\n\\n休漏泄，体中藏，汝受吾传道自昌。\\n\\n口诀记来多有益，屏除邪欲得清凉。\\n\\n得清凉，光皎洁，好向丹台赏明月。\\n\\n月藏玉兔日藏乌，自有龟蛇相盘结。\\n\\n相盘结，性命坚，却能火里种金莲。\\n\\n攒簇五行颠倒用，功完随作佛和仙。\\n\\n此时说破根源，悟空心灵福至，切切记了口诀，对祖师拜谢深恩，即出后门观看。但见东方天色微舒白，西路金光大显明。依旧路，转到前门，轻轻的推开进去，坐在原寝之处，故将床铺摇响道：“天光了！天光了！起耶！”那大众还正睡哩，不知悟空已得了好事。当日起来打混，暗暗维持，子前午后，自己调息。\", \"text_preview\": \"显密圆通真妙诀，惜修生命无他说。 都来总是精气神，谨固牢藏休漏泄。 休漏泄，体中藏，汝受吾传道自昌。 口诀记来多有益，屏除邪欲得清凉。 得清凉，光皎洁，好向丹…\", \"candidate_meta\": {\"candidate_id\": \"C0002-SC05\", \"record_count\": 9, \"char_len\": 283, \"structure_counts\": {\"short_line\": 8, \"body\": 1}, \"boundary_reasons_after\": [], \"matched_entities\": [{\"entity_id\": \"E000023\", \"name\": \"须菩提祖师\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"祖师\"], \"score\": 2.3}], \"entity_refs\": [{\"entity_id\": \"E000023\", \"entity_uid\": \"E000023\", \"name\": \"须菩提祖师\", \"canonical_name\": \"须菩提祖师\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"祖师\"], \"match_score\": 2.3, \"ref_role\": \"character_candidate\"}], \"heuristic_types\": [\"叙事\"], \"heuristic_tones\": [\"庄严\", \"悬疑\"], \"heuristic_presentation\": [\"叙事画面\"], \"heuristic_importance\": \"支线\"}, \"scene_id\": \"S0010\"}\n\nCHRONOLOGY:\n{\"scene_id\": \"S0010\", \"title\": \"得传口诀\", \"summary\": \"祖师传授长生口诀，悟空铭记于心，悄然返回。\", \"characters\": [\"石猴\", \"须菩提祖师\"], \"locations\": [\"斜月三星洞\"], \"key_beats\": [\"祖师传授真妙诀\", \"悟空牢记口诀\", \"返回寝处不露声色\"], \"source_chunk_id\": \"C0002\", \"source_start_para\": 79, \"source_end_para\": 87, \"continuation_of_prev\": false, \"narrative_order\": 10, \"time_mode\": \"insertion\", \"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\": \"S0005\"}, \"temporal_evidence\": [{\"kind\": \"forward\", \"field\": \"text\", \"text\": \"午后\", \"snippet\": \"已得了好事。当日起来打混，暗暗维持，子前午后，自己调息。\"}, {\"kind\": \"same_time\", \"field\": \"text\", \"text\": \"此时\", \"snippet\": \"攒簇五行颠倒用，功完随作佛和仙。 此时说破根源，悟空心灵福至，切切记了口诀，对\"}, {\"kind\": \"insertion\", \"field\": \"text\", \"text\": \"转到\", \"snippet\": \"东方天色微舒白，西路金光大显明。依旧路，转到前门，轻轻的推开进去，坐在原寝之处，故将\"}, {\"kind\": \"time_of_day\", \"field\": \"text\", \"text\": \"午后\", \"snippet\": \"已得了好事。当日起来打混，暗暗维持，子前午后，自己调息。\"}], \"constraints\": [{\"relation\": \"same_time\", \"target_scene_id\": \"S0005\", \"confidence\": 0.55, \"reason\": \"narrative_insertion\"}], \"similarity_to_prev\": 0.85, \"text_preview\": \"显密圆通真妙诀，惜修生命无他说。 都来总是精气神，谨固牢藏休漏泄。 休漏泄，体中藏，汝受吾传道自昌。 口诀记来多有益，屏除邪欲得清凉。 得清凉，光皎洁，好向丹…\", \"story_chronology_group\": \"CG0004\", \"story_chronology_order\": 5}\n\nENTITY CONTEXT:\n{\"registry_entities\": [{\"entity_uid\": \"E000023\", \"canonical_name\": \"须菩提祖师\", \"aliases\": [\"菩提祖师\", \"祖师\", \"师父\"], \"type\": \"人物\", \"subtype\": \"\", \"voice_card_id\": \"VO000023\"}, {\"entity_uid\": \"E000001\", \"canonical_name\": \"石猴\", \"aliases\": [\"弼马温\", \"齐天大圣\", \"大圣\", \"妖猴\", \"孙大圣\", \"那厮\", \"美猴王\", \"弼马温猢狲\", \"猴王\", \"孙悟空\", \"猿猴怪\", \"姓孙的\"], \"type\": \"人物\", \"subtype\": \"\", \"voice_card_id\": \"VO000001\"}, {\"entity_uid\": \"E000003\", \"canonical_name\": \"水帘洞\", \"aliases\": [\"洞天\", \"洞府\", \"三星仙洞\", \"三星洞\", \"斜月三星洞\"], \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"voice_card_id\": \"\"}], \"kg_entities\": [{\"entity_id\": \"E000023\", \"name\": \"须菩提祖师\", \"type\": \"人物\", \"subtype\": \"\", \"aliases\": [\"菩提祖师\", \"祖师\", \"师父\"], \"attributes\": {}, \"descriptions\": [\"斜月三星洞神仙\", \"传授长生之道\", \"灵台方寸山神仙\", \"孙悟空师父\", \"悟空师父\", \"三星洞之主\"], \"evidence\": [\"那洞中有一个神仙，称名须菩提祖师。\", \"那洞中有一个神仙，称名须菩提祖师\", \"祖师复登宝座，与众说法\"], \"mentions\": [{\"chunk_id\": \"C0002\", \"summary\": \"菩提祖师传道\", \"evidence\": [\"见那菩提祖师端坐在台上，两边有三十个小仙侍立台下。\"], \"attributes\": {}}, {\"chunk_id\": \"C0002\", \"summary\": \"猴王拜师学道\", \"evidence\": [\"大觉金仙没垢姿，西方妙相祖菩提\"], \"attributes\": {}}, {\"chunk_id\": \"C0003\", \"summary\": \"祖师传授三灾与变化\", \"evidence\": [\"传与你口诀\"], \"attributes\": {}}], \"mention_count\": 3, \"observation_count\": 3, \"first_seen\": \"C0002\", \"last_seen\": \"C0003\"}]}\n\nADAPTATION CANDIDATE:\n{\"scene_id\": \"S0010\", \"source_chunk_id\": \"C0002\", \"scene_summary\": \"祖师传授长生口诀，悟空铭记于心，悄然返回。\", \"chronology\": {\"scene_id\": \"S0010\", \"narrative_order\": 10, \"story_chronology_order\": 5, \"story_chronology_group\": \"CG0004\", \"time_mode\": \"insertion\", \"confidence\": 0.99, \"order_delta\": -5, \"temporal_anchor\": {\"label\": \"午后\", \"normalized_label\": \"午后\", \"anchor_type\": \"forward_marker\", \"relative_direction\": \"after\", \"amount\": null, \"unit\": \"\", \"time_of_day\": \"\", \"explicit\": true, \"anchor_scene_id\": \"S0005\"}, \"constraints\": [{\"relation\": \"same_time\", \"target_scene_id\": \"S0005\", \"confidence\": 0.55, \"reason\": \"narrative_insertion\"}], \"evidence\": [{\"kind\": \"forward\", \"field\": \"text\", \"text\": \"午后\", \"snippet\": \"已得了好事。当日起来打混，暗暗维持，子前午后，自己调息。\"}, {\"kind\": \"same_time\", \"field\": \"text\", \"text\": \"此时\", \"snippet\": \"攒簇五行颠倒用，功完随作佛和仙。 此时说破根源，悟空心灵福至，切切记了口诀，对\"}, {\"kind\": \"insertion\", \"field\": \"text\", \"text\": \"转到\", \"snippet\": \"东方天色微舒白，西路金光大显明。依旧路，转到前门，轻轻的推开进去，坐在原寝之处，故将\"}, {\"kind\": \"time_of_day\", \"field\": \"text\", \"text\": \"午后\", \"snippet\": \"已得了好事。当日起来打混，暗暗维持，子前午后，自己调息。\"}]}, \"decision\": \"retain\", \"presentation_mode\": \"dramatize\", \"story_function\": [\"主线推进\"], \"adaptation_focus\": \"祖师传授长生口诀，悟空铭记于心，悄然返回。\", \"must_keep\": [\"祖师传授真妙诀\", \"悟空牢记口诀\", \"返回寝处不露声色\", \"祖师传授长生口诀，悟空铭记于心，悄然返回。\"], \"may_compress\": [], \"visual_focus\": [\"石猴\", \"须菩提祖师\", \"斜月三星洞\", \"祖师传授真妙诀\"], \"audio_focus\": [\"保留对白推进\"], \"continuity_requirements\": [\"保持insertion表达\", \"不得抹平叙事顺序与故事顺序差\", \"保留时间锚点：午后\", \"角色连续性：石猴 / 须菩提祖师\"], \"script_objective\": \"完整呈现并推进戏剧动作：祖师传授真妙诀\", \"conflict\": \"\", \"turning_point\": \"返回寝处不露声色\", \"reason\": \"main_conflict_or_dialogue_dense；default_dramatize\", \"candidate_meta\": {\"scene_id\": \"S0010\", \"decision_reasons\": [\"main_conflict_or_dialogue_dense\"], \"presentation_reasons\": [\"default_dramatize\"], \"metrics\": {\"text_length\": 415, \"quote_count\": 1, \"action_score\": 0, \"exposition_score\": 0, \"inner_score\": 0, \"transition_score\": 0, \"reveal_score\": 0, \"tension_score\": 0, \"environment_score\": 0, \"character_count\": 2, \"location_count\": 1, \"beat_count\": 3, \"continuation_of_prev\": false, \"time_mode\": \"insertion\", \"order_delta\": -5}, \"characters\": [\"石猴\", \"须菩提祖师\"], \"locations\": [\"斜月三星洞\"], \"key_beats\": [\"祖师传授真妙诀\", \"悟空牢记口诀\", \"返回寝处不露声色\"], \"entity_refs\": [{\"entity_uid\": \"E000023\", \"entity_id\": \"E000023\", \"canonical_name\": \"须菩提祖师\", \"name\": \"须菩提祖师\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"祖师\"], \"match_score\": 2.3, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"character_candidate\"}]}}"
    }
  ]
}