Double-brace {{agent_slug}} left outer braces in filename even after
substitution, causing all 3 reviewers (Devon/Lane/Cora) to write to
the same file review-ch-XX-{agent-slug}.md overwriting each other.
Single-brace now correctly produces review-ch-XX-devon.md etc.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
56 lines
1.3 KiB
YAML
56 lines
1.3 KiB
YAML
name: chapter_review
|
|
description: >
|
|
Independent chapter review. Agent reads the chapter and produces a structured
|
|
critique in their editorial domain.
|
|
debug: true
|
|
model: power
|
|
agent_prompt:
|
|
- system.md
|
|
|
|
sections:
|
|
- project
|
|
- rag
|
|
- message
|
|
- instructions
|
|
|
|
steps:
|
|
- type: think
|
|
max_tokens: 4000
|
|
hint: |
|
|
TARGET AUDIENCE: {genre_audience}
|
|
GENRE: {genre_name}
|
|
CHAPTER: {chapter_ref}
|
|
|
|
---
|
|
CHAPTER TEXT:
|
|
{chapter_text}
|
|
---
|
|
|
|
Write a detailed editorial review from your perspective.
|
|
Be specific — cite line numbers or quote passages where relevant.
|
|
Structure your review as:
|
|
1. STRENGTHS (what is working)
|
|
2. CONCERNS (what needs attention, in priority order)
|
|
3. VERDICT (pass / revise / rewrite — and why)
|
|
|
|
- type: document
|
|
filename: "review-{chapter_ref}-{agent_slug}"
|
|
|
|
- type: close
|
|
rag_update: false
|
|
|
|
adjudication:
|
|
enabled: true
|
|
pass_threshold: 65
|
|
deliverable_type: coordination
|
|
criteria:
|
|
specificity:
|
|
weight: 40
|
|
description: "Feedback references specific issues, not vague"
|
|
actionability:
|
|
weight: 35
|
|
description: "Suggestions are concrete and implementable"
|
|
coverage:
|
|
weight: 25
|
|
description: "All major aspects of the work are addressed"
|