refactor: remove genre-specific chapter templates; all genres use book_chapter

This commit is contained in:
David Baity
2026-04-01 17:58:10 -04:00
parent 1675b87268
commit 682454bc7b
6 changed files with 2 additions and 140 deletions

View File

@@ -22,10 +22,6 @@ manages: []
department: creative
supported_templates:
- book_chapter
- ya_chapter
- romance_chapter
- scifi_chapter
- cozy_mystery_chapter
- drafting
- chapter_polish
- character_sheet

View File

@@ -259,13 +259,8 @@ steps:
- EXACTLY one action per chapter from PART 2 of the outline — no more, no less
- task_name format: "Write Chapter N: [Chapter Title]" (N is a plain number, 1, 2, 3...)
- agent_name: always "Iris"
- task_type: choose based on genre_name from the outline:
* "ya_chapter" → if genre_name contains "YA" or "Young Adult"
* "romance_chapter" → if genre_name contains "Romance" or "Contemporary Romance"
* "drafting" → if genre_name contains "Science Fiction" or "Sci-Fi" or "Space Opera"
* "cozy_mystery_chapter" → if genre_name contains "Cozy Mystery" or "Mystery"
* "adult_novel_chapter" → if genre_name contains "Adult" and not YA
* "book_chapter" → all other genres (default)
- task_type: always "book_chapter" for all genres (book_chapter uses conditional_skills
to load the correct genre guide automatically based on genre_name)
- description: >
Include the chapter summary, POV character, emotional beat, cliffhanger, character state,
dominant tension, and opening location from the chapter outline.

View File

@@ -1,33 +0,0 @@
name: cozy_mystery_chapter
description: "Write one cozy mystery chapter — fair-play clues, warm community life, and an amateur sleuth who wins through intimacy not expertise."
extends: book_chapter
# Cozy mystery projects load the genre guide from skills
skills:
- guides/CozyMysteryGuide.md
steps:
- include: steps/chapter_pass0_bible.yml
- include: steps/cozy_chapter_pass1_draft.yml
- include: steps/chapter_selfcheck.yml
- type: document
filename: "chapter-{chapter_ref}"
- include: steps/fiction_editorial_spawn.yml
- type: close
rag_update: true
adjudication:
pass_threshold: 80
criteria:
clue_integrity:
weight: 20
description: "Any clue or red herring introduced is discoverable in retrospect — nothing comes from nowhere; suspects have real motives"
cozy_atmosphere:
weight: 15
description: "The chapter feels warm, community-rooted, and safe — the world is troubled but ultimately resolvable; no gratuitous darkness"
ensemble_presence:
weight: 15
description: "Recurring cast members contribute meaningfully — the community feels alive, not just backdrop"
prose_quality:
weight: 20
description: "Writing is vivid and readable; voice is consistent with {prose_style}"

View File

@@ -1,33 +0,0 @@
name: romance_chapter
description: "Write one Romance chapter — sexual tension, slow burn, and earned emotional stakes."
extends: book_chapter
# Romance projects load the Romance guide directly
skills:
- guides/RomanceFictionGuide.md
steps:
- include: steps/chapter_pass0_bible.yml
- include: steps/romance_chapter_pass1_draft.yml
- include: steps/chapter_selfcheck.yml
- type: document
filename: "chapter-{chapter_ref}"
- include: steps/fiction_editorial_spawn.yml
- type: close
rag_update: true
adjudication:
pass_threshold: 80
criteria:
romantic_tension:
weight: 25
description: "Chapter builds or maintains palpable tension between leads; slow-burn deposit honored"
swoon_moment:
weight: 15
description: "At least one memorable micro-scene that captures the romantic promise of the story"
emotional_authenticity:
weight: 15
description: "Internal stakes are clear; the protagonist's resistance/want feels real, not contrived"
prose_quality:
weight: 20
description: "Writing is vivid and readable; voice is consistent with {prose_style}"

View File

@@ -1,33 +0,0 @@
name: scifi_chapter
description: "Write one science fiction chapter — internal logic, sense of wonder, and human stakes inside a vast universe."
extends: book_chapter
# Sci-fi projects load the SciFi guide directly
skills:
- guides/SciFiFictionGuide.md
steps:
- include: steps/chapter_pass0_bible.yml
- include: steps/scifi_chapter_pass1_draft.yml
- include: steps/chapter_selfcheck.yml
- type: document
filename: "chapter-{chapter_ref}"
- include: steps/fiction_editorial_spawn.yml
- type: close
rag_update: true
adjudication:
pass_threshold: 80
criteria:
worldbuilding_consistency:
weight: 20
description: "World rules established earlier in the manuscript are honored — no retcons or forgotten constraints"
internal_logic:
weight: 15
description: "Technology, alien biology, political systems, and physics behave consistently within the story's own rules"
sense_of_wonder:
weight: 15
description: "At least one moment per chapter enlarges the reader's imagination — a revelation, a view, a moral question"
prose_quality:
weight: 20
description: "Writing is vivid and readable; voice is consistent with {prose_style}"

View File

@@ -1,30 +0,0 @@
name: ya_chapter
description: "Write one YA chapter — authentic teen voice, emotional stakes, and fast pacing."
extends: book_chapter
# YA projects load the YA guide directly (no conditional matching needed)
skills:
- guides/YAFictionGuide.md
steps:
- include: steps/chapter_pass0_bible.yml
- include: steps/ya_chapter_pass1_draft.yml
- include: steps/chapter_selfcheck.yml
- type: document
filename: "chapter-{chapter_ref}"
- include: steps/fiction_editorial_spawn.yml
- type: close
rag_update: true
adjudication:
pass_threshold: 82
criteria:
ya_voice_authenticity:
weight: 20
description: "Protagonist has an authentic teen voice — not an adult impersonating a teenager"
emotional_stakes:
weight: 15
description: "Chapter stakes feel genuinely high to the teen protagonist, even if objectively small"
prose_quality:
weight: 20
description: "Writing is vivid and readable; voice is consistent with {prose_style}"