From c990034cc0320dfcee52b900a2a88a251e25bb24 Mon Sep 17 00:00:00 2001 From: Nova_2761 Date: Tue, 28 Apr 2026 19:49:54 +0000 Subject: [PATCH] feat: add project_review template for pulse cascade --- templates/project_review.yml | 53 ++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 templates/project_review.yml diff --git a/templates/project_review.yml b/templates/project_review.yml new file mode 100644 index 00000000..2b455791 --- /dev/null +++ b/templates/project_review.yml @@ -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 \ No newline at end of file