Files
crimson_leaf_publishing/templates/chapter_roundtable.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

92 lines
2.3 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

name: chapter_roundtable
description: >
Three editors debate the chapter reviews in 23 structured rounds.
Each round, each editor responds to the others' most recent positions.
The output is a consensus critique (or documented disagreement) for the polish step.
debug: true
requires:
- chapter_text
- chapter_ref
- genre_name
- genre_audience
participants:
- Devon
- Lane
- Cora
iteration_limit: 3
convergence_signal: "CONSENSUS REACHED"
steps:
- type: think
rotate_participants: true
loop:
max_iterations: 3
hint: |
You are {agent.name}.
{agent.identity}
CHAPTER: {task.message}
GENRE: {genre_name} AUDIENCE: {genre_audience}
---
YOUR REVIEW:
{this_agent_review}
OTHER REVIEWS:
[Devon] {devon_review}
[Lane] {lane_review}
[Cora] {cora_review}
---
Round {task.iteration} of the editorial debate.
Respond to the other editors' most important points.
Where you agree, say so clearly. Where you disagree, argue your position
with evidence from the text. If you have changed your mind, say so.
If the group has reached sufficient consensus for the polish step,
end your response with: CONSENSUS REACHED
- type: package
schema:
consensus_critique: string
chapter_verdict: string
devon_final: string
lane_final: string
cora_final: string
key_changes: list
spawn:
- task_type: chapter_polish
task_name: "Polish: {chapter_ref}"
agent_name: Iris
context:
chapter_text: "{chapter_text}"
consensus_critique: "{consensus_critique}"
key_changes: "{key_changes}"
chapter_verdict: "{chapter_verdict}"
devon_final: "{devon_final}"
lane_final: "{lane_final}"
cora_final: "{cora_final}"
genre_name: "{genre_name}"
genre_audience: "{genre_audience}"
chapter_ref: "{chapter_ref}"
adjudication:
enabled: true
pass_threshold: 60
deliverable_type: coordination
criteria:
completeness:
weight: 40
description: "All viewpoints and concerns addressed"
consensus_clarity:
weight: 35
description: "Clear outcome or decision documented"
actionability:
weight: 25
description: "Next steps are concrete and assignable"