{
  "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\": 43, \"end_para\": 55, \"char_len\": 2125, \"para_count\": 13, \"structure_counts\": {\"body\": 11, \"short_line\": 1, \"dialogue\": 1}}\n\nCANDIDATE SCENES:\n[{\"candidate_id\": \"C0004-SC01\", \"title_hint\": \"Alice · Suddenly …\", \"summary_hint\": \"Suddenly she came upon a little…；but, alas! either the locks wer…\", \"type_hints\": [\"叙事\"], \"tone_hints\": [\"中性\"], \"presentation_hints\": [\"叙事画面\"], \"importance_hint\": \"支线\", \"characters_hint\": [\"Alice\"], \"locations_hint\": [\"garden\", \"hall\", \"passage\"], \"text\": \"Suddenly she came upon a little three-legged table, all made of solid\\nglass; there was nothing on it except a tiny golden key, and Alice’s\\nfirst thought was that it might belong to one of the doors of the hall;\\n\\nbut, alas! either the locks were too large, or the key was too small,\\nbut at any rate it would not open any of them. However, on the second\\ntime round, she came upon a low curtain she had not noticed before, and\\n\\nbehind it was a little door about fifteen inches high: she tried the\\nlittle golden key in the lock, and to her great delight it fitted!\\n\\nAlice opened the door and found that it led into a small passage, not\\nmuch larger than a rat-hole: she knelt down and looked along the\\npassage into the loveliest garden you ever saw. How she longed to get\\n\\nout of that dark hall, and wander about among those beds of bright\\nflowers and those cool fountains, but she could not even get her head\\nthrough the doorway; “and even if my head would go through,” thought\", \"text_preview\": \"Suddenly she came upon a little three-legged table, all made of solid glass; th…\", \"source_chunk_id\": \"C0004\", \"source_start_para\": 43, \"source_end_para\": 47, \"record_count\": 5, \"char_len\": 973, \"structure_counts\": {\"body\": 5}, \"continuation_hint\": true, \"key_beats_hint\": [\"Suddenly she came upon a little…\", \"but, alas! either the locks wer…\", \"behind it was a little door abo…\"], \"matched_entities\": [{\"entity_id\": \"E000017\", \"name\": \"key\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"key\", \"golden key\", \"little golden key\"], \"score\": 9.6}, {\"entity_id\": \"E000018\", \"name\": \"doors\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"doors\", \"little door\", \"door\"], \"score\": 9.5}, {\"entity_id\": \"E000016\", \"name\": \"table\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"table\", \"three-legged table\"], \"score\": 7.5}, {\"entity_id\": \"E000001\", \"name\": \"Alice\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"Alice\"], \"score\": 5.8}, {\"entity_id\": \"E000019\", \"name\": \"garden\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"garden\"], \"score\": 5.5}, {\"entity_id\": \"E000014\", \"name\": \"hall\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"hall\"], \"score\": 5.3}, {\"entity_id\": \"E000015\", \"name\": \"passage\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"passage\"], \"score\": 5.2}], \"entity_refs\": [{\"entity_id\": \"E000017\", \"entity_uid\": \"E000017\", \"name\": \"key\", \"canonical_name\": \"key\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"key\", \"golden key\", \"little golden key\"], \"match_score\": 9.6, \"ref_role\": \"other_candidate\"}, {\"entity_id\": \"E000018\", \"entity_uid\": \"E000018\", \"name\": \"doors\", \"canonical_name\": \"doors\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"doors\", \"little door\", \"door\"], \"match_score\": 9.5, \"ref_role\": \"other_candidate\"}, {\"entity_id\": \"E000016\", \"entity_uid\": \"E000016\", \"name\": \"table\", \"canonical_name\": \"table\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"table\", \"three-legged table\"], \"match_score\": 7.5, \"ref_role\": \"other_candidate\"}, {\"entity_id\": \"E000001\", \"entity_uid\": \"E000001\", \"name\": \"Alice\", \"canonical_name\": \"Alice\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"Alice\"], \"match_score\": 5.8, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000019\", \"entity_uid\": \"E000019\", \"name\": \"garden\", \"canonical_name\": \"garden\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"garden\"], \"match_score\": 5.5, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000014\", \"entity_uid\": \"E000014\", \"name\": \"hall\", \"canonical_name\": \"hall\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"hall\"], \"match_score\": 5.3, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000015\", \"entity_uid\": \"E000015\", \"name\": \"passage\", \"canonical_name\": \"passage\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"passage\"], \"match_score\": 5.2, \"ref_role\": \"location_candidate\"}], \"boundary_reasons_after\": [\"hard_length_break\"]}, {\"candidate_id\": \"C0004-SC02\", \"title_hint\": \"Alice · poor Alic…\", \"summary_hint\": \"“and see whether it’s marked ‘_…；poor Alice, “it would be of ver…\", \"type_hints\": [\"对话\"], \"tone_hints\": [\"中性\"], \"presentation_hints\": [\"对白驱动\"], \"importance_hint\": \"支线\", \"characters_hint\": [\"Alice\"], \"locations_hint\": [\"well\"], \"text\": \"poor Alice, “it would be of very little use without my shoulders. Oh,\\nhow I wish I could shut up like a telescope! I think I could, if I only\\nknew how to begin.” For, you see, so many out-of-the-way things had\\n\\nhappened lately, that Alice had begun to think that very few things\\nindeed were really impossible.\\n\\nThere seemed to be no use in waiting by the little door, so she went\\nback to the table, half hoping she might find another key on it, or at\\nany rate a book of rules for shutting people up like telescopes: this\\n\\ntime she found a little bottle on it, (“which certainly was not here\\nbefore,” said Alice,) and round the neck of the bottle was a paper\\nlabel, with the words “DRINK ME,” beautifully printed on it in large\\n\\nletters.\\n\\nIt was all very well to say “Drink me,” but the wise little Alice was\\nnot going to do _that_ in a hurry. “No, I’ll look first,” she said,\\n\\n“and see whether it’s marked ‘_poison_’ or not”; for she had read\", \"text_preview\": \"poor Alice, “it would be of very little use without my shoulders. Oh, how I wis…\", \"source_chunk_id\": \"C0004\", \"source_start_para\": 48, \"source_end_para\": 54, \"record_count\": 7, \"char_len\": 942, \"structure_counts\": {\"body\": 5, \"short_line\": 1, \"dialogue\": 1}, \"continuation_hint\": false, \"key_beats_hint\": [\"“and see whether it’s marked ‘_…\", \"poor Alice, “it would be of ver…\", \"happened lately, that Alice had…\"], \"matched_entities\": [{\"entity_id\": \"E000020\", \"name\": \"bottle\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"bottle\", \"little bottle\"], \"score\": 7.2}, {\"entity_id\": \"E000001\", \"name\": \"Alice\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"Alice\"], \"score\": 5.8}, {\"entity_id\": \"E000017\", \"name\": \"key\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"key\"], \"score\": 5.6}, {\"entity_id\": \"E000016\", \"name\": \"table\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"table\"], \"score\": 5.5}, {\"entity_id\": \"E000005\", \"name\": \"well\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"well\"], \"score\": 5.2}, {\"entity_id\": \"E000007\", \"name\": \"book\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"book\"], \"score\": 5.1}, {\"entity_id\": \"E000018\", \"name\": \"doors\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"little door\", \"door\"], \"score\": 4.5}], \"entity_refs\": [{\"entity_id\": \"E000020\", \"entity_uid\": \"E000020\", \"name\": \"bottle\", \"canonical_name\": \"bottle\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"bottle\", \"little bottle\"], \"match_score\": 7.2, \"ref_role\": \"other_candidate\"}, {\"entity_id\": \"E000001\", \"entity_uid\": \"E000001\", \"name\": \"Alice\", \"canonical_name\": \"Alice\", \"type\": \"人物\", \"subtype\": \"\", \"matched_terms\": [\"Alice\"], \"match_score\": 5.8, \"ref_role\": \"character_candidate\"}, {\"entity_id\": \"E000017\", \"entity_uid\": \"E000017\", \"name\": \"key\", \"canonical_name\": \"key\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"key\"], \"match_score\": 5.6, \"ref_role\": \"other_candidate\"}, {\"entity_id\": \"E000016\", \"entity_uid\": \"E000016\", \"name\": \"table\", \"canonical_name\": \"table\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"table\"], \"match_score\": 5.5, \"ref_role\": \"other_candidate\"}, {\"entity_id\": \"E000005\", \"entity_uid\": \"E000005\", \"name\": \"well\", \"canonical_name\": \"well\", \"type\": \"地点\", \"subtype\": \"\", \"matched_terms\": [\"well\"], \"match_score\": 5.2, \"ref_role\": \"location_candidate\"}, {\"entity_id\": \"E000007\", \"entity_uid\": \"E000007\", \"name\": \"book\", \"canonical_name\": \"book\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"book\"], \"match_score\": 5.1, \"ref_role\": \"other_candidate\"}, {\"entity_id\": \"E000018\", \"entity_uid\": \"E000018\", \"name\": \"doors\", \"canonical_name\": \"doors\", \"type\": \"物品\", \"subtype\": \"\", \"matched_terms\": [\"little door\", \"door\"], \"match_score\": 4.5, \"ref_role\": \"other_candidate\"}], \"boundary_reasons_after\": [\"hard_length_break\"]}, {\"candidate_id\": \"C0004-SC03\", \"title_hint\": \"several nice litt…\", \"summary_hint\": \"several nice little histories a…\", \"type_hints\": [\"叙事\"], \"tone_hints\": [\"中性\"], \"presentation_hints\": [\"叙事画面\"], \"importance_hint\": \"支线\", \"characters_hint\": [], \"locations_hint\": [], \"text\": \"several nice little histories about children who had got burnt, and\\neaten up by wild beasts and other unpleasant things, all because they\\n_would_ not remember the simple rules their friends had taught them:\", \"text_preview\": \"several nice little histories about children who had got burnt, and eaten up by…\", \"source_chunk_id\": \"C0004\", \"source_start_para\": 55, \"source_end_para\": 55, \"record_count\": 1, \"char_len\": 206, \"structure_counts\": {\"body\": 1}, \"continuation_hint\": false, \"key_beats_hint\": [\"several nice little histories a…\"], \"matched_entities\": [], \"entity_refs\": [], \"boundary_reasons_after\": []}]"
    }
  ]
}