Sprint 89: Fix intent schema (template->task_type), update genesis to write project.yml, fix all project.yml intents

This commit is contained in:
David Baity
2026-05-01 00:37:45 -04:00
parent 4d6f8808b8
commit ee7404ec96
3 changed files with 54 additions and 11 deletions

View File

@@ -12,19 +12,19 @@ goal: >
intents:
- keyword: press_release
description: Write a press release for a book launch or publishing announcement
template: press_release
task_type: press_release
- keyword: campaign_strategy
description: Develop a full launch campaign strategy for a title
template: campaign_strategy
task_type: campaign_strategy
- keyword: social_media_pack
description: Create a social media content pack for a book
template: social_media_pack
task_type: social_media_pack
- keyword: email_campaign
description: Write an email campaign sequence for a launch or series
template: email_campaign
task_type: email_campaign
- keyword: ad_copy
description: Write advertising copy for retailer or social ads
template: ad_copy
task_type: ad_copy
- keyword: author_bio
description: Write or update an author biography
template: author_bio
task_type: author_bio

View File

@@ -12,13 +12,13 @@ goal: >
intents:
- keyword: campaign_strategy
description: Develop a full launch or series campaign strategy
template: campaign_strategy
task_type: campaign_strategy
- keyword: campaign_review
description: Review and critique a campaign strategy or execution
template: campaign_review
task_type: campaign_review
- keyword: press_release
description: Write a press release for a title or company announcement
template: press_release
task_type: press_release
- keyword: social_media_pack
description: Create a social media content pack for a title or campaign
template: social_media_pack
task_type: social_media_pack

View File

@@ -1,5 +1,5 @@
name: genesis
description: "Marketing genesis -- route new project intake to the correct marketing pipeline."
description: "Marketing genesis -- populate project identity file, then spawn single entry-point task."
model: default
debug: true
system: agent_prompt
@@ -13,6 +13,48 @@ sections:
- message
steps:
- type: think
agent: Maya
hint: |
You are Maya, Director of Marketing Operations at Crimson Leaf Marketing.
A new marketing project has just been created and needs its identity file.
PROJECT BRIEF: {task.message}
PROJECT SLUG: {project.slug}
Fill in the YAML template below. Replace ONLY the text inside square brackets [].
Copy EVERYTHING else exactly as shown -- field names, indentation, and the intents block.
Output ONLY the YAML. No backticks, no fences, no preamble, no explanation.
name: "[Full name of the marketing project]"
slug: {project.slug}
status: active
goal: "[2-3 sentence description: what this project produces, who it serves, and what success looks like. Keep it on one line.]"
intents:
- keyword: press_release
description: Write a press release for a book launch or publishing announcement
task_type: press_release
- keyword: campaign_strategy
description: Develop a full launch campaign strategy for a title
task_type: campaign_strategy
- keyword: social_media_pack
description: Create a social media content pack for a book or campaign
task_type: social_media_pack
- keyword: email_campaign
description: Write an email campaign sequence for a launch or series
task_type: email_campaign
- keyword: ad_copy
description: Write advertising copy for retailer or social ads
task_type: ad_copy
- keyword: author_bio
description: Write or update an author biography
task_type: author_bio
- type: document
dest_path: "projects/{project.slug}/project.yml"
commit_msg: "genesis: populate project.yml"
- type: think
agent: Maya
hint: |
@@ -34,6 +76,7 @@ steps:
- type: package
packet_type: PlanningResponsePacket
source_step: 2
schema:
tasks:
- task_name: "string -- descriptive name e.g. 'Marketing Campaign: The Starfall Accord'"