{
  "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\": \"C0049-SC03\", \"title\": \"冲突爆发\", \"summary\": \"戟长下令抓人，五弟暴力拒捕，打斗开始。 军汉欲活捉萱娘，萱娘、四郎、五弟三人据守楼梯高处与巡山卫激战，太监作壁上观。\", \"type\": [\"对话\", \"动作\", \"环境描写\"], \"tone\": [\"激烈\", \"冲突\", \"紧张\", \"庄严\"], \"importance\": \"主线\", \"presentation\": [\"对白驱动\", \"动作镜头\", \"直接画面\", \"氛围镜头\"], \"key_beats\": [\"戟长下令铐人\", \"五弟扯栏杆砸人\", \"军汉反击喊抓人\", \"“五弟！杀出去！”四郎下令\", \"太监拦下侍卫观战\", \"三人借地形抵挡围攻\"], \"characters\": [\"戟长\", \"五弟\", \"掌柜\", \"萱娘\", \"太监\", \"四郎\", \"侍卫\"], \"locations\": [\"客栈\"], \"continuation_of_prev\": false, \"source_chunk_id\": \"C0049\", \"source_start_para\": 1294, \"source_end_para\": 1302, \"text\": \"第十九章人往\\n\\n“都给我铐回去！”\\n\\n“我去你妈的！”\\n\\n络腮胡子戟长不讲道理，大胸肌五弟居然更霸道，‘咔’得一下就把楼梯半边栏杆扯下来，照着戟长的光头就一把砸过去。\\n\\n“啊！混账你敢拒捕……哇啊！”\\n\\n络腮胡子一缩脖子，闪到掌柜身后躲过一招，结果话音未落，就被五弟拨开掌柜的，当胸口一脚戳过来，踏扁了护心铜片，直接把人都踹飞了。\\n\\n“戟长！”\\n\\n“妈的敢还手！砍他！”\\n\\n“活捉那小娘皮！”\", \"text_preview\": \"第十九章人往 “都给我铐回去！” “我去你妈的！” 络腮胡子戟长不讲道理，大胸肌五弟居然更霸道，‘咔’得一下就把楼梯半边栏杆扯下来，照着戟长的光头就一把砸过去…\", \"candidate_meta\": {\"candidate_id\": \"C0049-SC03\", \"record_count\": 9, \"char_len\": 196, \"structure_counts\": {\"chapter_heading\": 1, \"dialogue\": 6, \"body\": 2}, \"boundary_reasons_after\": [], \"matched_entities\": [{\"entity_id\": \"E000186\", \"name\": \"戟长\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"戟长\", \"光头\", \"络腮胡子\"], \"score\": 9.3}, {\"entity_id\": \"E000178\", \"name\": \"掌柜\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"掌柜\"], \"score\": 5.2}, {\"entity_id\": \"E000174\", \"name\": \"背刀汉子\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"五弟\"], \"score\": 2.4}, {\"entity_id\": \"E000180\", \"name\": \"萱娘\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"小娘皮\"], \"score\": 2.4}], \"heuristic_types\": [\"对话\"], \"heuristic_tones\": [\"庄严\"], \"heuristic_presentation\": [\"对白驱动\"], \"heuristic_importance\": \"主线\"}, \"scene_id\": \"S0128\"}\n\nCHRONOLOGY:\n{\"scene_id\": \"S0128\", \"title\": \"冲突爆发\", \"summary\": \"戟长下令抓人，五弟暴力拒捕，打斗开始。 军汉欲活捉萱娘，萱娘、四郎、五弟三人据守楼梯高处与巡山卫激战，太监作壁上观。\", \"characters\": [\"戟长\", \"五弟\", \"掌柜\", \"萱娘\", \"太监\", \"四郎\", \"侍卫\"], \"locations\": [\"客栈\"], \"key_beats\": [\"戟长下令铐人\", \"五弟扯栏杆砸人\", \"军汉反击喊抓人\", \"“五弟！杀出去！”四郎下令\", \"太监拦下侍卫观战\", \"三人借地形抵挡围攻\"], \"source_chunk_id\": \"C0049\", \"source_start_para\": 1294, \"source_end_para\": 1302, \"continuation_of_prev\": false, \"narrative_order\": 128, \"time_mode\": \"flashback\", \"confidence\": 0.99, \"temporal_anchor\": {\"label\": \"过去\", \"normalized_label\": \"flashback\", \"anchor_type\": \"flashback_marker\", \"relative_direction\": \"before\", \"amount\": null, \"unit\": \"\", \"time_of_day\": \"\", \"explicit\": true, \"anchor_scene_id\": \"S0127\"}, \"temporal_evidence\": [{\"kind\": \"flashback\", \"field\": \"preview\", \"text\": \"过去\", \"snippet\": \"梯半边栏杆扯下来，照着戟长的光头就一把砸过去…\"}, {\"kind\": \"flashback\", \"field\": \"text\", \"text\": \"过去\", \"snippet\": \"梯半边栏杆扯下来，照着戟长的光头就一把砸过去。 “啊！混账你敢拒捕……哇啊！”\"}], \"constraints\": [{\"relation\": \"flashback_of\", \"target_scene_id\": \"S0127\", \"confidence\": 0.92, \"reason\": \"flashback_marker\"}, {\"relation\": \"before\", \"target_scene_id\": \"S0127\", \"confidence\": 0.88, \"reason\": \"flashback_before_anchor\"}], \"similarity_to_prev\": 0.487, \"text_preview\": \"第十九章人往 “都给我铐回去！” “我去你妈的！” 络腮胡子戟长不讲道理，大胸肌五弟居然更霸道，‘咔’得一下就把楼梯半边栏杆扯下来，照着戟长的光头就一把砸过去…\", \"story_chronology_group\": \"CG0103\", \"story_chronology_order\": 102}\n\nENTITY CONTEXT:\n{\"registry_entities\": [{\"entity_uid\": \"E000186\", \"canonical_name\": \"戟长\", \"aliases\": [\"光头\", \"络腮胡子\", \"络腮胡子光头\"], \"type\": \"人物\", \"subtype\": \"\", \"voice_card_id\": \"VO000186\"}, {\"entity_uid\": \"E000174\", \"canonical_name\": \"背刀汉子\", \"aliases\": [\"持大朴刀男子\", \"五弟\"], \"type\": \"人物\", \"subtype\": \"\", \"voice_card_id\": \"VO000174\"}, {\"entity_uid\": \"E000178\", \"canonical_name\": \"掌柜\", \"aliases\": [], \"type\": \"人物\", \"subtype\": \"\", \"voice_card_id\": \"VO000178\"}, {\"entity_uid\": \"E000180\", \"canonical_name\": \"萱娘\", \"aliases\": [\"少妇\", \"女郎\", \"小娘皮\"], \"type\": \"人物\", \"subtype\": \"\", \"voice_card_id\": \"VO000180\"}, {\"entity_uid\": \"E000182\", \"canonical_name\": \"太监\", \"aliases\": [\"公公\", \"男人\"], \"type\": \"人物\", \"subtype\": \"\", \"voice_card_id\": \"VO000182\"}, {\"entity_uid\": \"E000181\", \"canonical_name\": \"四郎\", \"aliases\": [\"受伤男子\"], \"type\": \"人物\", \"subtype\": \"\", \"voice_card_id\": \"VO000181\"}, {\"entity_uid\": \"E000190\", \"canonical_name\": \"侍卫\", \"aliases\": [], \"type\": \"人物\", \"subtype\": \"\", \"voice_card_id\": \"VO000190\"}, {\"entity_uid\": \"E000177\", \"canonical_name\": \"客栈\", \"aliases\": [], \"type\": \"地点\", \"subtype\": \"\", \"voice_card_id\": \"\"}], \"kg_entities\": [{\"entity_id\": \"E000181\", \"name\": \"四郎\", \"type\": \"人物\", \"subtype\": \"\", \"aliases\": [\"受伤男子\"], \"attributes\": {}, \"descriptions\": [\"坠马受伤\", \"萱娘之夫\", \"下令杀出去\"], \"evidence\": [\"我命硬着呢\", \"四郎你觉得怎么样\", \"那个四郎一声令下\"], \"mentions\": [{\"chunk_id\": \"C0048\", \"summary\": \"坠马擦伤要求住店\", \"evidence\": [\"我是坠马擦破了皮\"], \"attributes\": {}}, {\"chunk_id\": \"C0050\", \"summary\": \"下令突围\", \"evidence\": [\"那个四郎一声令下\"], \"attributes\": {}}], \"mention_count\": 2, \"observation_count\": 2, \"first_seen\": \"C0048\", \"last_seen\": \"C0050\"}, {\"entity_id\": \"E000182\", \"name\": \"太监\", \"type\": \"人物\", \"subtype\": \"\", \"aliases\": [\"公公\", \"男人\"], \"attributes\": {}, \"descriptions\": [\"涂脂抹粉画女妆\", \"携带储物玉佩\", \"腰间有储物玉佩\", \"炼过气\", \"稳如泰山\", \"欣赏战斗\"], \"evidence\": [\"那涂脂抹粉的‘男人’\", \"腰间一串都是储物玉佩\", \"摆明了也是有炼过气的\", \"太监却抬手拦住侍卫，倒有点见多识广稳如泰山的意思\"], \"mentions\": [{\"chunk_id\": \"C0048\", \"summary\": \"要求包下二楼\", \"evidence\": [\"把二楼清出来上房我都包了\"], \"attributes\": {}}, {\"chunk_id\": \"C0049\", \"summary\": \"腰间玉佩炼过气\", \"evidence\": [\"腰间一串都是储物玉佩\"], \"attributes\": {}}, {\"chunk_id\": \"C0050\", \"summary\": \"旁观不插手\", \"evidence\": [\"太监却抬手拦住侍卫\"], \"attributes\": {}}], \"mention_count\": 3, \"observation_count\": 3, \"first_seen\": \"C0048\", \"last_seen\": \"C0050\"}, {\"entity_id\": \"E000178\", \"name\": \"掌柜\", \"type\": \"人物\", \"subtype\": \"\", \"aliases\": [], \"attributes\": {}, \"descriptions\": [\"龙门客栈掌柜\", \"处事圆滑\"], \"evidence\": [\"掌柜的也是眼珠子一瞪\", \"掌柜的慌忙从后台出来\"], \"mentions\": [{\"chunk_id\": \"C0048\", \"summary\": \"安排四郎住上房\", \"evidence\": [\"上房在这边请随我来\"], \"attributes\": {}}, {\"chunk_id\": \"C0048\", \"summary\": \"接待太监清空二楼\", \"evidence\": [\"掌柜的慌忙从后台出来\"], \"attributes\": {}}], \"mention_count\": 2, \"observation_count\": 2, \"first_seen\": \"C0048\", \"last_seen\": \"C0048\"}, {\"entity_id\": \"E000186\", \"name\": \"戟长\", \"type\": \"人物\", \"subtype\": \"\", \"aliases\": [\"光头\", \"络腮胡子\", \"络腮胡子光头\"], \"attributes\": {}, \"descriptions\": [\"络腮胡子光头\", \"搂铁盔擦汗\", \"抱铁盔插锦鸡羽\", \"领二十军汉\", \"指挥巡山卫\", \"戴兜鍪\"], \"evidence\": [\"当先一个络腮胡子的光头\", \"擦着光头上的汗吼着\", \"当先一个络腮胡子的光头，把插着锦鸡羽的铁盔搂在怀里\", \"二十来个披挂穿甲的军汉吵吵闹闹得\", \"光头戟长爬起来，一见这打得乱成一团，粗着嗓子怒骂\"], \"mentions\": [{\"chunk_id\": \"C0049\", \"summary\": \"络腮胡子光头\", \"evidence\": [\"当先一个络腮胡子的光头\"], \"attributes\": {}}, {\"chunk_id\": \"C0049\", \"summary\": \"戟长踹门入客栈\", \"evidence\": [\"客栈大门又被‘砰！’得踹开了\"], \"attributes\": {}}, {\"chunk_id\": \"C0050\", \"summary\": \"指挥列阵\", \"evidence\": [\"戟长把兜鍪往头上一扣\"], \"attributes\": {}}], \"mention_count\": 3, \"observation_count\": 3, \"first_seen\": \"C0049\", \"last_seen\": \"C0050\"}, {\"entity_id\": \"E000190\", \"name\": \"侍卫\", \"type\": \"人物\", \"subtype\": \"\", \"aliases\": [], \"attributes\": {}, \"descriptions\": [], \"evidence\": [], \"mentions\": [], \"mention_count\": 0, \"observation_count\": 0, \"first_seen\": \"\", \"last_seen\": \"\"}, {\"entity_id\": \"E000180\", \"name\": \"萱娘\", \"type\": \"人物\", \"subtype\": \"\", \"aliases\": [\"少妇\", \"女郎\", \"小娘皮\"], \"attributes\": {}, \"descriptions\": [\"四郎之妻\", \"身材高挑曲线玲珑\", \"衣衫湿显身段\", \"脸红遮胸口\", \"左手刀右手剑\", \"轮舞刀剑\"], \"evidence\": [\"那个萱娘被唤了一声才回过神来\", \"这女郎的身材很赞\", \"身上衣衫都被热水打湿了\", \"萱娘脸一红遮住胸口\", \"那个萱娘也是被军汉们看得粉面娇红，把左手刀右手剑一亮嗔怒道\"], \"mentions\": [{\"chunk_id\": \"C0048\", \"summary\": \"取出马蹄金付账\", \"evidence\": [\"翻手取出一块巴掌大的马蹄金\"], \"attributes\": {}}, {\"chunk_id\": \"C0048\", \"summary\": \"身材婀娜引人注目\", \"evidence\": [\"这女郎的身材很赞\"], \"attributes\": {}}, {\"chunk_id\": \"C0049\", \"summary\": \"衣衫湿显身段\", \"evidence\": [\"身上衣衫都被热水打湿了\"], \"attributes\": {}}, {\"chunk_id\": \"C0050\", \"summary\": \"持刀剑战斗\", \"evidence\": [\"把一对刀剑轮舞，连削带刺\"], \"attributes\": {}}], \"mention_count\": 4, \"observation_count\": 4, \"first_seen\": \"C0048\", \"last_seen\": \"C0050\"}, {\"entity_id\": \"E000177\", \"name\": \"客栈\", \"type\": \"地点\", \"subtype\": \"\", \"aliases\": [], \"attributes\": {}, \"descriptions\": [], \"evidence\": [], \"mentions\": [], \"mention_count\": 0, \"observation_count\": 0, \"first_seen\": \"\", \"last_seen\": \"\"}]}\n\nADAPTATION CANDIDATE:\n{\"scene_id\": \"S0128\", \"source_chunk_id\": \"C0049\", \"scene_summary\": \"戟长下令抓人，五弟暴力拒捕，打斗开始。 军汉欲活捉萱娘，萱娘、四郎、五弟三人据守楼梯高处与巡山卫激战，太监作壁上观。\", \"chronology\": {\"scene_id\": \"S0128\", \"narrative_order\": 128, \"story_chronology_order\": 102, \"story_chronology_group\": \"CG0103\", \"time_mode\": \"flashback\", \"confidence\": 0.99, \"order_delta\": -26, \"temporal_anchor\": {\"label\": \"过去\", \"normalized_label\": \"flashback\", \"anchor_type\": \"flashback_marker\", \"relative_direction\": \"before\", \"amount\": null, \"unit\": \"\", \"time_of_day\": \"\", \"explicit\": true, \"anchor_scene_id\": \"S0127\"}, \"constraints\": [{\"relation\": \"flashback_of\", \"target_scene_id\": \"S0127\", \"confidence\": 0.92, \"reason\": \"flashback_marker\"}, {\"relation\": \"before\", \"target_scene_id\": \"S0127\", \"confidence\": 0.88, \"reason\": \"flashback_before_anchor\"}], \"evidence\": [{\"kind\": \"flashback\", \"field\": \"preview\", \"text\": \"过去\", \"snippet\": \"梯半边栏杆扯下来，照着戟长的光头就一把砸过去…\"}, {\"kind\": \"flashback\", \"field\": \"text\", \"text\": \"过去\", \"snippet\": \"梯半边栏杆扯下来，照着戟长的光头就一把砸过去。 “啊！混账你敢拒捕……哇啊！”\"}]}, \"decision\": \"retain\", \"presentation_mode\": \"dialogue\", \"story_function\": [\"补背景\"], \"adaptation_focus\": \"戟长下令抓人，五弟暴力拒捕，打斗开始。 军汉欲活捉萱娘，萱娘、四郎、五弟三人据守楼梯高处与巡山卫激战，太监作壁上观。\", \"must_keep\": [\"戟长下令铐人\", \"五弟扯栏杆砸人\", \"军汉反击喊抓人\", \"戟长下令抓人，五弟暴力拒捕，打斗开始。 军汉欲活捉萱娘，萱娘、四郎、五弟三人据守楼梯高处与巡山卫激战，太监作壁上观。\"], \"may_compress\": [], \"visual_focus\": [\"戟长\", \"五弟\", \"客栈\", \"戟长下令铐人\"], \"audio_focus\": [\"保留对白推进\", \"动作点补音效\", \"旁白带回忆感\"], \"continuity_requirements\": [\"保持flashback表达\", \"不得抹平叙事顺序与故事顺序差\", \"保留时间锚点：过去\", \"角色连续性：戟长 / 五弟\"], \"script_objective\": \"完整呈现并推进戏剧动作：戟长下令铐人\", \"conflict\": \"\", \"turning_point\": \"三人借地形抵挡围攻\", \"reason\": \"main_conflict_or_dialogue_dense；dialogue_priority\", \"candidate_meta\": {\"scene_id\": \"S0128\", \"decision_reasons\": [\"main_conflict_or_dialogue_dense\"], \"presentation_reasons\": [\"dialogue_priority\"], \"metrics\": {\"text_length\": 397, \"quote_count\": 9, \"action_score\": 1, \"exposition_score\": 0, \"inner_score\": 0, \"transition_score\": 0, \"reveal_score\": 0, \"tension_score\": 1, \"environment_score\": 0, \"character_count\": 6, \"location_count\": 1, \"beat_count\": 6, \"continuation_of_prev\": false, \"time_mode\": \"flashback\", \"order_delta\": -26}, \"characters\": [\"戟长\", \"五弟\", \"掌柜\", \"萱娘\", \"太监\", \"四郎\"], \"locations\": [\"客栈\"], \"key_beats\": [\"戟长下令铐人\", \"五弟扯栏杆砸人\", \"军汉反击喊抓人\", \"“五弟！杀出去！”四郎下令\", \"太监拦下侍卫观战\", \"三人借地形抵挡围攻\"], \"entity_refs\": [{\"entity_uid\": \"E000186\", \"entity_id\": \"E000186\", \"name\": \"戟长\", \"canonical_name\": \"戟长\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"戟长\", \"光头\", \"络腮胡子\"], \"match_score\": 9.3, \"ref_role\": \"character_candidate\"}, {\"entity_uid\": \"E000178\", \"entity_id\": \"E000178\", \"name\": \"掌柜\", \"canonical_name\": \"掌柜\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"掌柜\"], \"match_score\": 5.2, \"ref_role\": \"character_candidate\"}, {\"entity_uid\": \"E000174\", \"entity_id\": \"E000174\", \"name\": \"背刀汉子\", \"canonical_name\": \"背刀汉子\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"五弟\"], \"match_score\": 2.4, \"ref_role\": \"character_candidate\"}, {\"entity_uid\": \"E000180\", \"entity_id\": \"E000180\", \"name\": \"萱娘\", \"canonical_name\": \"萱娘\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"小娘皮\"], \"match_score\": 2.4, \"ref_role\": \"character_candidate\"}]}}"
    }
  ]
}