{
  "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\": \"C0009\", \"start_para\": 6, \"end_para\": 7, \"char_len\": 723, \"para_count\": 2, \"structure_counts\": {\"body\": 1, \"chapter_heading\": 1}}\n\nCANDIDATE SCENES:\n[{\"candidate_id\": \"C0009-SC01\", \"title_hint\": \"候補道 · 繼之道：「這是前兩年的…\", \"summary_hint\": \"繼之道：「這是前兩年的事了。前兩年制臺得了個心神彷彿的病。年輕…\", \"type_hints\": [\"动作\"], \"tone_hints\": [\"庄严\", \"紧张\"], \"presentation_hints\": [\"直接画面\"], \"importance_hint\": \"主线\", \"characters_hint\": [\"候補道\", \"太太\", \"制臺\", \"吳景曾\"], \"locations_hint\": [\"南京\", \"京城\"], \"text\": \"繼之道：「這是前兩年的事了。前兩年制臺得了個心神彷彿的病。年輕時候，本來是好色的；到如今偌大年紀，他那十七八歲的姨太太，還有六七房，那通房的丫頭，還不在內呢。他這好色的名出了，就有人想拿這個巴結他。他病了的時候，有一個年輕的候補道，自己陳說懂得醫道。制臺就叫他診脈。他診了半晌說：『大帥這個病，卑職不能醫，不敢胡亂開方；卑職內人怕可以醫得。』制臺道：『原來尊夫人懂得醫理，明日就請來看看罷。』到了明日，他的那位夫人，打扮得花枝招展的來了。診了脈，說是：『這個病不必吃藥，只用按摩之法，就可以痊癒。』制臺問哪裡有懂得按摩的人。婦人低聲道：『妾頗懂得。』制臺就叫他按摩。他又說他的按摩與別人不同，要屏絕閒人，炷起一爐好香，還要念甚麼咒語，然後按摩。所以除了病人與治病的人，不許有第三個人在旁。制臺信了他的話，把左右使女及姨太太們都叫了出去。有兩位姨太太動了疑心，走出來在板壁縫裡偷看。忽看出不好看的事情來，大喝一聲，走將進去，拿起門閂就打。一時驚動了眾多姨太，也有拿門閂的，也有拿木棒的，一擁上前，圍住亂打。這一位夫人嚇得走頭無路，跪在地下，抱住制臺叫救命。制臺喝住眾人，叫送他出去。這位夫人出得房門時，眾人還跟在後面趕著打，一直打到二門，還叫粗使僕婦，打到轅門外面去。可憐他花枝招展的來，披頭散髮的去。這事一時傳遍了南京城。你說可笑不可笑呢？」我道：「那麼說，這位候補道，想來也沒有臉再住在這裡了？」繼之道：「哼，你說他沒有臉住這裡麼？他還得意得很呢！」我詫異道：「這還有甚麼得意之處呢？」繼之不慌不忙的說出他的得意之處來。正是：不怕頭巾染綠，須知頂戴將紅。要知繼之說出甚麼話來，且待下文再記。\", \"text_preview\": \"繼之道：「這是前兩年的事了。前兩年制臺得了個心神彷彿的病。年輕時候，本來是好色的；到如今偌大年紀，他那十七八歲的姨太太，還有六七房，那通房的丫頭，還不在內呢。…\", \"source_chunk_id\": \"C0009\", \"source_start_para\": 6, \"source_end_para\": 6, \"record_count\": 1, \"char_len\": 696, \"structure_counts\": {\"body\": 1}, \"continuation_hint\": false, \"key_beats_hint\": [\"繼之道：「這是前兩年的事了。前兩年制臺得了個心神彷彿的病。年輕…\"], \"matched_entities\": [{\"entity_id\": \"E000036\", \"name\": \"候補道\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"候補道\", \"尊夫人\", \"婦人\", \"夫人\"], \"score\": 11.3}, {\"entity_id\": \"E000019\", \"name\": \"太太\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"太太\", \"姨太太\"], \"score\": 7.4}, {\"entity_id\": \"E000013\", \"name\": \"南京\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"南京\"], \"score\": 5.8}, {\"entity_id\": \"E000034\", \"name\": \"制臺\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"制臺\"], \"score\": 5.2}, {\"entity_id\": \"E000031\", \"name\": \"京城\", \"type\": \"地点\", \"subtype\": \"城镇/疆域\", \"matched_terms\": [\"京城\"], \"score\": 5.1}, {\"entity_id\": \"E000025\", \"name\": \"吳景曾\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"繼之\"], \"score\": 2.6}], \"entity_refs\": [{\"entity_id\": \"E000036\", \"entity_uid\": \"E000036\", \"name\": \"候補道\", \"canonical_name\": \"候補道\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"候補道\", \"尊夫人\", \"婦人\", \"夫人\"], \"match_score\": 11.3, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000019\", \"entity_uid\": \"E000019\", \"name\": \"太太\", \"canonical_name\": \"太太\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"太太\", \"姨太太\"], \"match_score\": 7.4, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000013\", \"entity_uid\": \"E000013\", \"name\": \"南京\", \"canonical_name\": \"南京\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"南京\"], \"match_score\": 5.8, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000034\", \"entity_uid\": \"E000034\", \"name\": \"制臺\", \"canonical_name\": \"制臺\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"制臺\"], \"match_score\": 5.2, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000031\", \"entity_uid\": \"E000031\", \"name\": \"京城\", \"canonical_name\": \"京城\", \"type\": \"地点\", \"subtype\": \"城镇/疆域\", \"matched_terms\": [\"京城\"], \"match_score\": 5.1, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000025\", \"entity_uid\": \"E000025\", \"name\": \"吳景曾\", \"canonical_name\": \"吳景曾\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"繼之\"], \"match_score\": 2.6, \"ref_role\": \"character_candidate\"}], \"boundary_reasons_after\": [\"chapter_heading\"]}, {\"candidate_id\": \"C0009-SC02\", \"title_hint\": \"场景\", \"summary_hint\": \"第四回 吳繼之正言規好友 苟觀察致敬送嘉賓\", \"type_hints\": [\"叙事\"], \"tone_hints\": [\"中性\"], \"presentation_hints\": [\"叙事画面\"], \"importance_hint\": \"支线\", \"characters_hint\": [\"吳景曾\"], \"locations_hint\": [], \"text\": \"第四回     吳繼之正言規好友　苟觀察致敬送嘉賓\", \"text_preview\": \"第四回 吳繼之正言規好友 苟觀察致敬送嘉賓\", \"source_chunk_id\": \"C0009\", \"source_start_para\": 7, \"source_end_para\": 7, \"record_count\": 1, \"char_len\": 25, \"structure_counts\": {\"chapter_heading\": 1}, \"continuation_hint\": false, \"key_beats_hint\": [\"第四回 吳繼之正言規好友 苟觀察致敬送嘉賓\"], \"matched_entities\": [{\"entity_id\": \"E000025\", \"name\": \"吳景曾\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"繼之\"], \"score\": 2.6}], \"entity_refs\": [{\"entity_id\": \"E000025\", \"entity_uid\": \"E000025\", \"name\": \"吳景曾\", \"canonical_name\": \"吳景曾\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"繼之\"], \"match_score\": 2.6, \"ref_role\": \"character_candidate\"}], \"boundary_reasons_after\": []}]"
    }
  ]
}