{
  "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\": \"C0043\", \"start_para\": 358, \"end_para\": 366, \"char_len\": 1791, \"para_count\": 9, \"structure_counts\": {\"body\": 7, \"dialogue\": 2}}\n\nCANDIDATE SCENES:\n[{\"candidate_id\": \"C0043-SC01\", \"title_hint\": \"玉帝 · 叔宝道：“陛下宽心，今晚…\", \"summary_hint\": \"叔宝道：“陛下宽心，今晚臣与敬德把守宫门，看有甚么鬼祟。”；太宗准奏，茂功谢恩而出。当日天晚，各取披挂，他两个介胄整齐，执…\", \"type_hints\": [\"对话\"], \"tone_hints\": [\"庄严\", \"紧张\"], \"presentation_hints\": [\"对白驱动\"], \"importance_hint\": \"主线\", \"characters_hint\": [\"玉帝\", \"秦叔宝\", \"尉迟敬德\"], \"locations_hint\": [], \"text\": \"叔宝道：“陛下宽心，今晚臣与敬德把守宫门，看有甚么鬼祟。”\\n\\n太宗准奏，茂功谢恩而出。当日天晚，各取披挂，他两个介胄整齐，执金瓜钺斧，在宫门外把守。好将军！你看他怎生打扮：头戴金盔光烁烁，身披铠甲龙鳞。护心宝镜幌祥云，狮蛮收紧扣，绣带彩霞新。这一个凤眼朝天星斗怕，那一个环睛映电月光浮。他本是英雄豪杰旧勋臣，只落得千年称户尉，万古作门神。\\n\\n二将军侍立门旁，一夜天晚，更不曾见一点邪崇。是夜，太宗在宫，安寝无事，晓来宣二将军，重重赏劳道：“朕自得疾，数日不能得睡，今夜仗二将军威势甚安。卿且请出安息安息，待晚间再一护卫。”二将谢恩而出。遂此二三夜把守俱安，只是御膳减损，病转觉重。太宗又不忍二将辛苦，又宣叔宝、敬德与杜、房诸公入宫，吩咐道：“这两日朕虽得安，却只难为秦、胡二将军彻夜辛苦。朕欲召巧手丹青，传二将军真容，贴于门上，免得劳他，如何？”众臣即依旨，选两个会写真的，着胡、秦二公依前披挂，照样画了，贴在门上，夜间也即无事。\", \"text_preview\": \"叔宝道：“陛下宽心，今晚臣与敬德把守宫门，看有甚么鬼祟。” 太宗准奏，茂功谢恩而出。当日天晚，各取披挂，他两个介胄整齐，执金瓜钺斧，在宫门外把守。好将军！你看…\", \"source_chunk_id\": \"C0043\", \"source_start_para\": 358, \"source_end_para\": 360, \"record_count\": 3, \"char_len\": 415, \"structure_counts\": {\"body\": 3}, \"continuation_hint\": true, \"key_beats_hint\": [\"叔宝道：“陛下宽心，今晚臣与敬德把守宫门，看有甚么鬼祟。”\", \"太宗准奏，茂功谢恩而出。当日天晚，各取披挂，他两个介胄整齐，执…\", \"二将军侍立门旁，一夜天晚，更不曾见一点邪崇。是夜，太宗在宫，安…\"], \"matched_entities\": [{\"entity_id\": \"E000052\", \"name\": \"玉帝\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"陛下\", \"太宗\"], \"score\": 4.8}, {\"entity_id\": \"E000091\", \"name\": \"秦叔宝\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"叔宝\"], \"score\": 2.2}, {\"entity_id\": \"E000092\", \"name\": \"尉迟敬德\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"敬德\"], \"score\": 2.1}], \"entity_refs\": [{\"entity_id\": \"E000052\", \"entity_uid\": \"E000052\", \"name\": \"玉帝\", \"canonical_name\": \"玉帝\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"陛下\", \"太宗\"], \"match_score\": 4.8, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000091\", \"entity_uid\": \"E000091\", \"name\": \"秦叔宝\", \"canonical_name\": \"秦叔宝\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"叔宝\"], \"match_score\": 2.2, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000092\", \"entity_uid\": \"E000092\", \"name\": \"尉迟敬德\", \"canonical_name\": \"尉迟敬德\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"敬德\"], \"match_score\": 2.1, \"ref_role\": \"character_candidate\"}], \"boundary_reasons_after\": [\"time_transition\", \"location_transition\"]}, {\"candidate_id\": \"C0043-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“微臣半月前，在森罗殿上，见泾河鬼龙告陛下许救反诛之故，第一殿秦广大王即差鬼使催请陛下，要三曹对案。臣已知之，故来此间候接，不期今日来迟，望乞恕罪恕罪。”太宗道：“你姓甚名谁？是何官职？”那人道：“微臣存日，在阳曹侍先君驾前，为兹州令，后拜礼部侍郎，姓崔名珪。今在阴司，得受酆都掌案判官。”太宗大喜，近前来御手忙搀道：“先生远劳。朕驾前魏征有书一封，正寄与先生，却好相遇。”判官谢恩，问书在何处。太宗即向袖中取出递与崔珪。珪拜接了，拆封而看。其书曰：辱爱弟魏征，顿首书拜大都案契兄崔老先生台下：忆昔交游，音容如在。倏尔数载，不闻清教。常只是遇节令设蔬品奉祭，未卜享否？又承不弃，梦中临示，始知我兄长大人高迁。奈何阴阳两隔，天各一方，不能面觌。今因我太宗文皇帝倏然而故，料是对案三曹，必然得与兄长相会。万祈俯念生日交情，方便一二，放我陛下回阳，殊为爱也。容再修谢。不尽。“那判官看了书，满心欢喜道：“魏人曹前日梦斩老龙一事，臣已早知，甚是夸奖不尽。又蒙他早晚看顾臣的子孙，今日既有书来，陛下宽心，微臣管送陛下还阳，重登玉阙。”太宗称谢了。\", \"text_preview\": \"如此二三日，又听得后宰门乒乓乒乓砖瓦乱响，晓来急宣众臣曰：“连日前门幸喜无事，今夜后门又响，却不又惊杀寡人也！”茂功进前奏道：“前门不安，是敬德、叔宝护卫；后…\", \"source_chunk_id\": \"C0043\", \"source_start_para\": 361, \"source_end_para\": 365, \"record_count\": 5, \"char_len\": 1318, \"structure_counts\": {\"body\": 3, \"dialogue\": 2}, \"continuation_hint\": false, \"key_beats_hint\": [\"“微臣半月前，在森罗殿上，见泾河鬼龙告陛下许救反诛之故，第一殿…\", \"如此二三日，又听得后宰门乒乓乒乓砖瓦乱响，晓来急宣众臣曰：“连…\", \"“陛下宽心，臣有一事，管保陛下长生。”太宗道：“病势已入膏肓，…\"], \"matched_entities\": [{\"entity_id\": \"E000093\", \"name\": \"崔珪\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"崔珪\", \"酆都判官\", \"崔老先生\", \"判官\"], \"score\": 11.2}, {\"entity_id\": \"E000090\", \"name\": \"魏征\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"魏征\", \"魏人曹\"], \"score\": 7.3}, {\"entity_id\": \"E000094\", \"name\": \"冥司\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"冥司\", \"阴司\"], \"score\": 7.2}, {\"entity_id\": \"E000043\", \"name\": \"生死簿\", \"type\": \"其他\", \"subtype\": \"\", \"matched_terms\": [\"生死簿\", \"生死文簿\"], \"score\": 7.2}, {\"entity_id\": \"E000052\", \"name\": \"玉帝\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"陛下\", \"大唐皇帝\", \"太宗\"], \"score\": 6.8}, {\"entity_id\": \"E000084\", \"name\": \"泾河龙王\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"大王\", \"泾河鬼龙\"], \"score\": 4.4}, {\"entity_id\": \"E000091\", \"name\": \"秦叔宝\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"叔宝\"], \"score\": 2.2}, {\"entity_id\": \"E000092\", \"name\": \"尉迟敬德\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"敬德\"], \"score\": 2.1}], \"entity_refs\": [{\"entity_id\": \"E000093\", \"entity_uid\": \"E000093\", \"name\": \"崔珪\", \"canonical_name\": \"崔珪\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"崔珪\", \"酆都判官\", \"崔老先生\", \"判官\"], \"match_score\": 11.2, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000090\", \"entity_uid\": \"E000090\", \"name\": \"魏征\", \"canonical_name\": \"魏征\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"魏征\", \"魏人曹\"], \"match_score\": 7.3, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000094\", \"entity_uid\": \"E000094\", \"name\": \"冥司\", \"canonical_name\": \"冥司\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"冥司\", \"阴司\"], \"match_score\": 7.2, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000043\", \"entity_uid\": \"E000043\", \"name\": \"生死簿\", \"canonical_name\": \"生死簿\", \"type\": \"其他\", \"subtype\": \"\", \"matched_terms\": [\"生死簿\", \"生死文簿\"], \"match_score\": 7.2, \"ref_role\": \"other_candidate\"}, {\"entity_id\": \"E000052\", \"entity_uid\": \"E000052\", \"name\": \"玉帝\", \"canonical_name\": \"玉帝\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"陛下\", \"大唐皇帝\", \"太宗\"], \"match_score\": 6.8, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000084\", \"entity_uid\": \"E000084\", \"name\": \"泾河龙王\", \"canonical_name\": \"泾河龙王\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"大王\", \"泾河鬼龙\"], \"match_score\": 4.4, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000091\", \"entity_uid\": \"E000091\", \"name\": \"秦叔宝\", \"canonical_name\": \"秦叔宝\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"叔宝\"], \"match_score\": 2.2, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000092\", \"entity_uid\": \"E000092\", \"name\": \"尉迟敬德\", \"canonical_name\": \"尉迟敬德\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"敬德\"], \"match_score\": 2.1, \"ref_role\": \"character_candidate\"}], \"boundary_reasons_after\": [\"forced_scene_max_chars\"]}, {\"candidate_id\": \"C0043-SC03\", \"title_hint\": \"玉帝 · 二人正说间，只见那边有一…\", \"summary_hint\": \"二人正说间，只见那边有一对青衣童子，执幢幡宝盖，高叫道：“阎王…\", \"type_hints\": [\"叙事\"], \"tone_hints\": [\"庄严\"], \"presentation_hints\": [\"叙事画面\"], \"importance_hint\": \"主线\", \"characters_hint\": [\"玉帝\", \"崔珪\"], \"locations_hint\": [], \"text\": \"二人正说间，只见那边有一对青衣童子，执幢幡宝盖，高叫道：“阎王有请，有请。”太宗遂与崔判官并二童子举步前进。\", \"text_preview\": \"二人正说间，只见那边有一对青衣童子，执幢幡宝盖，高叫道：“阎王有请，有请。”太宗遂与崔判官并二童子举步前进\", \"source_chunk_id\": \"C0043\", \"source_start_para\": 366, \"source_end_para\": 366, \"record_count\": 1, \"char_len\": 54, \"structure_counts\": {\"body\": 1}, \"continuation_hint\": false, \"key_beats_hint\": [\"二人正说间，只见那边有一对青衣童子，执幢幡宝盖，高叫道：“阎王…\"], \"matched_entities\": [{\"entity_id\": \"E000052\", \"name\": \"玉帝\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"太宗\"], \"score\": 2.8}, {\"entity_id\": \"E000093\", \"name\": \"崔珪\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"判官\"], \"score\": 2.2}], \"entity_refs\": [{\"entity_id\": \"E000052\", \"entity_uid\": \"E000052\", \"name\": \"玉帝\", \"canonical_name\": \"玉帝\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"太宗\"], \"match_score\": 2.8, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000093\", \"entity_uid\": \"E000093\", \"name\": \"崔珪\", \"canonical_name\": \"崔珪\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"判官\"], \"match_score\": 2.2, \"ref_role\": \"character_candidate\"}], \"boundary_reasons_after\": []}]"
    }
  ]
}