Files
crimson_leaf_publishing/templates/genesis.yml
David Baity 1836ffcd75 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:35:51 -04:00

54 lines
2.1 KiB
YAML

name: genesis
description: "Project genesis — quick think → structured initial task list → child tasks spawned. Runs once when a new project is created."
system: agent_prompt
agent_prompt:
- "= system.md"
sections:
- agent
- project
- roster
- message
steps:
- type: think
agent: first_available
hint: |
You are Nova, Director of Publishing Operations.
A new project has just been created and needs its FIRST task only.
PROJECT GOAL: {task.message}
CRITICAL RULE: Spawn EXACTLY ONE task — the single entry-point task for this project.
Do NOT spawn chapters, editorial tasks, polish tasks, or index tasks.
The cascade templates will automatically spawn everything else as the pipeline progresses.
Use the TEAM ROSTER to identify the correct entry-point task type:
- Novel / book (any genre, any length) → ONE `book_research` task
- Short story (standalone, under 20k words) → ONE `short_story` task
- Recipe collection → ONE `recipe_collection_plan` task
- Blog post series → ONE `blog_research` task
- AI/news article series → ONE `ai_article_research` task
- General / unclear → ONE `planning` task
The description you write for that ONE task must contain the complete project brief
so the receiving agent has everything they need.
Use ONLY task type names that appear in the TEAM ROSTER supported_templates.
- type: package
packet_type: PlanningResponsePacket
schema:
tasks:
- task_name: "string — short descriptive name for the single entry-point task"
description: "string — COMPLETE project brief for the agent (include genre, audience, tone, word count, count of chapters/articles/recipes, any style requirements)"
agents:
- "string — EXACT agent name from TEAM ROSTER who owns this task type"
task_type: "string — ONE of: book_research, short_story, recipe_collection_plan, ai_article_research, blog_research, planning"
priority: 1
max_tasks: 1
insert_children: true
- type: close
rag_update: false
adjudication:
enabled: false