{
  "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\": \"C0001\", \"start_para\": 1, \"end_para\": 5, \"char_len\": 540, \"para_count\": 5, \"structure_counts\": {\"chapter_heading\": 1, \"body\": 2, \"short_line\": 2}}\n\nCANDIDATE SCENES:\n[{\"candidate_id\": \"C0001-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-----\", \"text_preview\": \"第一回 望成名學究訓頑兒 講制藝鄉紳勖後進 ---------------------------------------- 話說陝西同州府朝邑縣，城南三十四…\", \"source_chunk_id\": \"C0001\", \"source_start_para\": 1, \"source_end_para\": 5, \"record_count\": 5, \"char_len\": 540, \"structure_counts\": {\"chapter_heading\": 1, \"body\": 2, \"short_line\": 2}, \"continuation_hint\": false, \"key_beats_hint\": [\"-------------------------------…\", \"-----\", \"黌門秀士：黌門，學宮；秀士，即秀才。這舉人姓王名仁，因為上了年…\"], \"matched_entities\": [{\"entity_id\": \"E000001\", \"name\": \"王仁\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"王仁\", \"舉人老夫子\", \"先生\"], \"score\": 9.8}, {\"entity_id\": \"E000002\", \"name\": \"方必開\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"方必開\", \"大樹頭方家\"], \"score\": 7.6}], \"entity_refs\": [{\"entity_id\": \"E000001\", \"entity_uid\": \"E000001\", \"name\": \"王仁\", \"canonical_name\": \"王仁\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"王仁\", \"舉人老夫子\", \"先生\"], \"match_score\": 9.8, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000002\", \"entity_uid\": \"E000002\", \"name\": \"方必開\", \"canonical_name\": \"方必開\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"方必開\", \"大樹頭方家\"], \"match_score\": 7.6, \"ref_role\": \"character_candidate\"}], \"boundary_reasons_after\": []}]"
    }
  ]
}