{
  "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\": \"C0033\", \"start_para\": 266, \"end_para\": 289, \"char_len\": 1748, \"para_count\": 24, \"structure_counts\": {\"body\": 19, \"short_line\": 4, \"chapter_heading\": 1}}\n\nCANDIDATE SCENES:\n[{\"candidate_id\": \"C0033-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大仙赤脚枣梨香，敬献弥陀寿算长。七宝莲台山样稳，千金花座锦般妆。\\n\\n寿同天地言非谬，福比洪波话岂狂。福寿如期真个是，清闲极乐那西方。\\n\\n如来又称谢了。叫阿傩、迦叶，将各所献之物，一一收起，方向玉帝前谢宴。众各酩酊。只见个巡视灵官来报道：“那大圣伸出头来了。”佛祖道：“不妨，不妨。”袖中只抽出一张帖子，上有六个金字：“唵、嘛、呢、叭、吽”。递与阿傩，叫贴在那山顶上。这尊者即领帖子，拿出天门，到那五行山顶上，紧紧的贴在一块四方石上。那座山即生根合缝，可运用呼吸之气，手儿爬出，可以摇挣摇挣。阿傩回报道：“已将帖子贴了。”\\n\\n如来即辞了玉帝众神，与二尊者出天门之外，又发一个慈悲心，念动真言咒语，将五行山召一尊土地神祗，会同五方揭谛，居住此山监押。但他饥时，与他铁丸子吃；渴时，与他溶化的铜汁饮。待他灾愆满日，自有人救他。\\n\\n正是：\\n\\n妖猴大胆反天宫，却被如来伏手降。渴饮溶铜捱岁月，饥餐铁弹度时光。\\n\\n天灾苦困遭磨折，人事凄凉喜命长。若得英雄重展挣，他年奉佛上西方。\\n\\n又诗曰：\\n\\n伏逞豪强大事兴，降龙伏虎弄乖能。偷桃偷酒游天府，受录承恩在玉京。\\n\\n恶贯满盈身受困，善根不绝气还升。果然脱得如来手，且待唐朝出圣僧。\", \"text_preview\": \"曾赴蟠桃醉几遭，醒时明月还依旧。长头大耳短身躯，南极之方称老寿。 寿星又到。见玉帝礼毕，又见如来，申谢道：“始闻那妖猴被老君引至兜率宫锻炼，以为必致平安，不期…\", \"source_chunk_id\": \"C0033\", \"source_start_para\": 266, \"source_end_para\": 280, \"record_count\": 15, \"char_len\": 789, \"structure_counts\": {\"body\": 13, \"short_line\": 2}, \"continuation_hint\": true, \"key_beats_hint\": [\"曾赴蟠桃醉几遭，醒时明月还依旧。长头大耳短身躯，南极之方称老寿\", \"寿星又到。见玉帝礼毕，又见如来，申谢道：“始闻那妖猴被老君引至…\", \"碧藕金丹奉释迦，如来万寿若恒沙。清平永乐三乘锦，康泰长生九品花\"], \"matched_entities\": [{\"entity_id\": \"E000067\", \"name\": \"如来\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"如来\", \"佛祖\", \"释迦\", \"弥陀\"], \"score\": 11.4}, {\"entity_id\": \"E000052\", \"name\": \"玉帝\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"玉帝\"], \"score\": 5.8}, {\"entity_id\": \"E000054\", \"name\": \"蟠桃\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"蟠桃\"], \"score\": 5.5}, {\"entity_id\": \"E000070\", \"name\": \"五行山\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"五行山\"], \"score\": 5.2}, {\"entity_id\": \"E000072\", \"name\": \"众神\", \"type\": \"其他\", \"subtype\": \"\", \"matched_terms\": [\"众神\"], \"score\": 5.0}, {\"entity_id\": \"E000006\", \"name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"大圣\", \"妖猴\"], \"score\": 4.8}, {\"entity_id\": \"E000065\", \"name\": \"太上老君\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"老君\"], \"score\": 2.2}], \"entity_refs\": [{\"entity_id\": \"E000067\", \"entity_uid\": \"E000067\", \"name\": \"如来\", \"canonical_name\": \"如来\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"如来\", \"佛祖\", \"释迦\", \"弥陀\"], \"match_score\": 11.4, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000052\", \"entity_uid\": \"E000052\", \"name\": \"玉帝\", \"canonical_name\": \"玉帝\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"玉帝\"], \"match_score\": 5.8, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000054\", \"entity_uid\": \"E000054\", \"name\": \"蟠桃\", \"canonical_name\": \"蟠桃\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"蟠桃\"], \"match_score\": 5.5, \"ref_role\": \"other_candidate\"}, {\"entity_id\": \"E000070\", \"entity_uid\": \"E000070\", \"name\": \"五行山\", \"canonical_name\": \"五行山\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"五行山\"], \"match_score\": 5.2, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000072\", \"entity_uid\": \"E000072\", \"name\": \"众神\", \"canonical_name\": \"众神\", \"type\": \"其他\", \"subtype\": \"\", \"matched_terms\": [\"众神\"], \"match_score\": 5.0, \"ref_role\": \"other_candidate\"}, {\"entity_id\": \"E000006\", \"entity_uid\": \"E000006\", \"name\": \"石猴\", \"canonical_name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"大圣\", \"妖猴\"], \"match_score\": 4.8, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000065\", \"entity_uid\": \"E000065\", \"name\": \"太上老君\", \"canonical_name\": \"太上老君\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"老君\"], \"match_score\": 2.2, \"ref_role\": \"character_candidate\"}], \"boundary_reasons_after\": [\"chapter_heading\"]}, {\"candidate_id\": \"C0033-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去来自在任优游，也无恐怖也无愁。极乐场中俱坦荡，大千之处没春秋。\\n\\n佛祖居一月灵山大雷音宝刹之间，一日，唤聚诸佛，阿罗、揭谛。菩萨、金刚、比丘增、尼等众，曰：“自伏乖猿，安天之后，我处不知年月，料凡间有半千年矣，今值孟秋望日。我有一宝盆。具设百样花，千般异果等物，与法等享此‘孟兰盆会’，如何？”慨众一个个合掌，礼佛三匝。领会。如来却将宝盆中花果品物，着阿傩捧走，着迎叶布散、大众感激。各献诗伸谢。\", \"text_preview\": \"第八回 我佛造经传极乐 观音奉旨上长安 试问禅关，参求无数，往往到头虚老。磨砖作镜，积雪为粮，迷了几多年少？毛吞大海，芥纳须弥，金色头防微笑。悟时超十地三乘，…\", \"source_chunk_id\": \"C0033\", \"source_start_para\": 281, \"source_end_para\": 288, \"record_count\": 8, \"char_len\": 951, \"structure_counts\": {\"chapter_heading\": 1, \"body\": 6, \"short_line\": 1}, \"continuation_hint\": false, \"key_beats_hint\": [\"试问禅关，参求无数，往往到头虚老。磨砖作镜，积雪为粮，迷了几多…\", \"这一篇词，名《苏武慢》。话表我佛如来，辞别了玉帝，回至雷音宝刹…\", \"大众听言喜悦，极口称扬。谢罢，各分班而退，各执乃事，共乐天真。…\"], \"matched_entities\": [{\"entity_id\": \"E000067\", \"name\": \"如来\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"如来\", \"佛祖\"], \"score\": 7.4}, {\"entity_id\": \"E000052\", \"name\": \"玉帝\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"玉帝\"], \"score\": 5.8}, {\"entity_id\": \"E000004\", \"name\": \"花果山\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"花果山\"], \"score\": 5.8}, {\"entity_id\": \"E000024\", \"name\": \"筋斗云\", \"type\": \"术法神通\", \"subtype\": \"\", \"matched_terms\": [\"筋斗云\"], \"score\": 5.5}, {\"entity_id\": \"E000054\", \"name\": \"蟠桃\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"蟠桃\"], \"score\": 5.5}, {\"entity_id\": \"E000044\", \"name\": \"神通\", \"type\": \"术法神通\", \"subtype\": \"法术\", \"matched_terms\": [\"神通\"], \"score\": 5.4}, {\"entity_id\": \"E000070\", \"name\": \"五行山\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"五行山\"], \"score\": 5.2}, {\"entity_id\": \"E000071\", \"name\": \"安天大会\", \"type\": \"事件仪式\", \"subtype\": \"\", \"matched_terms\": [\"安天大会\"], \"score\": 5.1}, {\"entity_id\": \"E000006\", \"name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"妖猴\", \"乖猴\"], \"score\": 4.8}, {\"entity_id\": \"E000059\", \"name\": \"观世音菩萨\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"观音\", \"菩萨\"], \"score\": 4.6}], \"entity_refs\": [{\"entity_id\": \"E000067\", \"entity_uid\": \"E000067\", \"name\": \"如来\", \"canonical_name\": \"如来\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"如来\", \"佛祖\"], \"match_score\": 7.4, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000052\", \"entity_uid\": \"E000052\", \"name\": \"玉帝\", \"canonical_name\": \"玉帝\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"玉帝\"], \"match_score\": 5.8, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000004\", \"entity_uid\": \"E000004\", \"name\": \"花果山\", \"canonical_name\": \"花果山\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"花果山\"], \"match_score\": 5.8, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000024\", \"entity_uid\": \"E000024\", \"name\": \"筋斗云\", \"canonical_name\": \"筋斗云\", \"type\": \"术法神通\", \"subtype\": \"\", \"matched_terms\": [\"筋斗云\"], \"match_score\": 5.5, \"ref_role\": \"other_candidate\"}, {\"entity_id\": \"E000054\", \"entity_uid\": \"E000054\", \"name\": \"蟠桃\", \"canonical_name\": \"蟠桃\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"蟠桃\"], \"match_score\": 5.5, \"ref_role\": \"other_candidate\"}, {\"entity_id\": \"E000044\", \"entity_uid\": \"E000044\", \"name\": \"神通\", \"canonical_name\": \"神通\", \"type\": \"术法神通\", \"subtype\": \"法术\", \"matched_terms\": [\"神通\"], \"match_score\": 5.4, \"ref_role\": \"other_candidate\"}, {\"entity_id\": \"E000070\", \"entity_uid\": \"E000070\", \"name\": \"五行山\", \"canonical_name\": \"五行山\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"五行山\"], \"match_score\": 5.2, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000071\", \"entity_uid\": \"E000071\", \"name\": \"安天大会\", \"canonical_name\": \"安天大会\", \"type\": \"事件仪式\", \"subtype\": \"\", \"matched_terms\": [\"安天大会\"], \"match_score\": 5.1, \"ref_role\": \"other_candidate\"}, {\"entity_id\": \"E000006\", \"entity_uid\": \"E000006\", \"name\": \"石猴\", \"canonical_name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"妖猴\", \"乖猴\"], \"match_score\": 4.8, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000059\", \"entity_uid\": \"E000059\", \"name\": \"观世音菩萨\", \"canonical_name\": \"观世音菩萨\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"观音\", \"菩萨\"], \"match_score\": 4.6, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000065\", \"entity_uid\": \"E000065\", \"name\": \"太上老君\", \"canonical_name\": \"太上老君\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"老君\"], \"match_score\": 2.2, \"ref_role\": \"character_candidate\"}], \"boundary_reasons_after\": [\"structure_break\", \"hard_length_break\"]}, {\"candidate_id\": \"C0033-SC03\", \"title_hint\": \"福诗曰\", \"summary_hint\": \"福诗曰\", \"type_hints\": [\"叙事\"], \"tone_hints\": [\"中性\"], \"presentation_hints\": [\"叙事画面\"], \"importance_hint\": \"支线\", \"characters_hint\": [], \"locations_hint\": [], \"text\": \"福诗曰：\", \"text_preview\": \"福诗曰\", \"source_chunk_id\": \"C0033\", \"source_start_para\": 289, \"source_end_para\": 289, \"record_count\": 1, \"char_len\": 4, \"structure_counts\": {\"short_line\": 1}, \"continuation_hint\": false, \"key_beats_hint\": [\"福诗曰\"], \"matched_entities\": [], \"entity_refs\": [], \"boundary_reasons_after\": []}]"
    }
  ]
}