From 92caebc3393f30c48264271f8f321c1ce41c86c7 Mon Sep 17 00:00:00 2001 From: David Baity <158404677+MazakTheDwarf@users.noreply.github.com> Date: Thu, 12 Mar 2026 02:25:52 -0400 Subject: [PATCH] fix(book_outline): spawn EXACTLY one task per chapter, not minimum N LLM was creating 20 tasks (2x outlines worth) because the hint said 'minimum {chapter_count|10} chapters'. Changed to explicit 'count the chapters in the outline and create that exact number of actions'. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- templates/book_outline.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/book_outline.yml b/templates/book_outline.yml index 43a597b..17ce825 100644 --- a/templates/book_outline.yml +++ b/templates/book_outline.yml @@ -154,8 +154,9 @@ steps: - chapter_ref: zero-padded two-digit chapter number, e.g. "ch-01", "ch-02", ... "ch-18" Rules: - - One action per chapter (minimum {chapter_count|10} chapters) - - task_name format: "Write Chapter N: [Chapter Title]" + - EXACTLY one action per chapter from the outline above — no more, no less + - Count the chapters in the outline document. Create that exact number of actions. + - task_name format: "Write Chapter N: [Chapter Title]" (N is a plain number, 1, 2, 3...) - agent_name: always "Iris" - task_type: always "book_chapter" - description: Include the chapter summary, POV character, emotional beat, and cliffhanger from the outline.