{
  "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\": \"C0004\", \"start_para\": 46, \"end_para\": 60, \"char_len\": 1737, \"para_count\": 15, \"structure_counts\": {\"body\": 11, \"short_line\": 4}}\n\nCANDIDATE SCENES:\n[{\"candidate_id\": \"C0004-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\": \"C0004\", \"source_start_para\": 46, \"source_end_para\": 50, \"record_count\": 5, \"char_len\": 1071, \"structure_counts\": {\"body\": 5}, \"continuation_hint\": true, \"key_beats_hint\": [\"头上戴箬笠，乃是新笋初脱之箨。身上穿布衣，乃是木绵捻就之纱。腰…\", \"猴王近前叫道：“老神仙！弟子起手。”那樵汉慌忙丢了斧，转身答礼…\", \"猴王道：“据你说起来，乃是一个行孝的君子，向后必有好处。但望你…\"], \"matched_entities\": [{\"entity_id\": \"E000017\", \"name\": \"须菩提祖师\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"须菩提祖师\", \"菩提祖师\", \"祖师\"], \"score\": 9.5}, {\"entity_id\": \"E000016\", \"name\": \"斜月三星洞\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"斜月三星洞\", \"三星洞\"], \"score\": 7.4}, {\"entity_id\": \"E000014\", \"name\": \"樵夫\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"樵夫\"], \"score\": 5.3}, {\"entity_id\": \"E000015\", \"name\": \"灵台方寸山\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"灵台方寸山\"], \"score\": 5.1}, {\"entity_id\": \"E000006\", \"name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"猴王\"], \"score\": 2.8}], \"entity_refs\": [{\"entity_id\": \"E000017\", \"entity_uid\": \"E000017\", \"name\": \"须菩提祖师\", \"canonical_name\": \"须菩提祖师\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"须菩提祖师\", \"菩提祖师\", \"祖师\"], \"match_score\": 9.5, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000016\", \"entity_uid\": \"E000016\", \"name\": \"斜月三星洞\", \"canonical_name\": \"斜月三星洞\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"斜月三星洞\", \"三星洞\"], \"match_score\": 7.4, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000014\", \"entity_uid\": \"E000014\", \"name\": \"樵夫\", \"canonical_name\": \"樵夫\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"樵夫\"], \"match_score\": 5.3, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000015\", \"entity_uid\": \"E000015\", \"name\": \"灵台方寸山\", \"canonical_name\": \"灵台方寸山\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"灵台方寸山\"], \"match_score\": 5.1, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000006\", \"entity_uid\": \"E000006\", \"name\": \"石猴\", \"canonical_name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"猴王\"], \"match_score\": 2.8, \"ref_role\": \"character_candidate\"}], \"boundary_reasons_after\": [\"hard_length_break\"]}, {\"candidate_id\": \"C0004-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空寂自然随变化，真如本性任为之；\\n\\n与天同寿庄严体，历劫明心大法师。\\n\\n美猴王一见，倒身下拜，磕头不计其数，口中只道：“师父！师父！我弟子志心朝礼！志心朝礼！”祖师道：“你是那方人氏？且说个乡贯姓名明白，再拜。”猴王道：“弟子东胜神州傲来国花果山水帘洞人氏。”祖师喝令：“赶出去！他本是个撒诈捣虚之徒，那里修甚么道果！”猴王慌忙磕头不住道：“弟子是老实之言，决无虚诈。”祖师道：“你既老实，怎么说东胜神州？那去处到我这里，隔两重大海，一座南赡部洲，如何就得到此？”猴王叩头道：“弟子飘洋过海，登界游方，有十数个年头，方才访到此处。”\", \"text_preview\": \"少顷间，只听得呀的一声，洞门开处，里面走出一个仙童，真个丰姿英伟，像貌清奇，比寻常俗子不同。但见他： 髽髻双丝绾，宽袍两袖风。貌和身自别，心与相俱空。 物外长…\", \"source_chunk_id\": \"C0004\", \"source_start_para\": 51, \"source_end_para\": 60, \"record_count\": 10, \"char_len\": 664, \"structure_counts\": {\"body\": 6, \"short_line\": 4}, \"continuation_hint\": false, \"key_beats_hint\": [\"那童子出得门来，高叫道：“甚么人在此搔扰？”猴王扑的跳下树来，…\", \"美猴王一见，倒身下拜，磕头不计其数，口中只道：“师父！师父！我…\", \"少顷间，只听得呀的一声，洞门开处，里面走出一个仙童，真个丰姿英…\"], \"matched_entities\": [{\"entity_id\": \"E000017\", \"name\": \"须菩提祖师\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"菩提祖师\", \"祖师\", \"师父\"], \"score\": 6.5}, {\"entity_id\": \"E000009\", \"name\": \"水帘洞\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"水帘洞\"], \"score\": 5.8}, {\"entity_id\": \"E000004\", \"name\": \"花果山\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"花果山\"], \"score\": 5.8}, {\"entity_id\": \"E000020\", \"name\": \"南赡部洲\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"南赡部洲\"], \"score\": 5.2}, {\"entity_id\": \"E000018\", \"name\": \"仙童\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"仙童\"], \"score\": 5.1}, {\"entity_id\": \"E000029\", \"name\": \"傲来国\", \"type\": \"地点\", \"subtype\": \"城镇/疆域\", \"matched_terms\": [\"傲来国\"], \"score\": 5.1}, {\"entity_id\": \"E000006\", \"name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"猴王\"], \"score\": 2.8}], \"entity_refs\": [{\"entity_id\": \"E000017\", \"entity_uid\": \"E000017\", \"name\": \"须菩提祖师\", \"canonical_name\": \"须菩提祖师\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"菩提祖师\", \"祖师\", \"师父\"], \"match_score\": 6.5, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000009\", \"entity_uid\": \"E000009\", \"name\": \"水帘洞\", \"canonical_name\": \"水帘洞\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"水帘洞\"], \"match_score\": 5.8, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000004\", \"entity_uid\": \"E000004\", \"name\": \"花果山\", \"canonical_name\": \"花果山\", \"type\": \"地点\", \"subtype\": \"山岳/洞天\", \"matched_terms\": [\"花果山\"], \"match_score\": 5.8, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000020\", \"entity_uid\": \"E000020\", \"name\": \"南赡部洲\", \"canonical_name\": \"南赡部洲\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"南赡部洲\"], \"match_score\": 5.2, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000018\", \"entity_uid\": \"E000018\", \"name\": \"仙童\", \"canonical_name\": \"仙童\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"仙童\"], \"match_score\": 5.1, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000029\", \"entity_uid\": \"E000029\", \"name\": \"傲来国\", \"canonical_name\": \"傲来国\", \"type\": \"地点\", \"subtype\": \"城镇/疆域\", \"matched_terms\": [\"傲来国\"], \"match_score\": 5.1, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000006\", \"entity_uid\": \"E000006\", \"name\": \"石猴\", \"canonical_name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"猴王\"], \"match_score\": 2.8, \"ref_role\": \"character_candidate\"}], \"boundary_reasons_after\": []}]"
    }
  ]
}