{
  "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\": \"C0037\", \"start_para\": 325, \"end_para\": 331, \"char_len\": 998, \"para_count\": 7, \"structure_counts\": {\"body\": 5, \"chapter_heading\": 1, \"dialogue\": 1}}\n\nCANDIDATE SCENES:\n[{\"candidate_id\": \"C0037-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\": \"C0037\", \"source_start_para\": 325, \"source_end_para\": 327, \"record_count\": 3, \"char_len\": 488, \"structure_counts\": {\"body\": 3}, \"continuation_hint\": true, \"key_beats_hint\": [\"他与木吒离了此处，一直东来，不一日就到了长安大唐国。敛雾收云，…\", \"人心生一念，天地尽皆知。善恶若无报，乾坤必有私\", \"那菩萨闻得此言，满心欢喜，对大圣道：“圣经云：‘出其言善。则千…\"], \"matched_entities\": [{\"entity_id\": \"E000006\", \"name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"孙悟空\", \"悟空\", \"大圣\"], \"score\": 6.8}, {\"entity_id\": \"E000076\", \"name\": \"东土\", \"type\": \"其他\", \"subtype\": \"\", \"matched_terms\": [\"东土\"], \"score\": 5.3}, {\"entity_id\": \"E000072\", \"name\": \"众神\", \"type\": \"其他\", \"subtype\": \"\", \"matched_terms\": [\"众神\"], \"score\": 5.0}, {\"entity_id\": \"E000059\", \"name\": \"观世音菩萨\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"菩萨\"], \"score\": 2.6}, {\"entity_id\": \"E000083\", \"name\": \"长安市\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"长安城\"], \"score\": 2.3}], \"entity_refs\": [{\"entity_id\": \"E000006\", \"entity_uid\": \"E000006\", \"name\": \"石猴\", \"canonical_name\": \"石猴\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"孙悟空\", \"悟空\", \"大圣\"], \"match_score\": 6.8, \"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\": \"E000072\", \"entity_uid\": \"E000072\", \"name\": \"众神\", \"canonical_name\": \"众神\", \"type\": \"其他\", \"subtype\": \"\", \"matched_terms\": [\"众神\"], \"match_score\": 5.0, \"ref_role\": \"other_candidate\"}, {\"entity_id\": \"E000059\", \"entity_uid\": \"E000059\", \"name\": \"观世音菩萨\", \"canonical_name\": \"观世音菩萨\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"菩萨\"], \"match_score\": 2.6, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000083\", \"entity_uid\": \"E000083\", \"name\": \"长安市\", \"canonical_name\": \"长安市\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"长安城\"], \"match_score\": 2.3, \"ref_role\": \"location_candidate\"}], \"boundary_reasons_after\": [\"chapter_heading\"]}, {\"candidate_id\": \"C0037-SC02\", \"title_hint\": \"张稍 · 诗曰：都城大国实堪观，八…\", \"summary_hint\": \"“李兄，我想那争名的，因名丧体；夺利的，为利亡身；受爵的，抱虎…；诗曰：都城大国实堪观，八水周流绕四山。多少帝王兴此处，古来天下…\", \"type_hints\": [\"对话\"], \"tone_hints\": [\"庄严\", \"轻松\"], \"presentation_hints\": [\"对白驱动\"], \"importance_hint\": \"主线\", \"characters_hint\": [\"张稍\", \"袁守诚\", \"玉帝\", \"樵夫\", \"东海龙王敖广\"], \"locations_hint\": [\"长安市\"], \"text\": \"第九回　袁守诚妙算无私曲　老龙王拙计犯天条\\n\\n诗曰：都城大国实堪观，八水周流绕四山。多少帝王兴此处，古来天下说长安。此单表陕西大国长安城，乃历代帝王建都之地。自周、秦、汉以来，三州花似锦，八水绕城流。三十六条花柳巷，七十二座管弦楼。华夷图上看，天下最为头，真是奇胜之方。今却是大唐太宗文皇帝登基，改元龙集贞观。此时已登极十三年，岁在己巳。且不说他驾前有安邦定国的英豪。与那创业争疆的杰士。\\n\\n却说长安城外泾河岸边，有两个贤人：一个是渔翁，名唤张稍；一个是樵子，名唤李定。他两个是不登科的进士，能识字的山人。一日，在长安城里，卖了肩上柴，货了篮中鲤，同入酒馆之中，吃了半酣，各携一瓶，顺泾河岸边，徐步而回。张稍道：\\n\\n“李兄，我想那争名的，因名丧体；夺利的，为利亡身；受爵的，抱虎而眠；承恩的，袖蛇而去。算起来，还不如我们水秀山青，逍遥自在，甘淡薄，随缘而过。”李定道：“张兄说得有理。但只是你那水秀，不如我的山青。”张稍道：“你山青不如我的水秀。有一《蝶恋花》词为证，词曰：烟波万里扁舟小，静依孤篷，西施声音绕。涤虑洗心名利少，闲攀蓼穗蒹葭草。数点沙鸥堪乐道，柳岸芦湾，妻子同欢笑。一觉安眠风浪俏，无荣无辱无烦恼。”\", \"text_preview\": \"第九回 袁守诚妙算无私曲 老龙王拙计犯天条 诗曰：都城大国实堪观，八水周流绕四山。多少帝王兴此处，古来天下说长安。此单表陕西大国长安城，乃历代帝王建都之地。自…\", \"source_chunk_id\": \"C0037\", \"source_start_para\": 328, \"source_end_para\": 331, \"record_count\": 4, \"char_len\": 508, \"structure_counts\": {\"chapter_heading\": 1, \"body\": 2, \"dialogue\": 1}, \"continuation_hint\": false, \"key_beats_hint\": [\"“李兄，我想那争名的，因名丧体；夺利的，为利亡身；受爵的，抱虎…\", \"诗曰：都城大国实堪观，八水周流绕四山。多少帝王兴此处，古来天下…\", \"却说长安城外泾河岸边，有两个贤人：一个是渔翁，名唤张稍；一个是…\"], \"matched_entities\": [{\"entity_id\": \"E000082\", \"name\": \"张稍\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"张稍\", \"渔翁\"], \"score\": 7.2}, {\"entity_id\": \"E000085\", \"name\": \"袁守诚\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"袁守诚\"], \"score\": 5.1}, {\"entity_id\": \"E000052\", \"name\": \"玉帝\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"唐太宗\", \"太宗\"], \"score\": 4.8}, {\"entity_id\": \"E000014\", \"name\": \"樵夫\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"李定\", \"樵子\"], \"score\": 4.3}, {\"entity_id\": \"E000032\", \"name\": \"东海龙王敖广\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"老龙王\"], \"score\": 2.3}, {\"entity_id\": \"E000083\", \"name\": \"长安市\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"长安城\"], \"score\": 2.3}], \"entity_refs\": [{\"entity_id\": \"E000082\", \"entity_uid\": \"E000082\", \"name\": \"张稍\", \"canonical_name\": \"张稍\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"张稍\", \"渔翁\"], \"match_score\": 7.2, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000085\", \"entity_uid\": \"E000085\", \"name\": \"袁守诚\", \"canonical_name\": \"袁守诚\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"袁守诚\"], \"match_score\": 5.1, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000052\", \"entity_uid\": \"E000052\", \"name\": \"玉帝\", \"canonical_name\": \"玉帝\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"唐太宗\", \"太宗\"], \"match_score\": 4.8, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000014\", \"entity_uid\": \"E000014\", \"name\": \"樵夫\", \"canonical_name\": \"樵夫\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"李定\", \"樵子\"], \"match_score\": 4.3, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000032\", \"entity_uid\": \"E000032\", \"name\": \"东海龙王敖广\", \"canonical_name\": \"东海龙王敖广\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"老龙王\"], \"match_score\": 2.3, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000083\", \"entity_uid\": \"E000083\", \"name\": \"长安市\", \"canonical_name\": \"长安市\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"长安城\"], \"match_score\": 2.3, \"ref_role\": \"location_candidate\"}], \"boundary_reasons_after\": []}]"
    }
  ]
}