diff --git a/projects/binding-thread/project.yml b/projects/binding-thread/project.yml index e13cd108..9de7968f 100644 --- a/projects/binding-thread/project.yml +++ b/projects/binding-thread/project.yml @@ -15,13 +15,13 @@ goal: > intents: - keyword: book_outline description: Generate or update the chapter outline for this book - template: book_outline + task_type: book_outline - keyword: book_research description: Research themes, settings, or historical details - template: book_research + task_type: book_research - keyword: write_chapter description: Write a chapter draft - template: book_chapter + task_type: book_chapter - keyword: character_sheet description: Create or update a character sheet - template: character_sheet + task_type: character_sheet diff --git a/projects/crimson-vows/project.yml b/projects/crimson-vows/project.yml index 8926738a..5d113ad5 100644 --- a/projects/crimson-vows/project.yml +++ b/projects/crimson-vows/project.yml @@ -15,13 +15,13 @@ goal: > intents: - keyword: book_outline description: Generate or update the chapter outline for this book - template: book_outline + task_type: book_outline - keyword: book_research description: Research themes, settings, or historical details - template: book_research + task_type: book_research - keyword: write_chapter description: Write a chapter draft - template: book_chapter + task_type: book_chapter - keyword: character_sheet description: Create or update a character sheet - template: character_sheet + task_type: character_sheet diff --git a/projects/cypress-bend/project.yml b/projects/cypress-bend/project.yml index d71a83ce..aeb5b755 100644 --- a/projects/cypress-bend/project.yml +++ b/projects/cypress-bend/project.yml @@ -15,13 +15,13 @@ goal: > intents: - keyword: book_outline description: Generate or update the chapter outline for this book - template: book_outline + task_type: book_outline - keyword: book_research description: Research themes, settings, or historical details - template: book_research + task_type: book_research - keyword: write_chapter description: Write a chapter draft - template: book_chapter + task_type: book_chapter - keyword: character_sheet description: Create or update a character sheet - template: character_sheet + task_type: character_sheet diff --git a/projects/echoes-of-the-forest/project.yml b/projects/echoes-of-the-forest/project.yml index 71925f4f..fbad62cd 100644 --- a/projects/echoes-of-the-forest/project.yml +++ b/projects/echoes-of-the-forest/project.yml @@ -18,13 +18,13 @@ goal: > intents: - keyword: book_outline description: Generate or update the chapter outline for this book - template: book_outline + task_type: book_outline - keyword: book_research description: Research themes, settings, or historical details - template: book_research + task_type: book_research - keyword: write_chapter description: Write a chapter draft - template: book_chapter + task_type: book_chapter - keyword: character_sheet description: Create or update a character sheet - template: character_sheet + task_type: character_sheet diff --git a/projects/whispers-in-the-dark/project.yml b/projects/whispers-in-the-dark/project.yml index 28ec0599..31299d3b 100644 --- a/projects/whispers-in-the-dark/project.yml +++ b/projects/whispers-in-the-dark/project.yml @@ -17,13 +17,13 @@ goal: > intents: - keyword: book_outline description: Generate or update the chapter outline for this book - template: book_outline + task_type: book_outline - keyword: book_research description: Research themes, settings, or historical details - template: book_research + task_type: book_research - keyword: write_chapter description: Write a chapter draft - template: book_chapter + task_type: book_chapter - keyword: character_sheet description: Create or update a character sheet - template: character_sheet + task_type: character_sheet diff --git a/templates/genesis.yml b/templates/genesis.yml index 88281f92..00dceddb 100644 --- a/templates/genesis.yml +++ b/templates/genesis.yml @@ -1,5 +1,5 @@ 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 debug: true system: agent_prompt @@ -11,6 +11,47 @@ sections: - roster - message 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 agent: nova hint: | @@ -37,6 +78,7 @@ steps: - type: package packet_type: PlanningResponsePacket + source_step: 2 schema: tasks: - task_name: "string -- short descriptive name for the single entry-point task"