From 009f96b7d40baf7bca4a93c4745de46a44c4a043 Mon Sep 17 00:00:00 2001 From: David Baity <158404677+MazakTheDwarf@users.noreply.github.com> Date: Wed, 25 Mar 2026 06:35:24 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20book=5Fchapter=20step5=20rag=5Fwrite=20s?= =?UTF-8?q?ource=5Fstep:4=20=E2=80=94=20character-state=20extraction?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add source_step: 4 so rag_write explicitly targets PASS 3 output instead of relying on last_text() which could fall back to the chapter document text. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- templates/book_chapter.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/book_chapter.yml b/templates/book_chapter.yml index b2b1b2e..4ded955 100644 --- a/templates/book_chapter.yml +++ b/templates/book_chapter.yml @@ -323,6 +323,7 @@ steps: - type: rag_write asset_id: "character-state" + source_step: 4 # PASS 3 character-state extraction; explicit to avoid last_text() falling back to chapter text max_chars: 4000 - type: document