{
  "messages": [
    {
      "role": "system",
      "content": "You are a screenwriting agent. The program already created a script skeleton and shot plan. Do not change scene_id or shot_id ordering. Keep the number of shots stable. Chronology is program-owned. Use it to keep flashback, dream, rumor, and parallel-line language consistent, but do not rewrite chronology fields. Refine language, dialogue, narration, and shot descriptions while preserving the program structure. Return JSON only."
    },
    {
      "role": "user",
      "content": "Given the scene payload, chronology context, entity context, and the program-generated script candidate, refine it into a concise screenplay. Output STRICT JSON with keys: scene_id, shots (list), scene_notes, audio_notes. Shot schema: {shot_id,description,camera,actions,dialogue,narration,on_screen_text}. dialogue is a list of {speaker,line}. Keep the same shot count as the candidate unless the candidate is malformed. Keep the narrative presentation order, but make the script language consistent with chronology time_mode, anchor, and ordering hints. Prefer existing characters and locations. Return a single JSON object and nothing else (no markdown, no code fences). If unsure, return {\"scene_id\":\"\",\"shots\":[]}.\n\nSCENE:\n{\"candidate_id\": \"C0008-SC05\", \"title\": \"修行界真相\", \"summary\": \"李凡内心吐槽，望舒讲解修行界历史与现状，说明魔胎修士成为资源，劝李凡安心修行。\", \"type\": [\"对话\", \"内心独白\", \"系统/设定\"], \"tone\": [\"庄严\", \"紧张\", \"解说\"], \"importance\": \"主线\", \"presentation\": [\"对白驱动\", \"旁白+画面\", \"文字卡片\"], \"key_beats\": [\"李凡吐槽被当作食材\", \"望舒讲解修行界规则\", \"强调竹山庇护\"], \"characters\": [\"望舒\", \"李凡\"], \"locations\": [\"悬空飞山\"], \"continuation_of_prev\": false, \"source_chunk_id\": \"C0008\", \"source_start_para\": 259, \"source_end_para\": 264, \"text\": \"震惊到顾不上吐槽这种时候系统还搁这拆台了！\\n不是，老子诚心问道，只想修个正果，结果你们这些妖魔鬼怪，居然是在惦记着俺这纯真无暇的肉体！？还有正义吗！还有王法吗！呸！恶——心！\\n望舒真人也只道小童子被吓傻了，轻声细语得安慰道，“清月无须担忧，需知道修行之事，本来就是逆天改命，损不足而补有余，有违天道。因此修行一途，从来都是劫数不断，灾厄不绝。\\n\\n当年修行界盛行后天仙道的时候，还不是有天地人杀劫，地水火风厄数，就算修士之间，也有玄魔之辩，正邪之分，不过都是找个大义名分厮杀，实际上只为了挣夺洞天福地，法材侣地而争斗不休。\\n直到后来虚月当空，吾辈得了先天大道，情况反倒有所好转。\\n只因天地所生，孕有灵根的道子，都能拜月问道，阴差阳错，见着了是物非物的凡胎，亦能有所感应。\\n\\n而越是那三尸未斩之士，业数横生之徒，心术不正之辈，闻得大道，就越容易暗生魔胎，境界修得越高，反而越容易走上歧途，化身是物非物的魔形。\\n这些魔形走上歧途就绝不能回转，反而也要吃人修炼的。如此是邪非正的孽障，杀了也不用怜惜，反而吾辈也能从这些魔胎身上采伐修行资源。化作物的，可以炼化法宝。化作非物的，可以拿来饱腹。\\n诸如我竹山，当年也不过是散修旁门，左道汇聚的蛮夷，如今却也借着参悟大道的机缘，成了镇压一方的大教，仅是日常堕魔的大修士，杀两个就足以供养一教的修行之用了。何况中土那些弟子众多的名门大派呢。\\n\\n因而如今的修行界，像过去那样各宗各教争夺道统，动辄绝户灭门的杀伐，反倒是少了许多。各派还经常派出门下弟子巡游天下，诛除散落于人间道的诡物魔形，也是替天行道，岂不美哉？\\n所以清月，只要你恪守道心，谨记人型，有竹山的庇佑，修行自然顺风顺水，无需担心旁的。”\\n不是，你这副病娇脸瞪着老子，总感觉说服力不是很大啊！\\n\\n而且说话的时候把口水擦一擦好不好？都喷人脸上了！\\n\\n‘李凡的心情略微提升了1点’\", \"text_preview\": \"震惊到顾不上吐槽这种时候系统还搁这拆台了！ 不是，老子诚心问道，只想修个正果，结果你们这些妖魔鬼怪，居然是在惦记着俺这纯真无暇的肉体！？还有正义吗！还有王法吗…\", \"candidate_meta\": {\"candidate_id\": \"C0008-SC05\", \"record_count\": 6, \"char_len\": 783, \"structure_counts\": {\"body\": 5, \"dialogue\": 1}, \"boundary_reasons_after\": [\"system_switch\", \"structure_break\"], \"matched_entities\": [{\"entity_id\": \"E000002\", \"name\": \"李凡\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"李凡\", \"清月\", \"道子\"], \"score\": 9.8}, {\"entity_id\": \"E000045\", \"name\": \"望舒\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"望舒\", \"望舒真人\"], \"score\": 7.7}, {\"entity_id\": \"E000042\", \"name\": \"后天仙道\", \"type\": \"功法体系\", \"subtype\": \"\", \"matched_terms\": [\"后天仙道\", \"左道\"], \"score\": 7.4}, {\"entity_id\": \"E000051\", \"name\": \"魔胎\", \"type\": \"概念法则\", \"subtype\": \"\", \"matched_terms\": [\"魔胎\", \"魔形\"], \"score\": 7.2}, {\"entity_id\": \"E000016\", \"name\": \"虚月\", \"type\": \"概念法则\", \"subtype\": \"\", \"matched_terms\": [\"虚月\"], \"score\": 5.7}, {\"entity_id\": \"E000041\", \"name\": \"先天大道\", \"type\": \"功法体系\", \"subtype\": \"\", \"matched_terms\": [\"先天大道\"], \"score\": 5.4}, {\"entity_id\": \"E000053\", \"name\": \"竹山\", \"type\": \"组织\", \"subtype\": \"\", \"matched_terms\": [\"竹山\"], \"score\": 5.2}, {\"entity_id\": \"E000064\", \"name\": \"系统\", \"type\": \"系统面板\", \"subtype\": \"系统\", \"matched_terms\": [\"系统\"], \"score\": 5.2}, {\"entity_id\": \"E000012\", \"name\": \"修士\", \"type\": \"人物\", \"subtype\": \"角色姓名\", \"matched_terms\": [\"修士\"], \"score\": 5.1}, {\"entity_id\": \"E000023\", \"name\": \"童子\", \"type\": \"人物\", \"subtype\": \"角色姓名\", \"matched_terms\": [\"童子\"], \"score\": 5.1}], \"heuristic_types\": [\"系统/设定\", \"动作\", \"内心独白\"], \"heuristic_tones\": [\"庄严\", \"紧张\"], \"heuristic_presentation\": [\"文字卡片\", \"旁白+画面\", \"直接画面\"], \"heuristic_importance\": \"主线\"}, \"scene_id\": \"S0030\"}\n\nCHRONOLOGY:\n{\"scene_id\": \"S0030\", \"narrative_order\": 30, \"story_chronology_order\": 22, \"story_chronology_group\": \"CG0023\", \"time_mode\": \"flashback\", \"confidence\": 0.99, \"order_delta\": -8, \"temporal_anchor\": {\"label\": \"当年\", \"normalized_label\": \"flashback\", \"anchor_type\": \"flashback_marker\", \"relative_direction\": \"before\", \"amount\": null, \"unit\": \"\", \"time_of_day\": \"\", \"explicit\": true, \"anchor_scene_id\": \"S0029\"}, \"constraints\": [{\"relation\": \"flashback_of\", \"target_scene_id\": \"S0029\", \"confidence\": 0.92, \"reason\": \"flashback_marker\"}, {\"relation\": \"before\", \"target_scene_id\": \"S0029\", \"confidence\": 0.88, \"reason\": \"flashback_before_anchor\"}], \"evidence\": [{\"kind\": \"flashback\", \"field\": \"text\", \"text\": \"当年\", \"snippet\": \"行一途，从来都是劫数不断，灾厄不绝。 当年修行界盛行后天仙道的时候，还不是有天地人\"}, {\"kind\": \"flashback\", \"field\": \"text\", \"text\": \"当年\", \"snippet\": \"化作非物的，可以拿来饱腹。 诸如我竹山，当年也不过是散修旁门，左道汇聚的蛮夷，如今却\"}, {\"kind\": \"flashback\", \"field\": \"text\", \"text\": \"过去\", \"snippet\": \"多的名门大派呢。 因而如今的修行界，像过去那样各宗各教争夺道统，动辄绝户灭门的杀伐\"}, {\"kind\": \"forward\", \"field\": \"text\", \"text\": \"后来\", \"snippet\": \"挣夺洞天福地，法材侣地而争斗不休。 直到后来虚月当空，吾辈得了先天大道，情况反倒有所\"}, {\"kind\": \"insertion\", \"field\": \"text\", \"text\": \"且说\", \"snippet\": \"瞪着老子，总感觉说服力不是很大啊！ 而且说话的时候把口水擦一擦好不好？都喷人脸上了\"}]}\n\nENTITY CONTEXT:\n[{\"entity_id\": \"E000045\", \"name\": \"望舒\", \"type\": \"人物\", \"subtype\": \"\", \"aliases\": [\"女冠\", \"望舒真人\", \"姜望舒\", \"望舒仙子\", \"仙子\"], \"attributes\": {}, \"descriptions\": [\"山主弟子\", \"教导李凡修行\", \"墨竹山真传弟子\", \"山主座下弟子\"], \"evidence\": [\"望舒，玉蟾吃了你的童子，为师就赔你一个\", \"女冠莞尔一笑\", \"我乃墨竹山带发修行的女冠，山主座下的真传弟子，姜望舒\", \"望舒仙子\", \"望舒真人也不催促\", \"望舒真人冲自己流口水的模样\", \"望舒真人已闪到他身边\"], \"mentions\": [{\"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\": \"C0010\", \"summary\": \"收起可怖表情\", \"evidence\": [\"望舒真人收起了面上的可怖表情\"], \"attributes\": {}}, {\"chunk_id\": \"C0012\", \"summary\": \"教导李凡并挪移武人\", \"evidence\": [\"望舒真人笑着点点头，然后看向面前两人\"], \"attributes\": {}}], \"mention_count\": 7, \"observation_count\": 7, \"first_seen\": \"C0007\", \"last_seen\": \"C0012\"}, {\"entity_id\": \"E000033\", \"name\": \"悬空飞山\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"aliases\": [\"洞天福地\"], \"attributes\": {}, \"descriptions\": [\"山主居所\", \"仙气袅袅宫阙\", \"修行场所\"], \"evidence\": [\"悬空飞山映入眼帘\", \"在洞天福地里修行\"], \"mentions\": [{\"chunk_id\": \"C0005\", \"summary\": \"仙家道宗景象\", \"evidence\": [\"悬空飞山映入眼帘\"], \"attributes\": {}}, {\"chunk_id\": \"C0009\", \"summary\": \"修行速度更快\", \"evidence\": [\"在洞天福地里修行，较之人间道一日千里\"], \"attributes\": {}}], \"mention_count\": 2, \"observation_count\": 2, \"first_seen\": \"C0005\", \"last_seen\": \"C0009\"}, {\"entity_id\": \"E000002\", \"name\": \"李凡\", \"type\": \"人物\", \"subtype\": \"\", \"aliases\": [\"穿越者\", \"小相公\", \"小友\", \"天生道子\", \"小子\", \"清月\", \"李清月\", \"道子\"], \"attributes\": {}, \"descriptions\": [\"二十一童子之一\", \"从现代穿越而来\", \"拥有心理健康系统\", \"置身暴风雨中\", \"看到紫色月亮\", \"穿越者\", \"拜山主为师\", \"主角\"], \"evidence\": [\"李凡正被莺莺燕燕簇拥着喂酒\", \"小子李凡，诚心求道，想拜山主为师\", \"李凡的心情大幅提升了1点\", \"李凡强堆起笑脸\", \"李凡点点头\", \"李凡犹豫着看看地上的蒲团\", \"王爷和李凡都傻逼了\", \"李凡的右手不甘示弱得比了个中指\"], \"mentions\": [{\"chunk_id\": \"C0003\", \"summary\": \"置身暴风雨中\", \"evidence\": [\"李凡仿佛整个人置身于暴风雨之中\"], \"attributes\": {}}, {\"chunk_id\": \"C0004\", \"summary\": \"被山主和老道观察\", \"evidence\": [\"李凡缩着脖子扭头望去\"], \"attributes\": {}}, {\"chunk_id\": \"C0005\", \"summary\": \"捧剑不敢作死\", \"evidence\": [\"李凡可不敢作死\"], \"attributes\": {}}, {\"chunk_id\": \"C0006\", \"summary\": \"被侍婢簇拥喂酒\", \"evidence\": [\"李凡正被莺莺燕燕簇拥着喂酒\"], \"attributes\": {}}, {\"chunk_id\": \"C0006\", \"summary\": \"听不懂太素道祖\", \"evidence\": [\"李凡皱眉，根本听不懂对方在说什么\"], \"attributes\": {}}, {\"chunk_id\": \"C0007\", \"summary\": \"求拜山主为师\", \"evidence\": [\"小友天生道种\"], \"attributes\": {}}, {\"chunk_id\": \"C0008\", \"summary\": \"心情提升\", \"evidence\": [\"李凡的心情大幅提升了1点\"], \"attributes\": {}}, {\"chunk_id\": \"C0009\", \"summary\": \"想学法术逃跑\", \"evidence\": [\"李凡强堆起笑脸，心里决定了，等一学会飞，立马找个机会从这妖魔鬼怪盘踞的魔窟逃跑。\"], \"attributes\": {}}, {\"chunk_id\": \"C0010\", \"summary\": \"犹豫选择功法\", \"evidence\": [\"看出李凡还有点犹犹豫豫\"], \"attributes\": {}}, {\"chunk_id\": \"C0010\", \"summary\": \"拜天鬼神龛\", \"evidence\": [\"李凡学着那些修士的样子稽首叩拜\"], \"attributes\": {}}, {\"chunk_id\": \"C0011\", \"summary\": \"被玄天剑意操控\", \"evidence\": [\"李凡张着下巴呆了半天\"], \"attributes\": {}}, {\"chunk_id\": \"C0012\", \"summary\": \"被望舒真人教导\", \"evidence\": [\"望舒真人蹙蹙秀眉，“清月，不可欺压同门\"], \"attributes\": {}}], \"mention_count\": 14, \"observation_count\": 14, \"first_seen\": \"C0001\", \"last_seen\": \"C0012\"}]\n\nSCRIPT CANDIDATE:\n{\"scene_id\": \"S0030\", \"scene_notes\": \"李凡内心吐槽，望舒讲解修行界历史与现状，说明魔胎修士成为资源，劝李凡安心修行。；重要性：主线；呈现：对白驱动 / 旁白+画面 / 文字卡片；时间模式：flashback；时间顺序：叙事30->故事22；时间锚点：当年\", \"audio_notes\": \"动作点补音效；回忆段用清晰转场提示\", \"chronology\": {\"scene_id\": \"S0030\", \"narrative_order\": 30, \"story_chronology_order\": 22, \"story_chronology_group\": \"CG0023\", \"time_mode\": \"flashback\", \"confidence\": 0.99, \"order_delta\": -8, \"temporal_anchor\": {\"label\": \"当年\", \"normalized_label\": \"flashback\", \"anchor_type\": \"flashback_marker\", \"relative_direction\": \"before\", \"amount\": null, \"unit\": \"\", \"time_of_day\": \"\", \"explicit\": true, \"anchor_scene_id\": \"S0029\"}, \"constraints\": [{\"relation\": \"flashback_of\", \"target_scene_id\": \"S0029\", \"confidence\": 0.92, \"reason\": \"flashback_marker\"}, {\"relation\": \"before\", \"target_scene_id\": \"S0029\", \"confidence\": 0.88, \"reason\": \"flashback_before_anchor\"}], \"evidence\": [{\"kind\": \"flashback\", \"field\": \"text\", \"text\": \"当年\", \"snippet\": \"行一途，从来都是劫数不断，灾厄不绝。 当年修行界盛行后天仙道的时候，还不是有天地人\"}, {\"kind\": \"flashback\", \"field\": \"text\", \"text\": \"当年\", \"snippet\": \"化作非物的，可以拿来饱腹。 诸如我竹山，当年也不过是散修旁门，左道汇聚的蛮夷，如今却\"}, {\"kind\": \"flashback\", \"field\": \"text\", \"text\": \"过去\", \"snippet\": \"多的名门大派呢。 因而如今的修行界，像过去那样各宗各教争夺道统，动辄绝户灭门的杀伐\"}, {\"kind\": \"forward\", \"field\": \"text\", \"text\": \"后来\", \"snippet\": \"挣夺洞天福地，法材侣地而争斗不休。 直到后来虚月当空，吾辈得了先天大道，情况反倒有所\"}, {\"kind\": \"insertion\", \"field\": \"text\", \"text\": \"且说\", \"snippet\": \"瞪着老子，总感觉说服力不是很大啊！ 而且说话的时候把口水擦一擦好不好？都喷人脸上了\"}]}, \"shots\": [{\"shot_id\": \"S0030_SH01\", \"camera\": \"转场中景\", \"description\": \"回忆段引入，悬空飞山带出李凡吐槽被当作食材\", \"actions\": [\"李凡吐槽被当作食材\"], \"dialogue\": [], \"narration\": \"\", \"on_screen_text\": \"\", \"focus_characters\": [\"望舒\"], \"focus_locations\": [\"悬空飞山\"], \"candidate_meta\": {\"shot_role\": \"opening\", \"description_hint\": \"回忆段引入，悬空飞山带出李凡吐槽被当作食材\", \"camera_hint\": \"转场中景\", \"shot_index\": 1, \"chronology_summary\": {\"narrative_order\": 30, \"story_chronology_order\": 22, \"story_chronology_group\": \"CG0023\", \"time_mode\": \"flashback\", \"confidence\": 0.99, \"order_delta\": -8, \"anchor_label\": \"当年\", \"anchor_type\": \"flashback_marker\", \"constraint_count\": 2, \"evidence_count\": 5}}}, {\"shot_id\": \"S0030_SH02\", \"camera\": \"双人中景\", \"description\": \"望舒的反应镜头，推进望舒讲解修行界规则\", \"actions\": [\"望舒讲解修行界规则\"], \"dialogue\": [], \"narration\": \"李凡内心吐槽，望舒讲解修行界历史与现状，说明魔胎修士成为资源，劝李凡安心修行。\", \"on_screen_text\": \"\", \"focus_characters\": [\"望舒\", \"李凡\"], \"focus_locations\": [\"悬空飞山\"], \"candidate_meta\": {\"shot_role\": \"character\", \"description_hint\": \"望舒的反应镜头，推进望舒讲解修行界规则\", \"camera_hint\": \"双人中景\", \"shot_index\": 2, \"chronology_summary\": {\"narrative_order\": 30, \"story_chronology_order\": 22, \"story_chronology_group\": \"CG0023\", \"time_mode\": \"flashback\", \"confidence\": 0.99, \"order_delta\": -8, \"anchor_label\": \"当年\", \"anchor_type\": \"flashback_marker\", \"constraint_count\": 2, \"evidence_count\": 5}}}, {\"shot_id\": \"S0030_SH03\", \"camera\": \"跟拍\", \"description\": \"动作或状态变化的推进镜头\", \"actions\": [\"望舒讲解修行界规则\", \"强调竹山庇护\"], \"dialogue\": [], \"narration\": \"\", \"on_screen_text\": \"李凡内心吐槽，望舒讲解修行界历史与现状，说明魔胎修士成为资源，劝李凡安心修行。\", \"focus_characters\": [\"望舒\", \"李凡\"], \"focus_locations\": [\"悬空飞山\"], \"candidate_meta\": {\"shot_role\": \"dialogue_or_action\", \"description_hint\": \"动作或状态变化的推进镜头\", \"camera_hint\": \"跟拍\", \"shot_index\": 3, \"chronology_summary\": {\"narrative_order\": 30, \"story_chronology_order\": 22, \"story_chronology_group\": \"CG0023\", \"time_mode\": \"flashback\", \"confidence\": 0.99, \"order_delta\": -8, \"anchor_label\": \"当年\", \"anchor_type\": \"flashback_marker\", \"constraint_count\": 2, \"evidence_count\": 5}}}, {\"shot_id\": \"S0030_SH04\", \"camera\": \"特写\", \"description\": \"望舒收束镜头，停在强调竹山庇护\", \"actions\": [\"强调竹山庇护\"], \"dialogue\": [], \"narration\": \"\", \"on_screen_text\": \"\", \"focus_characters\": [\"望舒\"], \"focus_locations\": [\"悬空飞山\"], \"candidate_meta\": {\"shot_role\": \"closing\", \"description_hint\": \"望舒收束镜头，停在强调竹山庇护\", \"camera_hint\": \"特写\", \"shot_index\": 4, \"chronology_summary\": {\"narrative_order\": 30, \"story_chronology_order\": 22, \"story_chronology_group\": \"CG0023\", \"time_mode\": \"flashback\", \"confidence\": 0.99, \"order_delta\": -8, \"anchor_label\": \"当年\", \"anchor_type\": \"flashback_marker\", \"constraint_count\": 2, \"evidence_count\": 5}}}], \"candidate_meta\": {\"scene_id\": \"S0030\", \"source_chunk_id\": \"C0008\", \"source_start_para\": 259, \"source_end_para\": 264, \"characters\": [\"望舒\", \"李凡\"], \"locations\": [\"悬空飞山\"], \"key_beats\": [\"李凡吐槽被当作食材\", \"望舒讲解修行界规则\", \"强调竹山庇护\"], \"shot_count_hint\": 4, \"scene_summary\": \"李凡内心吐槽，望舒讲解修行界历史与现状，说明魔胎修士成为资源，劝李凡安心修行。\", \"scene_text_preview\": \"震惊到顾不上吐槽这种时候系统还搁这拆台了！ 不是，老子诚心问道，只想修个正果，结果你们这些妖魔鬼怪，居然是在惦记着俺这纯真无暇的肉体！？还有正义吗！还有王法吗…\", \"chronology_summary\": {\"narrative_order\": 30, \"story_chronology_order\": 22, \"story_chronology_group\": \"CG0023\", \"time_mode\": \"flashback\", \"confidence\": 0.99, \"order_delta\": -8, \"anchor_label\": \"当年\", \"anchor_type\": \"flashback_marker\", \"constraint_count\": 2, \"evidence_count\": 5}}}"
    }
  ]
}