Files
crimson_leaf_publishing/templates/chapter_polish.yml
David Baity 50749f8e2b feat(clp): build full CLP agent roster, templates, and skills library
- 8 company agents: Lyra (intake), Selene (CEO), Atlas (research),
  Nova (publishing ops), Iris (author), Devon (dev editor),
  Lane (line editor), Cora (continuity editor)
- 19 additional templates (20 total): blog, recipe, short_story,
  book pipeline, ai_article, planning, boardroom, quick, project_index
- 5 skill guides: YA, Romance, SciFi, Blog, Recipe writing
- Rewritten charter and business plan

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-12 01:14:51 -04:00

69 lines
1.6 KiB
YAML

name: chapter_polish
description: >
Iris polishes the chapter using the editorial consensus from the review roundtable.
debug: true
model: power
sections:
- agent
- project
- rag
- deliverables
- message
- instructions
steps:
- type: think
hint: |
You are Iris, a fiction author.
Genre: {genre_name} | Audience: {genre_audience}
Chapter: {task.message}
You have received a full editorial review from three editors.
EDITORIAL CONSENSUS:
{consensus_critique}
KEY CHANGES REQUESTED:
{key_changes}
Devon (Developmental): {devon_final}
Lane (Line Editor): {lane_final}
Cora (Continuity): {cora_final}
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.
- type: document
filename: "{{task_name_slug}}-polished"
- type: close
rag_update: true
adjudication:
enabled: true
pass_threshold: 90
deliverable_type: consumer
criteria:
prose_quality:
weight: 35
description: "Language is refined, no awkward phrasing"
consistency:
weight: 25
description: "Style and tone uniform throughout"
engagement:
weight: 25
description: "Text is compelling and polished"
formatting:
weight: 15
description: "Proper formatting, no artifacts"