Sprint 89: Fix intent schema (template->task_type), update genesis to write project.yml, fix all project.yml intents
This commit is contained in:
@@ -15,13 +15,13 @@ goal: >
|
|||||||
intents:
|
intents:
|
||||||
- keyword: book_outline
|
- keyword: book_outline
|
||||||
description: Generate or update the chapter outline for this book
|
description: Generate or update the chapter outline for this book
|
||||||
template: book_outline
|
task_type: book_outline
|
||||||
- keyword: book_research
|
- keyword: book_research
|
||||||
description: Research themes, settings, or historical details
|
description: Research themes, settings, or historical details
|
||||||
template: book_research
|
task_type: book_research
|
||||||
- keyword: write_chapter
|
- keyword: write_chapter
|
||||||
description: Write a chapter draft
|
description: Write a chapter draft
|
||||||
template: book_chapter
|
task_type: book_chapter
|
||||||
- keyword: character_sheet
|
- keyword: character_sheet
|
||||||
description: Create or update a character sheet
|
description: Create or update a character sheet
|
||||||
template: character_sheet
|
task_type: character_sheet
|
||||||
|
|||||||
@@ -15,13 +15,13 @@ goal: >
|
|||||||
intents:
|
intents:
|
||||||
- keyword: book_outline
|
- keyword: book_outline
|
||||||
description: Generate or update the chapter outline for this book
|
description: Generate or update the chapter outline for this book
|
||||||
template: book_outline
|
task_type: book_outline
|
||||||
- keyword: book_research
|
- keyword: book_research
|
||||||
description: Research themes, settings, or historical details
|
description: Research themes, settings, or historical details
|
||||||
template: book_research
|
task_type: book_research
|
||||||
- keyword: write_chapter
|
- keyword: write_chapter
|
||||||
description: Write a chapter draft
|
description: Write a chapter draft
|
||||||
template: book_chapter
|
task_type: book_chapter
|
||||||
- keyword: character_sheet
|
- keyword: character_sheet
|
||||||
description: Create or update a character sheet
|
description: Create or update a character sheet
|
||||||
template: character_sheet
|
task_type: character_sheet
|
||||||
|
|||||||
@@ -15,13 +15,13 @@ goal: >
|
|||||||
intents:
|
intents:
|
||||||
- keyword: book_outline
|
- keyword: book_outline
|
||||||
description: Generate or update the chapter outline for this book
|
description: Generate or update the chapter outline for this book
|
||||||
template: book_outline
|
task_type: book_outline
|
||||||
- keyword: book_research
|
- keyword: book_research
|
||||||
description: Research themes, settings, or historical details
|
description: Research themes, settings, or historical details
|
||||||
template: book_research
|
task_type: book_research
|
||||||
- keyword: write_chapter
|
- keyword: write_chapter
|
||||||
description: Write a chapter draft
|
description: Write a chapter draft
|
||||||
template: book_chapter
|
task_type: book_chapter
|
||||||
- keyword: character_sheet
|
- keyword: character_sheet
|
||||||
description: Create or update a character sheet
|
description: Create or update a character sheet
|
||||||
template: character_sheet
|
task_type: character_sheet
|
||||||
|
|||||||
@@ -18,13 +18,13 @@ goal: >
|
|||||||
intents:
|
intents:
|
||||||
- keyword: book_outline
|
- keyword: book_outline
|
||||||
description: Generate or update the chapter outline for this book
|
description: Generate or update the chapter outline for this book
|
||||||
template: book_outline
|
task_type: book_outline
|
||||||
- keyword: book_research
|
- keyword: book_research
|
||||||
description: Research themes, settings, or historical details
|
description: Research themes, settings, or historical details
|
||||||
template: book_research
|
task_type: book_research
|
||||||
- keyword: write_chapter
|
- keyword: write_chapter
|
||||||
description: Write a chapter draft
|
description: Write a chapter draft
|
||||||
template: book_chapter
|
task_type: book_chapter
|
||||||
- keyword: character_sheet
|
- keyword: character_sheet
|
||||||
description: Create or update a character sheet
|
description: Create or update a character sheet
|
||||||
template: character_sheet
|
task_type: character_sheet
|
||||||
|
|||||||
@@ -17,13 +17,13 @@ goal: >
|
|||||||
intents:
|
intents:
|
||||||
- keyword: book_outline
|
- keyword: book_outline
|
||||||
description: Generate or update the chapter outline for this book
|
description: Generate or update the chapter outline for this book
|
||||||
template: book_outline
|
task_type: book_outline
|
||||||
- keyword: book_research
|
- keyword: book_research
|
||||||
description: Research themes, settings, or historical details
|
description: Research themes, settings, or historical details
|
||||||
template: book_research
|
task_type: book_research
|
||||||
- keyword: write_chapter
|
- keyword: write_chapter
|
||||||
description: Write a chapter draft
|
description: Write a chapter draft
|
||||||
template: book_chapter
|
task_type: book_chapter
|
||||||
- keyword: character_sheet
|
- keyword: character_sheet
|
||||||
description: Create or update a character sheet
|
description: Create or update a character sheet
|
||||||
template: character_sheet
|
task_type: character_sheet
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
name: genesis
|
name: genesis
|
||||||
description: "Project genesis -- quick think -> structured initial task list -> child tasks spawned. Runs once when a new project is created."
|
description: "Project genesis -- populate project identity file, then spawn single entry-point task."
|
||||||
model: default
|
model: default
|
||||||
debug: true
|
debug: true
|
||||||
system: agent_prompt
|
system: agent_prompt
|
||||||
@@ -11,6 +11,47 @@ sections:
|
|||||||
- roster
|
- roster
|
||||||
- message
|
- message
|
||||||
steps:
|
steps:
|
||||||
|
- type: think
|
||||||
|
agent: nova
|
||||||
|
hint: |
|
||||||
|
You are Nova, Director of Publishing Operations.
|
||||||
|
A new publishing 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 title of the book]"
|
||||||
|
slug: {project.slug}
|
||||||
|
status: active
|
||||||
|
lead_author: Iris
|
||||||
|
genre: "[Genre -- e.g. Contemporary Romance, Epic Fantasy, Paranormal Thriller]"
|
||||||
|
genre_audience: "[Target reader profile in one sentence]"
|
||||||
|
chapter_count: [number -- use 12 if not specified in the brief]
|
||||||
|
chapter_target_words: 3500
|
||||||
|
goal: "[2-3 sentence back-cover blurb: protagonists, setting, and central conflict. Keep it on one line.]"
|
||||||
|
intents:
|
||||||
|
- keyword: book_outline
|
||||||
|
description: Generate or update the chapter outline for this book
|
||||||
|
task_type: book_outline
|
||||||
|
- keyword: book_research
|
||||||
|
description: Research themes, settings, or historical details
|
||||||
|
task_type: book_research
|
||||||
|
- keyword: write_chapter
|
||||||
|
description: Write a chapter draft
|
||||||
|
task_type: book_chapter
|
||||||
|
- keyword: character_sheet
|
||||||
|
description: Create or update a character sheet
|
||||||
|
task_type: character_sheet
|
||||||
|
|
||||||
|
- type: document
|
||||||
|
dest_path: "projects/{project.slug}/project.yml"
|
||||||
|
commit_msg: "genesis: populate project.yml"
|
||||||
|
|
||||||
- type: think
|
- type: think
|
||||||
agent: nova
|
agent: nova
|
||||||
hint: |
|
hint: |
|
||||||
@@ -37,6 +78,7 @@ steps:
|
|||||||
|
|
||||||
- type: package
|
- type: package
|
||||||
packet_type: PlanningResponsePacket
|
packet_type: PlanningResponsePacket
|
||||||
|
source_step: 2
|
||||||
schema:
|
schema:
|
||||||
tasks:
|
tasks:
|
||||||
- task_name: "string -- short descriptive name for the single entry-point task"
|
- task_name: "string -- short descriptive name for the single entry-point task"
|
||||||
|
|||||||
Reference in New Issue
Block a user