{
  "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\": \"C0006-SC03\", \"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\": 4.4, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000037\", \"entity_uid\": \"E000037\", \"name\": \"斜月三星洞\", \"canonical_name\": \"斜月三星洞\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"洞府\"], \"match_score\": 2.4, \"ref_role\": \"location_candidate\"}], \"continuation_of_prev\": false, \"source_chunk_id\": \"C0006\", \"source_start_para\": 224, \"source_end_para\": 224, \"text\": \"王，你好寬心，怎麼一去許久？把我們俱閃在這裏，望你誠如饑渴。近來被一妖\\n魔在此欺虐，強要占我們水簾洞府，是我等捨死忘生，與他爭鬥。這些時，被那\\n廝搶了我們家火，捉了許多子姪，教我們晝夜無眠，看守家業。幸得大王來了，\", \"text_preview\": \"王，你好寬心，怎麼一去許久？把我們俱閃在這裏，望你誠如饑渴。近來被一妖 魔在此欺虐，強要占我們水簾洞府，是我等捨死忘生，與他爭鬥。這些時，被那 廝搶了我們家火…\", \"candidate_meta\": {\"candidate_id\": \"C0006-SC03\", \"record_count\": 1, \"char_len\": 107, \"structure_counts\": {\"body\": 1}, \"boundary_reasons_after\": [], \"matched_entities\": [{\"entity_id\": \"E000023\", \"name\": \"水帘洞\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"水簾洞\", \"水簾洞府\"], \"score\": 4.4}, {\"entity_id\": \"E000037\", \"name\": \"斜月三星洞\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"洞府\"], \"score\": 2.4}], \"entity_refs\": [{\"entity_id\": \"E000023\", \"entity_uid\": \"E000023\", \"name\": \"水帘洞\", \"canonical_name\": \"水帘洞\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"水簾洞\", \"水簾洞府\"], \"match_score\": 4.4, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000037\", \"entity_uid\": \"E000037\", \"name\": \"斜月三星洞\", \"canonical_name\": \"斜月三星洞\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"洞府\"], \"match_score\": 2.4, \"ref_role\": \"location_candidate\"}], \"heuristic_types\": [\"环境描写\"], \"heuristic_tones\": [\"紧张\"], \"heuristic_presentation\": [\"氛围镜头\"], \"heuristic_importance\": \"铺垫\"}, \"scene_id\": \"S0013\"}\n\nCHRONOLOGY:\n{\"scene_id\": \"S0013\", \"title\": \"洞府遭劫\", \"summary\": \"悟空回到花果山，众猴哭诉水帘洞被妖魔侵占。 悟空回到花果山，得知混世魔王欺压猴群，欲占水帘洞。他询问详情后，纵身前往坎源山寻找魔王。\", \"characters\": [\"石猴\", \"众猴\", \"混世魔王\", \"小妖\"], \"locations\": [\"花果山\", \"水帘洞\", \"坎源山\", \"水脏洞\"], \"key_beats\": [\"众猴诉苦遭欺\", \"众猴诉苦，报告混世魔王侵扰\", \"悟空大怒，决定寻仇\", \"悟空抵达坎源山，找到水脏洞\"], \"source_chunk_id\": \"C0006\", \"source_start_para\": 224, \"source_end_para\": 224, \"continuation_of_prev\": false, \"narrative_order\": 13, \"time_mode\": \"mainline\", \"confidence\": 0.8, \"temporal_anchor\": {\"label\": \"\", \"normalized_label\": \"unknown\", \"anchor_type\": \"unknown\", \"relative_direction\": \"unknown\", \"amount\": null, \"unit\": \"\", \"time_of_day\": \"\", \"explicit\": false, \"anchor_scene_id\": \"S0012\"}, \"temporal_evidence\": [], \"constraints\": [{\"relation\": \"after\", \"target_scene_id\": \"S0012\", \"confidence\": 0.58, \"reason\": \"narrative_forward\"}], \"similarity_to_prev\": 0.24, \"text_preview\": \"王，你好寬心，怎麼一去許久？把我們俱閃在這裏，望你誠如饑渴。近來被一妖 魔在此欺虐，強要占我們水簾洞府，是我等捨死忘生，與他爭鬥。這些時，被那 廝搶了我們家火…\", \"story_chronology_group\": \"CG0013\", \"story_chronology_order\": 13}\n\nENTITY CONTEXT:\n{\"registry_entities\": [{\"entity_uid\": \"E000023\", \"canonical_name\": \"水帘洞\", \"aliases\": [\"水簾洞\", \"水簾洞府\", \"水帘洞府\"], \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"voice_card_id\": \"\"}, {\"entity_uid\": \"E000037\", \"canonical_name\": \"斜月三星洞\", \"aliases\": [\"洞府\", \"洞天\", \"三星洞\", \"三星仙洞\", \"水脏洞\"], \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"voice_card_id\": \"\"}, {\"entity_uid\": \"E000006\", \"canonical_name\": \"石猴\", \"aliases\": [\"猴王\", \"孙悟空\", \"孙悟\", \"悟空\", \"猢猻\", \"潑猴\", \"水帘洞洞主\", \"老孙\", \"孙\", \"老孫\", \"妖猴\", \"弼马温\"], \"type\": \"人物\", \"subtype\": \"\", \"voice_card_id\": \"VO000006\"}, {\"entity_uid\": \"E000022\", \"canonical_name\": \"众猴\", \"aliases\": [\"群猴\", \"小猴\", \"孩儿们\", \"儿孙\", \"小的们\", \"猴精\"], \"type\": \"生物种族\", \"subtype\": \"\", \"voice_card_id\": \"VO000022\"}, {\"entity_uid\": \"E000054\", \"canonical_name\": \"妖魔\", \"aliases\": [\"那厮\", \"泼魔\", \"混世魔王\"], \"type\": \"生物种族\", \"subtype\": \"\", \"voice_card_id\": \"VO000054\"}, {\"entity_uid\": \"E000056\", \"canonical_name\": \"小妖\", \"aliases\": [], \"type\": \"生物种族\", \"subtype\": \"\", \"voice_card_id\": \"VO000056\"}, {\"entity_uid\": \"E000007\", \"canonical_name\": \"花果山\", \"aliases\": [\"本处\", \"山场\", \"福地洞天\"], \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"voice_card_id\": \"\"}, {\"entity_uid\": \"E000058\", \"canonical_name\": \"坎源山\", \"aliases\": [\"高山\"], \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"voice_card_id\": \"\"}], \"kg_entities\": [{\"entity_id\": \"E000037\", \"name\": \"斜月三星洞\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"aliases\": [\"洞府\", \"洞天\", \"三星洞\", \"三星仙洞\", \"水脏洞\"], \"attributes\": {}, \"descriptions\": [\"须菩提祖师洞府\", \"菩提祖师洞府\", \"猴王拜师处\", \"悟空与众等候处\", \"斜月三星洞简称\", \"混世魔王洞府\", \"三界坎源山\"], \"evidence\": [\"山中有座斜月三星洞\", \"洞门紧闭\", \"随童子径入洞天深处观看；一层层深阁琼楼\", \"在三星仙洞之前，盼望天色\", \"乃是那水脏洞\"], \"mentions\": [{\"chunk_id\": \"C0003\", \"summary\": \"神仙修行洞府\", \"evidence\": [\"山中有座斜月三星洞\"], \"attributes\": {}}, {\"chunk_id\": \"C0004\", \"summary\": \"猴王入洞拜师\", \"evidence\": [\"随童子径入洞天深处；直至瑶台之下\"], \"attributes\": {}}, {\"chunk_id\": \"C0005\", \"summary\": \"悟空在洞前等候\", \"evidence\": [\"在三星仙洞之前，盼望天色\"], \"attributes\": {}}, {\"chunk_id\": \"C0007\", \"summary\": \"混世魔王洞府\", \"evidence\": [\"乃是那水脏洞\"], \"attributes\": {}}], \"mention_count\": 4, \"observation_count\": 4, \"first_seen\": \"C0003\", \"last_seen\": \"C0007\"}, {\"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\": \"C0006\", \"summary\": \"洞府被妖魔占\", \"evidence\": [\"强要占我们水帘洞府\"], \"attributes\": {}}, {\"chunk_id\": \"C0007\", \"summary\": \"被妖魔强占\", \"evidence\": [\"强占我们水帘洞府\"], \"attributes\": {}}], \"mention_count\": 4, \"observation_count\": 4, \"first_seen\": \"C0002\", \"last_seen\": \"C0007\"}]}\n\nADAPTATION CANDIDATE:\n{\"scene_id\": \"S0013\", \"source_chunk_id\": \"C0006\", \"scene_summary\": \"悟空回到花果山，众猴哭诉水帘洞被妖魔侵占。 悟空回到花果山，得知混世魔王欺压猴群，欲占水帘洞。他询问详情后，纵身前往坎源山寻找魔王。\", \"chronology\": {\"scene_id\": \"S0013\", \"narrative_order\": 13, \"story_chronology_order\": 13, \"story_chronology_group\": \"CG0013\", \"time_mode\": \"mainline\", \"confidence\": 0.8, \"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\": \"S0012\"}, \"constraints\": [{\"relation\": \"after\", \"target_scene_id\": \"S0012\", \"confidence\": 0.58, \"reason\": \"narrative_forward\"}], \"evidence\": []}, \"decision\": \"compress\", \"presentation_mode\": \"dramatize\", \"story_function\": [\"信息揭示\", \"冲突推进\"], \"adaptation_focus\": \"悟空回到花果山，众猴哭诉水帘洞被妖魔侵占。 悟空回到花果山，得知混世魔王欺压猴群，欲占水帘洞。他询问详情后，纵身前往坎源山寻找魔王。\", \"must_keep\": [\"众猴诉苦遭欺\", \"众猴诉苦，报告混世魔王侵扰\", \"悟空大怒，决定寻仇\", \"悟空回到花果山，众猴哭诉水帘洞被妖魔侵占。 悟空回到花果山，得知混世魔王欺压猴群，欲占水帘洞。他询问详情后，纵身前往坎源山寻找魔王。\"], \"may_compress\": [\"环境铺陈可压缩\"], \"visual_focus\": [\"石猴\", \"众猴\", \"花果山\", \"水帘洞\"], \"audio_focus\": [\"以叙述清晰为先\"], \"continuity_requirements\": [\"角色连续性：石猴 / 众猴\"], \"script_objective\": \"压缩呈现并保留关键信息：众猴诉苦遭欺\", \"conflict\": \"众猴诉苦遭欺\", \"turning_point\": \"悟空抵达坎源山，找到水脏洞\", \"reason\": \"supporting_scene；default_dramatize\", \"candidate_meta\": {\"scene_id\": \"S0013\", \"decision_reasons\": [\"supporting_scene\"], \"presentation_reasons\": [\"default_dramatize\"], \"metrics\": {\"text_length\": 305, \"quote_count\": 0, \"action_score\": 0, \"exposition_score\": 1, \"inner_score\": 0, \"transition_score\": 0, \"reveal_score\": 1, \"tension_score\": 7, \"environment_score\": 3, \"character_count\": 4, \"location_count\": 4, \"beat_count\": 4, \"continuation_of_prev\": false, \"time_mode\": \"mainline\", \"order_delta\": 0}, \"characters\": [\"石猴\", \"众猴\", \"混世魔王\", \"小妖\"], \"locations\": [\"花果山\", \"水帘洞\", \"坎源山\", \"水脏洞\"], \"key_beats\": [\"众猴诉苦遭欺\", \"众猴诉苦，报告混世魔王侵扰\", \"悟空大怒，决定寻仇\", \"悟空抵达坎源山，找到水脏洞\"], \"entity_refs\": [{\"entity_uid\": \"E000023\", \"entity_id\": \"E000023\", \"canonical_name\": \"水帘洞\", \"name\": \"水帘洞\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"水簾洞\", \"水簾洞府\"], \"match_score\": 4.4, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"location_candidate\"}, {\"entity_uid\": \"E000037\", \"entity_id\": \"E000037\", \"canonical_name\": \"斜月三星洞\", \"name\": \"斜月三星洞\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"洞府\"], \"match_score\": 2.4, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"location_candidate\"}]}}"
    }
  ]
}