fix(clp): genericise templates — no hardcoded agents/companies/task-types

- planning.yml: roster-driven task types, no hardcoded agent names or generic types
- chapter_roundtable.yml: removed fixed [Devon,Lane,Cora] participant list, any editor can join
- book_chapter.yml: removed hardcoded agents from roundtable spawn
- book_research.yml: removed agent: Atlas from book_outline spawn (Bouncer routes by type)
- ai_article_research.yml: removed agent_name: Atlas from plan spawn
- book_editorial.yml: removed Shadow Heir/Elara/Kai/Alpha Publishing/Wattpad hardcoding
- project_index.yml: removed Wattpad reference
- ai_article_write.yml: fixed adjudication criteria (article, not fiction chapter)
- chapter_review.yml: reply→document so reviews are committed and accessible

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
David Baity
2026-03-12 01:34:36 -04:00
parent d90eceda0c
commit 1f811e98e1
9 changed files with 52 additions and 57 deletions

View File

@@ -1,53 +1,55 @@
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.
Editorial roundtable — available editors debate the chapter in 23 structured rounds.
Each round, each participant 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
participant_prompt:
- "= identity.md"
iteration_limit: 3
convergence_signal: "CONSENSUS REACHED"
sections:
- agent
- project
- participants
- participants_prompt
- message
- instructions
steps:
- type: think
rotate_participants: true
loop:
max_iterations: 3
hint: |
You are {agent.name}.
You are {agent.name}, an editor in the editorial roundtable for this chapter.
{agent.identity}
CHAPTER: {task.message}
GENRE: {genre_name} AUDIENCE: {genre_audience}
CHAPTER REFERENCE: {chapter_ref}
GENRE: {genre_name} | AUDIENCE: {genre_audience}
---
YOUR REVIEW:
{this_agent_review}
OTHER REVIEWS:
[Devon] {devon_review}
[Lane] {lane_review}
[Cora] {cora_review}
CHAPTER TEXT:
{chapter_text}
---
Round {task.iteration} of the editorial debate.
Respond to the other editors' most important points.
Read the chapter carefully from your editorial perspective.
React to what other editors have written in prior rounds above.
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.
Cover the areas most relevant to your role:
- Story structure and pacing
- Character voice and consistency
- Line-level clarity and prose quality
- Continuity with prior chapters and world rules
If the group has reached sufficient consensus for the polish step,
end your response with: CONSENSUS REACHED
@@ -55,22 +57,15 @@ steps:
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}"