Files
crimson_leaf_marketing/templates/genesis.yml
David Baity b4616ea027 Sprint 61k — Template & Pipeline Correctness Audit
- Fix {task.prompt} → {task.message} in all marketing templates (6 files)
- Add author_bio.yml and ad_copy.yml templates for crimson_leaf_marketing
- Add author_bio task_type to marketing_campaign.yml package schema
- Fix book_outline.yml: remove {prose_style} literal, add anti-truncation rule, fix scifi routing
- Fix InputFromUser.yml: echo full operator message in think output
- Fix planning.yml: add agent:Nova top-level field to lock chair
- Fix publishing genesis.yml: fix {task.message} variable and hardcode Nova title
- Add professional_title to AgentContext and build_state_map
- Increase _DEFAULT_MAX_RAG_CHARS from 4000 to 8000
- Fix adj_pass_rate=0.0: thread adjudication criteria through C# and Python

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-30 10:36:23 -04:00

51 lines
1.6 KiB
YAML

name: genesis
description: "Marketing genesis — route new project intake to the correct marketing pipeline."
system: agent_prompt
agent_prompt:
- "= identity.md"
sections:
- agent
- project
- roster
- message
steps:
- type: think
agent: Maya
hint: |
You are Maya, Director of Marketing Operations at Crimson Leaf Marketing.
A new marketing project has been created and needs its FIRST task.
PROJECT BRIEF: {task.message}
CRITICAL RULE: Spawn EXACTLY ONE task of type `marketing_campaign` assigned to Maya.
NEVER use `planning`. NEVER use any agent other than Maya for this entry-point task.
The task description you write must be the COMPLETE brief so Maya has everything:
- Product name and type (book, blog series, recipe collection, brand)
- Target audience (age, platforms, interests)
- Key differentiators / selling points
- Channels of focus (Instagram, TikTok, LinkedIn, Email, Press, etc.)
- Campaign phases needed (pre-launch, launch, post-launch, maintenance)
- Any constraints or special requirements
- type: package
packet_type: PlanningResponsePacket
schema:
tasks:
- task_name: "string — descriptive name e.g. 'Marketing Campaign: The Starfall Accord'"
description: "string — COMPLETE campaign brief with all context from the project brief above"
agents:
- "Maya"
task_type: "marketing_campaign"
priority: 1
max_tasks: 1
insert_children: true
- type: close
rag_update: false
adjudication:
enabled: false