88 lines
2.5 KiB
YAML
88 lines
2.5 KiB
YAML
name: chapter_polish
|
|
description: >
|
|
Iris polishes the chapter using the editorial consensus from the review roundtable.
|
|
debug: true
|
|
model: anthropic/claude-sonnet-4.6
|
|
system: agent_prompt
|
|
|
|
skills:
|
|
- guides/YAFictionGuide.md
|
|
- guides/RomanceFictionGuide.md
|
|
- guides/SciFiFictionGuide.md
|
|
|
|
agent_prompt:
|
|
- "= identity.md"
|
|
- "agent.rag.json"
|
|
|
|
sections:
|
|
- agent
|
|
- project
|
|
- rag
|
|
- skills
|
|
- message
|
|
- instructions
|
|
|
|
steps:
|
|
- type: think
|
|
hint: |
|
|
You are Iris, a fiction author.
|
|
Genre: {genre_name} | Audience: {genre_audience}
|
|
Chapter: {task.message}
|
|
|
|
TARGET LENGTH: {chapter_target_words} words minimum.
|
|
⚠️ CRITICAL — LENGTH REQUIREMENT:
|
|
- The polished chapter MUST be at least {chapter_target_words} words.
|
|
- DO NOT shorten the chapter. Expand scenes, deepen emotional beats, and add sensory
|
|
detail as needed to reach the word count target.
|
|
- If the original chapter is under target, the polish is your opportunity to bring it up.
|
|
- Under-length chapters will be REJECTED by the editorial board regardless of prose quality.
|
|
|
|
You have received a full editorial review from three editors.
|
|
|
|
EDITORIAL CONSENSUS:
|
|
{consensus_critique}
|
|
|
|
KEY CHANGES REQUESTED:
|
|
{key_changes}
|
|
|
|
VERDICT: {chapter_verdict}
|
|
|
|
---
|
|
ORIGINAL CHAPTER:
|
|
{chapter_text}
|
|
---
|
|
|
|
Rewrite the chapter addressing all CONCERNS and KEY CHANGES from the editorial team.
|
|
Preserve everything the editors marked as STRENGTHS.
|
|
Do not add new plot elements not already present.
|
|
Match the genre tone and audience level throughout.
|
|
Expand scenes with sensory detail, interiority, and dialogue to reach {chapter_target_words} words.
|
|
Output ONLY the fully rewritten chapter text.
|
|
|
|
- type: document
|
|
filename: "{{task_name_slug}}-polished"
|
|
|
|
- type: close
|
|
rag_update: true
|
|
|
|
adjudication:
|
|
enabled: true
|
|
pass_threshold: 90
|
|
deliverable_type: consumer
|
|
criteria:
|
|
word_count:
|
|
weight: 30
|
|
description: "Chapter meets the {chapter_target_words}-word minimum; longer is better, shorter fails"
|
|
prose_quality:
|
|
weight: 25
|
|
description: "Language is refined, no awkward phrasing"
|
|
consistency:
|
|
weight: 20
|
|
description: "Style and tone uniform throughout"
|
|
engagement:
|
|
weight: 20
|
|
description: "Text is compelling and polished"
|
|
formatting:
|
|
weight: 5
|
|
description: "Proper formatting, no artifacts"
|