fix: add chapter_number context var to book_outline.yml spawn schema

This commit is contained in:
David Baity
2026-03-24 00:24:37 -04:00
parent 79a2e8ab7c
commit 5e4be25f51

View File

@@ -244,6 +244,7 @@ steps:
- prose_style: copy the 3-sentence Voice & Tone Guide from the outline exactly - prose_style: copy the 3-sentence Voice & Tone Guide from the outline exactly
- chapter_target_words: the target word count per chapter as a number string (e.g., "3500") - chapter_target_words: the target word count per chapter as a number string (e.g., "3500")
- chapter_ref: zero-padded two-digit chapter number, e.g. "ch-01", "ch-02", ... "ch-18" - chapter_ref: zero-padded two-digit chapter number, e.g. "ch-01", "ch-02", ... "ch-18"
- chapter_number: plain chapter number as a string, e.g. "1", "2", ... "18"
- character_profiles: copy the COMPLETE "## Voice Signatures" section from PART 1 of - character_profiles: copy the COMPLETE "## Voice Signatures" section from PART 1 of
the outline verbatim. Include every named character's Voice Signature entry. the outline verbatim. Include every named character's Voice Signature entry.
If no Voice Signatures section exists, copy the full character entries (## Name blocks) If no Voice Signatures section exists, copy the full character entries (## Name blocks)
@@ -285,6 +286,7 @@ steps:
prose_style: "string" prose_style: "string"
chapter_target_words: "string" chapter_target_words: "string"
chapter_ref: "string" chapter_ref: "string"
chapter_number: "string"
character_profiles: "string" character_profiles: "string"
- type: package - type: package