{
  "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\": \"C0042\", \"start_para\": 351, \"end_para\": 358, \"char_len\": 1690, \"para_count\": 8, \"structure_counts\": {\"chapter_heading\": 1, \"body\": 5, \"short_line\": 1, \"dialogue\": 1}}\n\nCANDIDATE SCENES:\n[{\"candidate_id\": \"C0042-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叔宝、茂功道：“千步廊南，十字街头，云端里落下这颗龙头，微臣不敢不奏。”唐王惊问魏征：“此是何说？”魏征转身叩头道：\", \"text_preview\": \"第十回 二将军宫门镇鬼 唐太宗地府还魂 却说太宗与魏征在便殿对弈，一递一着，摆开阵势。正合《烂柯经》云：博弈之道，贵乎严谨。高者在腹，下者在边，中者在角，此棋…\", \"source_chunk_id\": \"C0042\", \"source_start_para\": 351, \"source_end_para\": 355, \"record_count\": 5, \"char_len\": 653, \"structure_counts\": {\"chapter_heading\": 1, \"body\": 3, \"short_line\": 1}, \"continuation_hint\": false, \"key_beats_hint\": [\"却说太宗与魏征在便殿对弈，一递一着，摆开阵势。正合《烂柯经》云…\", \"下到玄微通变处，笑夸当日烂柯仙\", \"君臣两个对弈此棋，正下到午时三刻，一盘残局未终，魏征忽然踏伏在…\"], \"matched_entities\": [{\"entity_id\": \"E000052\", \"name\": \"玉帝\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"陛下\", \"唐王\", \"唐太宗\", \"太宗\"], \"score\": 8.8}, {\"entity_id\": \"E000090\", \"name\": \"魏征\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"魏征\", \"贤卿\"], \"score\": 7.3}, {\"entity_id\": \"E000091\", \"name\": \"秦叔宝\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"秦叔宝\", \"叔宝\"], \"score\": 7.2}], \"entity_refs\": [{\"entity_id\": \"E000052\", \"entity_uid\": \"E000052\", \"name\": \"玉帝\", \"canonical_name\": \"玉帝\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"陛下\", \"唐王\", \"唐太宗\", \"太宗\"], \"match_score\": 8.8, \"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\": \"E000091\", \"entity_uid\": \"E000091\", \"name\": \"秦叔宝\", \"canonical_name\": \"秦叔宝\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"秦叔宝\", \"叔宝\"], \"match_score\": 7.2, \"ref_role\": \"character_candidate\"}], \"boundary_reasons_after\": [\"time_transition\", \"structure_break\"]}, {\"candidate_id\": \"C0042-SC02\", \"title_hint\": \"玉帝 · “是臣才一梦斩的。”唐王…\", \"summary_hint\": \"“是臣才一梦斩的。”唐王闻言，大惊道：“贤卿盹睡之时，又不曾见…；却说太宗苏醒回来，只叫“有鬼！有鬼！”慌得那三宫皇后，六院嫔妃…\", \"type_hints\": [\"对话\", \"动作\", \"内心独白\"], \"tone_hints\": [\"庄严\", \"紧张\"], \"presentation_hints\": [\"对白驱动\", \"直接画面\", \"旁白+画面\"], \"importance_hint\": \"主线\", \"characters_hint\": [\"玉帝\", \"魏征\", \"泾河龙王\", \"观世音菩萨\", \"秦叔宝\"], \"locations_hint\": [\"长安市\", \"冥司\"], \"text\": \"“是臣才一梦斩的。”唐王闻言，大惊道：“贤卿盹睡之时，又不曾见动身动手，又无刀剑，如何却斩此龙？”魏征奏道：“主公，臣的身在君前，梦离陛下。身在君前对残局，合眼朦胧；梦离陛下乘瑞云，出神抖搜。那条龙，在剐龙台上，被天兵将绑缚其中。是臣道：‘你犯天条，合当死罪。我奉天命，斩汝残生。’龙闻哀苦，臣抖精神。龙闻哀苦，伏爪收鳞甘受死；臣抖精神，撩衣进步举霜锋。扢扠一声刀过处，龙头因此落虚空。”太宗闻言，心中悲喜不一。喜者夸奖魏征好臣，朝中有此豪杰，愁甚江山不稳？悲者谓梦中曾许救龙，不期竟致遭诛。只得强打精神，传旨着叔宝将龙头悬挂市曹，晓谕长安黎庶，一壁厢赏了魏征，众官散讫。当晚回宫，心中只是忧闷，想那梦中之龙，哭啼啼哀告求生，岂知无常，难免此患。思念多时，渐觉神魂倦怠，身体不安。当夜二更时分，只听得宫门外有号泣之声，太宗愈加惊恐。正朦胧睡间，又见那泾河龙王，手提着一颗血淋淋的首级，高叫：“唐太宗！还我命来！还我命来！你昨夜满口许诺救我，怎么天明时反宣人曹官来斩我？你出来，你出来！我与你到阎君处折辨折辨！”他扯住太宗，再三嚷闹不放，太宗箝口难言，只挣得汗流遍体。正在那难分难解之时，只见正南上香云缭绕，彩雾飘飘，有一个女真人上前，将杨柳枝用手一摆，那没头的龙，悲悲啼啼，径往西北而去。原来这是观音菩萨，领佛旨上东土寻取经人，此住长安城都土地庙里，夜闻鬼泣神号，特来喝退业龙，救脱皇帝。那龙径到阴司地狱具告不题。\\n\\n却说太宗苏醒回来，只叫“有鬼！有鬼！”慌得那三宫皇后，六院嫔妃，与近侍太监，战兢兢一夜无眠。不觉五更三点，那满朝文武多官，都在朝门外候朝。等到天明，犹不见临朝，唬得一个个惊惧踌躇。及日上三竿，方有旨意出来道：“朕心不快，众官免朝。”不觉倏五七日，众官忧惶，都正要撞门见驾问安，只见太后有旨，召医官入宫用药，众人在朝门等候讨信。少时，医官出来，众问何疾。医官道：“皇上脉气不正，虚而又数，狂言见鬼，又诊得十动一代，五脏无气，恐不讳只在七日之内矣。”众官闻言大惊失色。正怆惶间，又听得太后有旨宣徐茂功、护国公、尉迟公见驾。三公奉旨，急入到分宫楼下。拜毕，太宗正色强言道：“贤卿，寡人十九岁领兵，南征北伐，东挡西除，苦历数载，更不曾见半点邪崇，今日却反见鬼！”尉迟公道：“创立江山，杀人无数，何怕鬼乎？”太宗道：“卿是不信。朕这寝宫门外，入夜就抛砖弄瓦，鬼魅呼号，着然难处。白日犹可，昏夜难禁。”\", \"text_preview\": \"“是臣才一梦斩的。”唐王闻言，大惊道：“贤卿盹睡之时，又不曾见动身动手，又无刀剑，如何却斩此龙？”魏征奏道：“主公，臣的身在君前，梦离陛下。身在君前对残局，合…\", \"source_chunk_id\": \"C0042\", \"source_start_para\": 356, \"source_end_para\": 357, \"record_count\": 2, \"char_len\": 1004, \"structure_counts\": {\"dialogue\": 1, \"body\": 1}, \"continuation_hint\": false, \"key_beats_hint\": [\"“是臣才一梦斩的。”唐王闻言，大惊道：“贤卿盹睡之时，又不曾见…\", \"却说太宗苏醒回来，只叫“有鬼！有鬼！”慌得那三宫皇后，六院嫔妃…\"], \"matched_entities\": [{\"entity_id\": \"E000052\", \"name\": \"玉帝\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"陛下\", \"唐王\", \"主公\", \"唐太宗\", \"太宗\"], \"score\": 10.8}, {\"entity_id\": \"E000090\", \"name\": \"魏征\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"魏征\", \"贤卿\", \"人曹官\"], \"score\": 9.3}, {\"entity_id\": \"E000084\", \"name\": \"泾河龙王\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"泾河龙王\", \"业龙\"], \"score\": 7.4}, {\"entity_id\": \"E000059\", \"name\": \"观世音菩萨\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"观音菩萨\", \"观音\", \"菩萨\"], \"score\": 6.6}, {\"entity_id\": \"E000076\", \"name\": \"东土\", \"type\": \"其他\", \"subtype\": \"\", \"matched_terms\": [\"东土\"], \"score\": 5.3}, {\"entity_id\": \"E000083\", \"name\": \"长安市\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"长安城\"], \"score\": 2.3}, {\"entity_id\": \"E000094\", \"name\": \"冥司\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"阴司\"], \"score\": 2.2}, {\"entity_id\": \"E000091\", \"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\": 10.8, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000090\", \"entity_uid\": \"E000090\", \"name\": \"魏征\", \"canonical_name\": \"魏征\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"魏征\", \"贤卿\", \"人曹官\"], \"match_score\": 9.3, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000084\", \"entity_uid\": \"E000084\", \"name\": \"泾河龙王\", \"canonical_name\": \"泾河龙王\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"泾河龙王\", \"业龙\"], \"match_score\": 7.4, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000059\", \"entity_uid\": \"E000059\", \"name\": \"观世音菩萨\", \"canonical_name\": \"观世音菩萨\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"观音菩萨\", \"观音\", \"菩萨\"], \"match_score\": 6.6, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000076\", \"entity_uid\": \"E000076\", \"name\": \"东土\", \"canonical_name\": \"东土\", \"type\": \"其他\", \"subtype\": \"\", \"matched_terms\": [\"东土\"], \"match_score\": 5.3, \"ref_role\": \"other_candidate\"}, {\"entity_id\": \"E000083\", \"entity_uid\": \"E000083\", \"name\": \"长安市\", \"canonical_name\": \"长安市\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"长安城\"], \"match_score\": 2.3, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000094\", \"entity_uid\": \"E000094\", \"name\": \"冥司\", \"canonical_name\": \"冥司\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"阴司\"], \"match_score\": 2.2, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000091\", \"entity_uid\": \"E000091\", \"name\": \"秦叔宝\", \"canonical_name\": \"秦叔宝\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"叔宝\"], \"match_score\": 2.2, \"ref_role\": \"character_candidate\"}], \"boundary_reasons_after\": [\"hard_length_break\"]}, {\"candidate_id\": \"C0042-SC03\", \"title_hint\": \"玉帝 · 叔宝道：“陛下宽心，今晚…\", \"summary_hint\": \"叔宝道：“陛下宽心，今晚臣与敬德把守宫门，看有甚么鬼祟。”\", \"type_hints\": [\"叙事\"], \"tone_hints\": [\"庄严\"], \"presentation_hints\": [\"叙事画面\"], \"importance_hint\": \"主线\", \"characters_hint\": [\"玉帝\", \"秦叔宝\", \"尉迟敬德\"], \"locations_hint\": [], \"text\": \"叔宝道：“陛下宽心，今晚臣与敬德把守宫门，看有甚么鬼祟。”\", \"text_preview\": \"叔宝道：“陛下宽心，今晚臣与敬德把守宫门，看有甚么鬼祟。”\", \"source_chunk_id\": \"C0042\", \"source_start_para\": 358, \"source_end_para\": 358, \"record_count\": 1, \"char_len\": 29, \"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\": \"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\": 2.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\": []}]"
    }
  ]
}