{
  "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\": \"C0008-SC02\", \"title\": \"Mabel or Ada?\", \"summary\": \"Alice tries to determine if she's become Mabel or Ada by testing her knowledge.\", \"type\": [\"introspection\", \"dialogue\"], \"tone\": [\"confused\", \"frustrated\"], \"importance\": \"main\", \"presentation\": [\"internal-monologue\", \"dialogue-driven\"], \"key_beats\": [\"Compares herself to Ada and Mabel\", \"Attempts multiplication table\", \"Tries geography but gets it wrong\"], \"characters\": [\"Alice\", \"Mabel\", \"Ada\"], \"locations\": [\"hall\"], \"entity_refs\": [{\"entity_id\": \"E000014\", \"entity_uid\": \"E000014\", \"name\": \"hall\", \"canonical_name\": \"hall\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"hall\"], \"match_score\": 5.3, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000025\", \"entity_uid\": \"E000025\", \"name\": \"Mabel\", \"canonical_name\": \"Mabel\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"Mabel\"], \"match_score\": 5.2, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000024\", \"entity_uid\": \"E000024\", \"name\": \"Ada\", \"canonical_name\": \"Ada\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"Ada\"], \"match_score\": 5.1, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000013\", \"entity_uid\": \"E000013\", \"name\": \"Dinah\", \"canonical_name\": \"Dinah\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"cat\"], \"match_score\": 2.1, \"ref_role\": \"character_candidate\"}], \"continuation_of_prev\": false, \"source_chunk_id\": \"C0008\", \"source_start_para\": 111, \"source_end_para\": 116, \"text\": \"“I’m sure I’m not Ada,” she said, “for her hair goes in such long\\n\\nringlets, and mine doesn’t go in ringlets at all; and I’m sure I can’t\\nbe Mabel, for I know all sorts of things, and she, oh! she knows such a\\nvery little! Besides, _she’s_ she, and _I’m_ I, and—oh dear, how\\n\\npuzzling it all is! I’ll try if I know all the things I used to know.\\nLet me see: four times five is twelve, and four times six is thirteen,\\nand four times seven is—oh dear! I shall never get to twenty at that\\n\\nrate! However, the Multiplication Table doesn’t signify: let’s try\\nGeography. London is the capital of Paris, and Paris is the capital of\\nRome, and Rome—no, _that’s_ all wrong, I’m certain! I must have been\\n\\nchanged for Mabel! I’ll try and say ‘_How doth the little_—’” and she\\ncrossed her hands on her lap as if she were saying lessons, and began\\nto repeat it, but her voice sounded hoarse and strange, and the words\\n\\ndid not come the same as they used to do:—\", \"text_preview\": \"“I’m sure I’m not Ada,” she said, “for her hair goes in such long ringlets, and…\", \"candidate_meta\": {\"candidate_id\": \"C0008-SC02\", \"record_count\": 6, \"char_len\": 948, \"structure_counts\": {\"dialogue\": 1, \"body\": 5}, \"boundary_reasons_after\": [\"structure_break\", \"hard_length_break\"], \"matched_entities\": [{\"entity_id\": \"E000014\", \"name\": \"hall\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"hall\"], \"score\": 5.3}, {\"entity_id\": \"E000025\", \"name\": \"Mabel\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"Mabel\"], \"score\": 5.2}, {\"entity_id\": \"E000024\", \"name\": \"Ada\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"Ada\"], \"score\": 5.1}, {\"entity_id\": \"E000013\", \"name\": \"Dinah\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"cat\"], \"score\": 2.1}], \"entity_refs\": [{\"entity_id\": \"E000014\", \"entity_uid\": \"E000014\", \"name\": \"hall\", \"canonical_name\": \"hall\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"hall\"], \"match_score\": 5.3, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000025\", \"entity_uid\": \"E000025\", \"name\": \"Mabel\", \"canonical_name\": \"Mabel\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"Mabel\"], \"match_score\": 5.2, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000024\", \"entity_uid\": \"E000024\", \"name\": \"Ada\", \"canonical_name\": \"Ada\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"Ada\"], \"match_score\": 5.1, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000013\", \"entity_uid\": \"E000013\", \"name\": \"Dinah\", \"canonical_name\": \"Dinah\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"cat\"], \"match_score\": 2.1, \"ref_role\": \"character_candidate\"}], \"heuristic_types\": [\"对话\"], \"heuristic_tones\": [\"中性\"], \"heuristic_presentation\": [\"对白驱动\"], \"heuristic_importance\": \"主线\"}, \"scene_id\": \"S0012\"}\n\nCHRONOLOGY:\n{\"scene_id\": \"S0012\", \"title\": \"Mabel or Ada?\", \"summary\": \"Alice tries to determine if she's become Mabel or Ada by testing her knowledge.\", \"characters\": [\"Alice\", \"Mabel\", \"Ada\"], \"locations\": [\"hall\"], \"key_beats\": [\"Compares herself to Ada and Mabel\", \"Attempts multiplication table\", \"Tries geography but gets it wrong\"], \"source_chunk_id\": \"C0008\", \"source_start_para\": 111, \"source_end_para\": 116, \"continuation_of_prev\": false, \"narrative_order\": 12, \"time_mode\": \"mainline\", \"confidence\": 0.835, \"temporal_anchor\": {\"label\": \"\", \"normalized_label\": \"unknown\", \"anchor_type\": \"unknown\", \"relative_direction\": \"unknown\", \"amount\": null, \"unit\": \"\", \"time_of_day\": \"\", \"explicit\": false, \"anchor_scene_id\": \"S0011\"}, \"temporal_evidence\": [], \"constraints\": [{\"relation\": \"after\", \"target_scene_id\": \"S0011\", \"confidence\": 0.58, \"reason\": \"narrative_forward\"}], \"similarity_to_prev\": 0.275, \"text_preview\": \"“I’m sure I’m not Ada,” she said, “for her hair goes in such long ringlets, and…\", \"story_chronology_group\": \"CG0012\", \"story_chronology_order\": 12}\n\nENTITY CONTEXT:\n{\"registry_entities\": [{\"entity_uid\": \"E000025\", \"canonical_name\": \"Mabel\", \"aliases\": [], \"type\": \"人物\", \"subtype\": \"\", \"voice_card_id\": \"VO000025\"}, {\"entity_uid\": \"E000024\", \"canonical_name\": \"Ada\", \"aliases\": [], \"type\": \"人物\", \"subtype\": \"\", \"voice_card_id\": \"VO000024\"}, {\"entity_uid\": \"E000013\", \"canonical_name\": \"Dinah\", \"aliases\": [\"cat\"], \"type\": \"人物\", \"subtype\": \"\", \"voice_card_id\": \"VO000013\"}, {\"entity_uid\": \"E000014\", \"canonical_name\": \"hall\", \"aliases\": [], \"type\": \"地点\", \"subtype\": \"\", \"voice_card_id\": \"\"}, {\"entity_uid\": \"E000001\", \"canonical_name\": \"Alice\", \"aliases\": [], \"type\": \"人物\", \"subtype\": \"\", \"voice_card_id\": \"VO000001\"}], \"kg_entities\": [{\"entity_id\": \"E000024\", \"name\": \"Ada\", \"type\": \"人物\", \"subtype\": \"\", \"aliases\": [], \"attributes\": {}, \"descriptions\": [\"卷发女孩\"], \"evidence\": [\"I'm sure I'm not Ada, for her hair goes in such long ringlets\"], \"mentions\": [{\"chunk_id\": \"C0008\", \"summary\": \"爱丽丝认为自己不是艾达\", \"evidence\": [\"I'm sure I'm not Ada\"], \"attributes\": {}}], \"mention_count\": 1, \"observation_count\": 1, \"first_seen\": \"C0008\", \"last_seen\": \"C0008\"}, {\"entity_id\": \"E000013\", \"name\": \"Dinah\", \"type\": \"人物\", \"subtype\": \"\", \"aliases\": [\"cat\"], \"attributes\": {}, \"descriptions\": [\"猫\"], \"evidence\": [\"Dinah was the cat\"], \"mentions\": [{\"chunk_id\": \"C0003\", \"summary\": \"Alice想念Dinah\", \"evidence\": [\"Dinah'll miss me very much\"], \"attributes\": {}}], \"mention_count\": 1, \"observation_count\": 1, \"first_seen\": \"C0003\", \"last_seen\": \"C0003\"}, {\"entity_id\": \"E000025\", \"name\": \"Mabel\", \"type\": \"人物\", \"subtype\": \"\", \"aliases\": [], \"attributes\": {}, \"descriptions\": [\"知识有限的女孩\"], \"evidence\": [\"I'm sure I can't be Mabel, for I know all sorts of things\", \"I must be Mabel after all\"], \"mentions\": [{\"chunk_id\": \"C0008\", \"summary\": \"爱丽丝认为自己不是梅布尔\", \"evidence\": [\"I'm sure I can't be Mabel\"], \"attributes\": {}}, {\"chunk_id\": \"C0009\", \"summary\": \"Alice认为自己可能是\", \"evidence\": [\"I must be Mabel after all\"], \"attributes\": {}}], \"mention_count\": 2, \"observation_count\": 2, \"first_seen\": \"C0008\", \"last_seen\": \"C0009\"}, {\"entity_id\": \"E000014\", \"name\": \"hall\", \"type\": \"地点\", \"subtype\": \"\", \"aliases\": [], \"attributes\": {}, \"descriptions\": [\"长而低矮的大厅\", \"大厅\", \"有屋顶\"], \"evidence\": [\"found herself in a long, low hall\", \"dark hall\", \"roof of the hall\"], \"mentions\": [{\"chunk_id\": \"C0003\", \"summary\": \"大厅有门和灯\", \"evidence\": [\"long, low hall with lamps\"], \"attributes\": {}}, {\"chunk_id\": \"C0004\", \"summary\": \"黑暗大厅\", \"evidence\": [\"dark hall\"], \"attributes\": {}}, {\"chunk_id\": \"C0007\", \"summary\": \"大厅屋顶\", \"evidence\": [\"roof of the hall\"], \"attributes\": {}}], \"mention_count\": 3, \"observation_count\": 3, \"first_seen\": \"C0003\", \"last_seen\": \"C0007\"}]}\n\nADAPTATION CANDIDATE:\n{\"scene_id\": \"S0012\", \"source_chunk_id\": \"C0008\", \"scene_summary\": \"Alice tries to determine if she's become Mabel or Ada by testing her knowledge.\", \"chronology\": {\"scene_id\": \"S0012\", \"narrative_order\": 12, \"story_chronology_order\": 12, \"story_chronology_group\": \"CG0012\", \"time_mode\": \"mainline\", \"confidence\": 0.835, \"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\": \"S0011\"}, \"constraints\": [{\"relation\": \"after\", \"target_scene_id\": \"S0011\", \"confidence\": 0.58, \"reason\": \"narrative_forward\"}], \"evidence\": []}, \"decision\": \"retain\", \"presentation_mode\": \"dialogue\", \"story_function\": [\"主线推进\"], \"adaptation_focus\": \"Alice tries to determine if she's become Mabel or Ada by testing her knowledge.\", \"must_keep\": [\"Compares herself to Ada and Mabel\", \"Attempts multiplication table\", \"Tries geography but gets it wrong\", \"Alice tries to determine if she's become Mabel or Ada by testing her knowledge.\"], \"may_compress\": [], \"visual_focus\": [\"Alice\", \"Mabel\", \"hall\", \"Compares herself to Ada and Mabel\"], \"audio_focus\": [\"保留对白推进\"], \"continuity_requirements\": [\"角色连续性：Alice / Mabel\"], \"script_objective\": \"完整呈现并推进戏剧动作：Compares herself to Ada and Mabel\", \"conflict\": \"\", \"turning_point\": \"Tries geography but gets it wrong\", \"reason\": \"main_conflict_or_dialogue_dense；dialogue_priority\", \"candidate_meta\": {\"scene_id\": \"S0012\", \"decision_reasons\": [\"main_conflict_or_dialogue_dense\"], \"presentation_reasons\": [\"dialogue_priority\"], \"metrics\": {\"text_length\": 1221, \"quote_count\": 2, \"action_score\": 0, \"exposition_score\": 0, \"inner_score\": 0, \"transition_score\": 0, \"reveal_score\": 0, \"tension_score\": 0, \"environment_score\": 0, \"character_count\": 4, \"location_count\": 1, \"beat_count\": 3, \"continuation_of_prev\": false, \"time_mode\": \"mainline\", \"order_delta\": 0}, \"characters\": [\"Alice\", \"Mabel\", \"Ada\", \"Dinah\"], \"locations\": [\"hall\"], \"key_beats\": [\"Compares herself to Ada and Mabel\", \"Attempts multiplication table\", \"Tries geography but gets it wrong\"], \"entity_refs\": [{\"entity_uid\": \"E000014\", \"entity_id\": \"E000014\", \"canonical_name\": \"hall\", \"name\": \"hall\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"hall\"], \"match_score\": 5.3, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"location_candidate\"}, {\"entity_uid\": \"E000025\", \"entity_id\": \"E000025\", \"canonical_name\": \"Mabel\", \"name\": \"Mabel\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"Mabel\"], \"match_score\": 5.2, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"character_candidate\"}, {\"entity_uid\": \"E000024\", \"entity_id\": \"E000024\", \"canonical_name\": \"Ada\", \"name\": \"Ada\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"Ada\"], \"match_score\": 5.1, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"character_candidate\"}, {\"entity_uid\": \"E000013\", \"entity_id\": \"E000013\", \"canonical_name\": \"Dinah\", \"name\": \"Dinah\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"cat\"], \"match_score\": 2.1, \"display_name\": \"\", \"conflict_group_id\": \"\", \"identity_conflict\": false, \"ref_role\": \"character_candidate\"}]}}"
    }
  ]
}