{
  "messages": [
    {
      "role": "system",
      "content": "You are a scene enrichment agent. The program has already split the chunk into candidate scenes. Do not invent or remove candidates unless the input is malformed. Keep candidate boundaries stable and only decide whether the first candidate continues the previous scene. Return JSON only."
    },
    {
      "role": "user",
      "content": "The program already produced candidate scenes for one chunk. For each candidate, return exactly one scene object under key scenes. Output STRICT JSON with key scenes (list). Scene schema: {candidate_id,title,summary,type,tone,importance,presentation,key_beats,characters,locations,continuation_of_prev}. Use the same candidate_id values from the input. type/tone/presentation are lists of short labels. Prefer the program-provided characters and locations unless the text clearly contradicts them. Only set continuation_of_prev=true when the first candidate clearly continues the previous chunk's scene. Keep title and summary short. Keep key_beats to 1-3 short phrases. Return a single JSON object and nothing else (no markdown, no code fences). If unsure, return {\"scenes\":[]}.\n\nCHUNK META:\n{\"chunk_id\": \"C0003\", \"start_para\": 22, \"end_para\": 35, \"char_len\": 2065, \"para_count\": 14, \"structure_counts\": {\"body\": 12, \"short_line\": 1, \"chapter_heading\": 1}}\n\nCANDIDATE SCENES:\n[{\"candidate_id\": \"C0003-SC01\", \"title_hint\": \"道童 · 洪太尉道：「我直如此有眼…\", \"summary_hint\": \"真人三回五次稟說：「此殿開不得，恐惹利害，有傷於人。」太尉大怒…；次日早膳已後，真人道衆並提點執事人等請太尉遊山。太尉大喜。許多…\", \"type_hints\": [\"动作\"], \"tone_hints\": [\"庄严\", \"紧张\"], \"presentation_hints\": [\"直接画面\"], \"importance_hint\": \"主线\", \"characters_hint\": [\"道童\", \"洪信\"], \"locations_hint\": [\"三清殿\", \"伏魔之殿\"], \"text\": \"洪太尉道：「我直如此有眼不識真師，當面錯過！」真人道：「太尉，且請放心。既然祖師法旨道是去了，比及太尉回京之日，這場醮事，祖師已都完了。」太尉見說，方纔放心。真人一面教安排筵宴管待太尉，請將丹詔收藏於御書匣內，留在上清宮中；龍香就三清殿上燒了。當日方丈內大排齋供，設宴飲酌。至晚席罷，止宿到曉。\\n\\n次日早膳已後，真人道衆並提點執事人等請太尉遊山。太尉大喜。許多人從跟隨著，步行出方丈，前面兩個道童引路，行至宮前宮後，看翫許多景致。三清殿上，富貴不可盡言。左廊下：九天殿，紫微殿，北極殿；右廊下：太乙殿，三官殿，驅邪殿。諸宮看遍，行到右廊後一所去處。洪太尉看時，另外一所殿宇：一遭都是搗椒紅泥牆，正面兩扇朱紅格子；門上使著肐膊大鎖鎖著，交叉上面貼著十數道封皮，封皮上又是重重疊疊使著朱印；詹前一面朱紅漆金字牌額，上書四個金字，寫道：「伏魔之殿。」\\n\\n太尉指著門道：「此殿是甚麽去處？」真人答道：「此乃是前代老租天師鎖鎮魔王之殿。」太尉又問道：「如何上面重重疊疊貼著許多封皮？」真人答道：「此是老祖大唐洞玄國師封鎖魔王在此。但是經傳一代天師，親手便添一道封皮，使其子子孫孫不得妄開。走了魔君，非常利害。今經八九代祖師，誓不敢開。鎖用銅汁灌鑄，誰知裏面的事？小道自來住持本宮，三十餘年，也只聽聞。」洪太尉聽了，心中驚怪，想道：「我且試看魔王一看。」便對真人說道：「你且開門來，我看魔王甚麽模樣。」真人稟道：「太尉，此殿決下敢開！先祖天師叮嚀告戒：今後諸人不許擅開。」太尉笑道：「胡說！你等要妄生怪事，煽惑良民，故意安排這等去處，假稱鎖鎮魔王，顯耀你們道術。我讀一鑑之書，何曾見鎖魔之法？神鬼之道，處隔幽冥，我不信有魔王在內。快快與我打開，我看魔王如何。」\\n\\n真人三回五次稟說：「此殿開不得，恐惹利害，有傷於人。」太尉大怒，指著道衆說道：「你等不開與我看，回到朝廷，先奏你們衆道土阻當宣詔，違別聖旨，不令我見天師的罪犯；後奏你等私設此殿，假稱鎖鎮魔王，煽惑軍民百姓。把你都追了度牒，刺配遠惡軍州受苦。」\\n\\n真人等懼怕太尉權勢，只得喚幾個火工道人來，先把封皮揭了，將鐵錘打開大鎖。衆人把門推開，一齊都到殿內，黑洞洞不見一物。\\n\\n太尉教從人取十數個火把點著，將來打一照時，四邊並無別物，只中央一個石碣，約高五六尺，下面石龜跌坐，大半陷在泥裏。照那石碣上時，前面都是龍章鳳篆，天書符籙，人皆不識；照那碑後時，卻有四個真字大書，鑿著「遇洪而開。」洪太尉看了這四個字，大喜，便對真人說道：「你等阻當我，卻怎地數百年前已註定我姓字在此？『遇洪而開，』分明是教我開看，卻何妨？我想這個魔王都只在石碣底下。汝等從人與我多喚幾個火工人等將鋤頭鐵鍬來掘開。」\", \"text_preview\": \"洪太尉道：「我直如此有眼不識真師，當面錯過！」真人道：「太尉，且請放心。既然祖師法旨道是去了，比及太尉回京之日，這場醮事，祖師已都完了。」太尉見說，方纔放心。…\", \"source_chunk_id\": \"C0003\", \"source_start_para\": 22, \"source_end_para\": 27, \"record_count\": 6, \"char_len\": 1115, \"structure_counts\": {\"body\": 6}, \"continuation_hint\": true, \"key_beats_hint\": [\"真人三回五次稟說：「此殿開不得，恐惹利害，有傷於人。」太尉大怒…\", \"次日早膳已後，真人道衆並提點執事人等請太尉遊山。太尉大喜。許多…\", \"洪太尉道：「我直如此有眼不識真師，當面錯過！」真人道：「太尉，…\"], \"matched_entities\": [{\"entity_id\": \"E000014\", \"name\": \"三清殿\", \"type\": \"地点\", \"subtype\": \"洞府/殿阁\", \"matched_terms\": [\"三清殿\"], \"score\": 5.1}, {\"entity_id\": \"E000016\", \"name\": \"伏魔之殿\", \"type\": \"地点\", \"subtype\": \"洞府/殿阁\", \"matched_terms\": [\"伏魔之殿\"], \"score\": 5.1}, {\"entity_id\": \"E000015\", \"name\": \"真人\", \"type\": \"职位称号\", \"subtype\": \"真人\", \"matched_terms\": [\"真人\"], \"score\": 5.1}, {\"entity_id\": \"E000017\", \"name\": \"石碣\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"石碣\"], \"score\": 5.1}, {\"entity_id\": \"E000011\", \"name\": \"道童\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"道童\"], \"score\": 5.1}, {\"entity_id\": \"E000002\", \"name\": \"洪信\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"洪太尉\", \"太尉\"], \"score\": 4.3}, {\"entity_id\": \"E000018\", \"name\": \"天罡星\", \"type\": \"生物种族\", \"subtype\": \"\", \"matched_terms\": [\"魔君\"], \"score\": 2.2}, {\"entity_id\": \"E000023\", \"name\": \"小王都太尉\", \"type\": \"职位称号\", \"subtype\": \"\", \"matched_terms\": [\"太尉\"], \"score\": 2.2}, {\"entity_id\": \"E000008\", \"name\": \"罗天大醮\", \"type\": \"事件仪式\", \"subtype\": \"\", \"matched_terms\": [\"醮事\"], \"score\": 2.2}], \"entity_refs\": [{\"entity_id\": \"E000014\", \"entity_uid\": \"E000014\", \"name\": \"三清殿\", \"canonical_name\": \"三清殿\", \"type\": \"地点\", \"subtype\": \"洞府/殿阁\", \"matched_terms\": [\"三清殿\"], \"match_score\": 5.1, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000016\", \"entity_uid\": \"E000016\", \"name\": \"伏魔之殿\", \"canonical_name\": \"伏魔之殿\", \"type\": \"地点\", \"subtype\": \"洞府/殿阁\", \"matched_terms\": [\"伏魔之殿\"], \"match_score\": 5.1, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000015\", \"entity_uid\": \"E000015\", \"name\": \"真人\", \"canonical_name\": \"真人\", \"type\": \"职位称号\", \"subtype\": \"真人\", \"matched_terms\": [\"真人\"], \"match_score\": 5.1, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000017\", \"entity_uid\": \"E000017\", \"name\": \"石碣\", \"canonical_name\": \"石碣\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"石碣\"], \"match_score\": 5.1, \"ref_role\": \"other_candidate\"}, {\"entity_id\": \"E000011\", \"entity_uid\": \"E000011\", \"name\": \"道童\", \"canonical_name\": \"道童\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"道童\"], \"match_score\": 5.1, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000002\", \"entity_uid\": \"E000002\", \"name\": \"洪信\", \"canonical_name\": \"洪信\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"洪太尉\", \"太尉\"], \"match_score\": 4.3, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000018\", \"entity_uid\": \"E000018\", \"name\": \"天罡星\", \"canonical_name\": \"天罡星\", \"type\": \"生物种族\", \"subtype\": \"\", \"matched_terms\": [\"魔君\"], \"match_score\": 2.2, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000023\", \"entity_uid\": \"E000023\", \"name\": \"小王都太尉\", \"canonical_name\": \"小王都太尉\", \"type\": \"职位称号\", \"subtype\": \"\", \"matched_terms\": [\"太尉\"], \"match_score\": 2.2, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000008\", \"entity_uid\": \"E000008\", \"name\": \"罗天大醮\", \"canonical_name\": \"罗天大醮\", \"type\": \"事件仪式\", \"subtype\": \"\", \"matched_terms\": [\"醮事\"], \"match_score\": 2.2, \"ref_role\": \"other_candidate\"}], \"boundary_reasons_after\": [\"forced_scene_max_chars\"]}, {\"candidate_id\": \"C0003-SC02\", \"title_hint\": \"洪信 · 真人慌忙諫道：「太尉，不…\", \"summary_hint\": \"真人慌忙諫道：「太尉，不可掘動，恐有利害，傷犯於人，不當穩便！…；只見穴內刮喇喇一聲響亮，那響非同小可。響亮過處，只見一道黑氣，…\", \"type_hints\": [\"动作\"], \"tone_hints\": [\"庄严\", \"紧张\"], \"presentation_hints\": [\"直接画面\"], \"importance_hint\": \"主线\", \"characters_hint\": [\"洪信\", \"仁宗\", \"哲宗\"], \"locations_hint\": [\"东京\"], \"text\": \"真人慌忙諫道：「太尉，不可掘動，恐有利害，傷犯於人，不當穩便！」太尉大怒，喝道：「你等道衆省得甚麽！碣上分明鑿著遇我而開，你如何阻當？快與我喚人來開！」真人又三回五次稟道：「恐有不好。」太尉那裏肯聽。只得聚集衆人，先把石碣放倒，一齊併力掘那石龜，半日方才掘得起。又掘下去，只有三四尺深，見一片大青石板，方可丈圍。洪太尉叫再掘起來。真人又苦稟道：「不可掘動。」太尉那裏肯聽。衆人只得把石板一齊扛起。看時，石板底下，卻是一個萬丈深淺地穴。\\n\\n只見穴內刮喇喇一聲響亮，那響非同小可。響亮過處，只見一道黑氣，從穴裏滾將起來，掀塌了半個殿角。那道黑氣，直沖上半天裏，空中散作百十道金光，望四面八方去了。衆人喫了一驚，發聲喊，撇下鋤頭鐵鍬，盡從殿內奔將出來，推倒顛翻無數。驚得洪太尉目瞪口呆，罔知所措，面色如上。奔到廊下，只見真人向前叫苦不迭。\\n\\n太尉問道：「走了的卻是甚麽妖魔？」真人道：「太尉不知：此殿中，當初老祖天師洞玄真人傳下法符，囑付道：『此殿內鎮鎖著三十六員天罡星，七十二座地煞星，一共是一百單八個魔君在裏面。上立石碣，鑿著龍章鳳篆姓名，鎮住在此。若還放他出世，必惱下方生靈。』如今太尉放他走了，怎生是好！」當時洪太尉聽罷，渾身冷汗，捉顫不住；急急收拾行李，引了從人下山回京。真人並道眾送官已罷，自回宮內修理殿宇，豎立石碣，不在話下。\\n\\n再說洪太尉在途中分付從人，教把走妖魔一節休說與外人知道，恐天子知而見責。於路無話，星夜回至京師。進得汴梁城，聞人所說：「天師在東京禁院做了七晝夜好事，普施符籙，禳救災病，瘟疫盡消，軍民安泰，天師辭朝，乘鶴駕雲，自回龍虎山去了。」洪太尉次日早朝，見了天子，奏說：「天師乘鶴駕雲，先到京師；臣等驛站而來，纔得到此。」仁宗准奏，賞賜洪信，復還舊職，亦不在話下。\\n\\n後來仁宗天子在位共四十二年晏駕，無有太子，傳位濮安懿王允讓之子，太宗皇帝嫡孫，立帝號曰英宗。在位四年，傳位與太子神宗。神宗在位一十八年，傳位與太子哲宗。那時天下太平，四方無事。\\n\\n且住！若真個太平無事，今日開書演義又說著些甚麼？看官不要心慌，下文便有一部七十回正書，一百四十句題目，有分教：宛子城中藏猛虎，蓼兒洼內聚蛟龍。\\n\\n畢竟如何緣故，且聽初回分解。\", \"text_preview\": \"真人慌忙諫道：「太尉，不可掘動，恐有利害，傷犯於人，不當穩便！」太尉大怒，喝道：「你等道衆省得甚麽！碣上分明鑿著遇我而開，你如何阻當？快與我喚人來開！」真人又…\", \"source_chunk_id\": \"C0003\", \"source_start_para\": 28, \"source_end_para\": 34, \"record_count\": 7, \"char_len\": 925, \"structure_counts\": {\"body\": 6, \"short_line\": 1}, \"continuation_hint\": false, \"key_beats_hint\": [\"真人慌忙諫道：「太尉，不可掘動，恐有利害，傷犯於人，不當穩便！…\", \"只見穴內刮喇喇一聲響亮，那響非同小可。響亮過處，只見一道黑氣，…\", \"再說洪太尉在途中分付從人，教把走妖魔一節休說與外人知道，恐天子…\"], \"matched_entities\": [{\"entity_id\": \"E000002\", \"name\": \"洪信\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"洪信\", \"洪太尉\", \"太尉\"], \"score\": 9.3}, {\"entity_id\": \"E000018\", \"name\": \"天罡星\", \"type\": \"生物种族\", \"subtype\": \"\", \"matched_terms\": [\"天罡星\", \"魔君\", \"地煞星\"], \"score\": 9.2}, {\"entity_id\": \"E000001\", \"name\": \"仁宗\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"仁宗\"], \"score\": 5.2}, {\"entity_id\": \"E000025\", \"name\": \"哲宗\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"哲宗\"], \"score\": 5.2}, {\"entity_id\": \"E000007\", \"name\": \"瘟疫\", \"type\": \"事件仪式\", \"subtype\": \"\", \"matched_terms\": [\"瘟疫\"], \"score\": 5.1}, {\"entity_id\": \"E000015\", \"name\": \"真人\", \"type\": \"职位称号\", \"subtype\": \"真人\", \"matched_terms\": [\"真人\"], \"score\": 5.1}, {\"entity_id\": \"E000017\", \"name\": \"石碣\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"石碣\"], \"score\": 5.1}, {\"entity_id\": \"E000004\", \"name\": \"东京\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"汴梁\"], \"score\": 2.3}, {\"entity_id\": \"E000023\", \"name\": \"小王都太尉\", \"type\": \"职位称号\", \"subtype\": \"\", \"matched_terms\": [\"太尉\"], \"score\": 2.2}], \"entity_refs\": [{\"entity_id\": \"E000002\", \"entity_uid\": \"E000002\", \"name\": \"洪信\", \"canonical_name\": \"洪信\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"洪信\", \"洪太尉\", \"太尉\"], \"match_score\": 9.3, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000018\", \"entity_uid\": \"E000018\", \"name\": \"天罡星\", \"canonical_name\": \"天罡星\", \"type\": \"生物种族\", \"subtype\": \"\", \"matched_terms\": [\"天罡星\", \"魔君\", \"地煞星\"], \"match_score\": 9.2, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000001\", \"entity_uid\": \"E000001\", \"name\": \"仁宗\", \"canonical_name\": \"仁宗\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"仁宗\"], \"match_score\": 5.2, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000025\", \"entity_uid\": \"E000025\", \"name\": \"哲宗\", \"canonical_name\": \"哲宗\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"哲宗\"], \"match_score\": 5.2, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000007\", \"entity_uid\": \"E000007\", \"name\": \"瘟疫\", \"canonical_name\": \"瘟疫\", \"type\": \"事件仪式\", \"subtype\": \"\", \"matched_terms\": [\"瘟疫\"], \"match_score\": 5.1, \"ref_role\": \"other_candidate\"}, {\"entity_id\": \"E000015\", \"entity_uid\": \"E000015\", \"name\": \"真人\", \"canonical_name\": \"真人\", \"type\": \"职位称号\", \"subtype\": \"真人\", \"matched_terms\": [\"真人\"], \"match_score\": 5.1, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000017\", \"entity_uid\": \"E000017\", \"name\": \"石碣\", \"canonical_name\": \"石碣\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"石碣\"], \"match_score\": 5.1, \"ref_role\": \"other_candidate\"}, {\"entity_id\": \"E000004\", \"entity_uid\": \"E000004\", \"name\": \"东京\", \"canonical_name\": \"东京\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"汴梁\"], \"match_score\": 2.3, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000023\", \"entity_uid\": \"E000023\", \"name\": \"小王都太尉\", \"canonical_name\": \"小王都太尉\", \"type\": \"职位称号\", \"subtype\": \"\", \"matched_terms\": [\"太尉\"], \"match_score\": 2.2, \"ref_role\": \"character_candidate\"}], \"boundary_reasons_after\": [\"chapter_heading\"]}, {\"candidate_id\": \"C0003-SC03\", \"title_hint\": \"场景\", \"summary_hint\": \"第一回 王教頭私走延安府 九紋龍大鬧史家村\", \"type_hints\": [\"叙事\"], \"tone_hints\": [\"中性\"], \"presentation_hints\": [\"叙事画面\"], \"importance_hint\": \"支线\", \"characters_hint\": [\"王进\"], \"locations_hint\": [\"史家村\", \"延安府\"], \"text\": \"第一回　王教頭私走延安府　九紋龍大鬧史家村\", \"text_preview\": \"第一回 王教頭私走延安府 九紋龍大鬧史家村\", \"source_chunk_id\": \"C0003\", \"source_start_para\": 35, \"source_end_para\": 35, \"record_count\": 1, \"char_len\": 21, \"structure_counts\": {\"chapter_heading\": 1}, \"continuation_hint\": false, \"key_beats_hint\": [\"第一回 王教頭私走延安府 九紋龍大鬧史家村\"], \"matched_entities\": [{\"entity_id\": \"E000034\", \"name\": \"史家村\", \"type\": \"地点\", \"subtype\": \"城镇/疆域\", \"matched_terms\": [\"史家村\"], \"score\": 5.5}, {\"entity_id\": \"E000027\", \"name\": \"延安府\", \"type\": \"地点\", \"subtype\": \"洞府/殿阁\", \"matched_terms\": [\"延安府\"], \"score\": 5.5}, {\"entity_id\": \"E000026\", \"name\": \"王进\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"王教頭\"], \"score\": 2.5}], \"entity_refs\": [{\"entity_id\": \"E000034\", \"entity_uid\": \"E000034\", \"name\": \"史家村\", \"canonical_name\": \"史家村\", \"type\": \"地点\", \"subtype\": \"城镇/疆域\", \"matched_terms\": [\"史家村\"], \"match_score\": 5.5, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000027\", \"entity_uid\": \"E000027\", \"name\": \"延安府\", \"canonical_name\": \"延安府\", \"type\": \"地点\", \"subtype\": \"洞府/殿阁\", \"matched_terms\": [\"延安府\"], \"match_score\": 5.5, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000026\", \"entity_uid\": \"E000026\", \"name\": \"王进\", \"canonical_name\": \"王进\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"王教頭\"], \"match_score\": 2.5, \"ref_role\": \"character_candidate\"}], \"boundary_reasons_after\": []}]"
    }
  ]
}