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>
This commit is contained in:
David Baity
2026-03-12 02:25:52 -04:00
parent 05972a604e
commit 92caebc339

View File

@@ -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.