feat: add project_review template for pulse cascade
This commit is contained in:
53
templates/project_review.yml
Normal file
53
templates/project_review.yml
Normal file
@@ -0,0 +1,53 @@
|
||||
name: project_review
|
||||
description: "Review a CLP book project's current state and continue chapter production if not complete."
|
||||
debug: true
|
||||
model: power
|
||||
system: agent_prompt
|
||||
agent_prompt:
|
||||
- "= identity.md"
|
||||
sections:
|
||||
- agent
|
||||
- project
|
||||
- deliverables
|
||||
- rag
|
||||
- message
|
||||
- instructions
|
||||
steps:
|
||||
- type: think
|
||||
max_tokens: 150
|
||||
output_key: project_phase
|
||||
hint: |
|
||||
You are {agent.name}, reviewing the {project.name} book project.
|
||||
Look at PROJECT DELIVERABLES above. Determine the current phase:
|
||||
- PLANNING: no chapter files or only planning docs
|
||||
- WRITING: chapter files exist (chapter-ch-*.md, staging/, final-chapter-*.md)
|
||||
- EDITORIAL: editorial report or polish docs exist but MANUSCRIPT-README does not
|
||||
- COMPLETE: MANUSCRIPT-README.md or project_index deliverable exists
|
||||
Output ONLY the phase word. No explanation.
|
||||
|
||||
- type: think
|
||||
max_tokens: 50
|
||||
output_key: dispatch_project_slug
|
||||
hint: |
|
||||
The current phase is: {project_phase}
|
||||
If phase is COMPLETE: output exactly: none
|
||||
Otherwise: output exactly: {project.slug}
|
||||
One word only. No explanation.
|
||||
|
||||
- type: tool
|
||||
action: enqueue_strategy
|
||||
optional: true
|
||||
params:
|
||||
company_slug: "{company.slug}"
|
||||
project_slug: "{dispatch_project_slug}"
|
||||
task_type: "chapter_production"
|
||||
content: "Pulse review: {project.name} in phase {project_phase}. Continue chapter production pipeline."
|
||||
|
||||
- type: reply
|
||||
target: channel
|
||||
channel_name: "crimson_leaf_publishing:live-feed"
|
||||
hint: |
|
||||
Post one line: [{project.name}] {project_phase}
|
||||
|
||||
adjudication:
|
||||
enabled: false
|
||||
Reference in New Issue
Block a user