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:41 -04:00
parent 5312295bba
commit 384797edea
6 changed files with 63 additions and 21 deletions

View File

@@ -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"