type: think
hint: |
  SELF-CHECK — STRUCTURAL VALIDATION ONLY

  You have just written a chapter draft. Your job here is narrow: check the draft against
  the structural checklist below, apply ONLY the corrections that fall within scope, and
  output the final chapter.

  DRAFT TO CHECK:
  {steps[1].text}

  CHECKLIST — check each item, note any issue found:
    1. BEAT & HOOK: Does the chapter reach its intended emotional beat and closing hook
       from the PASS 0 draft prompt? Flag if the chapter ends without the planned hook.
    2. NAMES & POV: Are all character names and the POV consistent with the bible/outline?
       Flag any name that doesn't match the project canon.
    3. CONTINUITY TERMS: Do world rules, place names, and timeline references match
       project state? Flag any factual break.
    4. FORMATTING: Are there obvious section-break artifacts, duplicate headers,
       or missing chapter title? Flag and fix.
    5. WORD FLOOR: Is the draft within 10% of {chapter_target_words}? Flag only if
       critically short (more than 20% under target) — do not expand for style.
    6. OPENING HOOK: Check the PASS 0 draft prompt ({steps[0].text}) for a line labeled
       "LOCKED PREVIOUS CHAPTER HOOK:". If present, verify the chapter's opening paragraph
       directly resolves it. If not, add a brief resolution sentence at the opening —
       do not leave a locked hook unanswered.
    7. AUTHOR'S INTENT: Check the PASS 0 draft prompt ({steps[0].text}) for a line
       starting with "AUTHOR'S INTENT:". If present, confirm the completed chapter
       satisfies that intent — note whether it was honored or partially missed.

  ALLOWED CORRECTIONS:
    - Fix a wrong character name to match the canon name
    - Fix a POV slip (e.g., the chapter is 1st-person but one paragraph shifted to 3rd)
    - Fix a missing or duplicated chapter title/header
    - If the chapter is missing its closing hook entirely, add it as a final paragraph
      that matches the hook specified in the draft prompt — no new invention beyond the
      planned hook

  NOT ALLOWED — do not make any of these changes:
    - Improve any sentence for prose quality, rhythm, or lyricism
    - Deepen emotional beats or add interiority
    - Expand any description or add sensory detail
    - Reorder scenes or restructure the chapter
    - Add new metaphors, aphorisms, or quotable lines
    - Normalize or upgrade the authorial voice

  OUTPUT FORMAT:
    Start your response with a VALIDATION LOG section:
      VALIDATION LOG:
      1. BEAT & HOOK: [check pass/fail with brief note]
      2. NAMES & POV: [check pass/fail with brief note]
      3. CONTINUITY TERMS: [check pass/fail with brief note]
      4. FORMATTING: [check pass/fail — note any fixes applied]
      5. WORD FLOOR: [check pass/fail — include word count]
      6. OPENING HOOK: [check pass/fail or N/A]
      7. AUTHOR'S INTENT: [honored / partially missed — note / N/A if no intent set]

    Then output the separator on its own line:
      ---BEGIN CHAPTER---

    Then output the final chapter text (corrected where structurally required,
    verbatim everywhere else). Start the chapter directly with the chapter title
    and first line. No preamble or commentary within the chapter text.
