From 1836ffcd7532ac91baf62eeb4107099b985c614b Mon Sep 17 00:00:00 2001 From: David Baity <158404677+MazakTheDwarf@users.noreply.github.com> Date: Mon, 30 Mar 2026 10:35:51 -0400 Subject: [PATCH] =?UTF-8?q?Sprint=2061k=20=E2=80=94=20Template=20&=20Pipel?= =?UTF-8?q?ine=20Correctness=20Audit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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> --- templates/InputFromUser.yml | 6 ++++-- templates/book_outline.yml | 11 +++++++---- templates/genesis.yml | 4 ++-- templates/planning.yml | 1 + 4 files changed, 14 insertions(+), 8 deletions(-) diff --git a/templates/InputFromUser.yml b/templates/InputFromUser.yml index 0f318e2..4aa54c2 100644 --- a/templates/InputFromUser.yml +++ b/templates/InputFromUser.yml @@ -70,12 +70,14 @@ steps: For category (h), emit one hire_agent action per role — Nova is NOT involved. OUTPUT FORMAT: Your response IS the user-facing reply. Write it directly. - - For work requests: "Task Created: [task name]" + - For work requests: "Task Created: [task name]" on the first line, then on the next line + reproduce the operator's original message verbatim (the full text of their request). + This ensures the task description contains the complete brief for Nova. - For company creation: "Company creation initiated: [company name]" - For agent hire: "Agent hired: [role]" (one line per agent) - For questions/chat: answer directly - For status queries, freeze/resume, human tasks: brief one-line confirmation - Do NOT use [did: ...] notation. Do NOT add explanations. One sentence per action. + Do NOT use [did: ...] notation. Do NOT add explanations beyond what is specified above. - type: package packet_type: IntakeResponse diff --git a/templates/book_outline.yml b/templates/book_outline.yml index 9ad326e..b694267 100644 --- a/templates/book_outline.yml +++ b/templates/book_outline.yml @@ -170,6 +170,11 @@ steps: - Target audience: {genre_audience} ## Chapter Outline + ⚠️ COMPLETENESS REQUIRED: Write a FULL entry for EVERY chapter. Do NOT abbreviate, skip, + or summarize multiple chapters with "...omitted for brevity" or similar. If the outline + calls for 45 chapters, all 45 must appear below with complete entries. Partial outlines + are a critical error — Iris writes blind without this information. + For each chapter (target {chapter_count} chapters): - Chapter N: [Title] - Summary: 2–3 sentences of what happens @@ -181,11 +186,9 @@ steps: ## Voice & Tone Guide Write the Voice & Tone Guide as HARD OPERATING CONSTRAINTS, not aspirations. - This guide will be copied verbatim into every chapter task as {prose_style} — + This guide will be copied verbatim into every chapter task as the prose_style context variable — treat it as rules the author must follow on every page, not a mood description. - PROSE STYLE: {prose_style} - Format the Voice & Tone Guide as: - POV and tense: [e.g., "First-person present tense throughout."] - Sentence rhythm: [e.g., "Vary sentence length; no more than two consecutive complex @@ -258,7 +261,7 @@ steps: - task_type: choose based on genre_name from the outline: * "ya_chapter" → if genre_name contains "YA" or "Young Adult" * "romance_chapter" → if genre_name contains "Romance" or "Contemporary Romance" - * "scifi_chapter" → if genre_name contains "Science Fiction" or "Sci-Fi" or "Space Opera" + * "drafting" → if genre_name contains "Science Fiction" or "Sci-Fi" or "Space Opera" * "cozy_mystery_chapter" → if genre_name contains "Cozy Mystery" or "Mystery" * "adult_novel_chapter" → if genre_name contains "Adult" and not YA * "book_chapter" → all other genres (default) diff --git a/templates/genesis.yml b/templates/genesis.yml index 264ffe3..235b698 100644 --- a/templates/genesis.yml +++ b/templates/genesis.yml @@ -12,10 +12,10 @@ steps: - type: think agent: first_available hint: | - You are {agent.name}, {agent.professional_title}. + You are Nova, Director of Publishing Operations. A new project has just been created and needs its FIRST task only. - PROJECT GOAL: {task.prompt} + 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. diff --git a/templates/planning.yml b/templates/planning.yml index 4725ac5..409a934 100644 --- a/templates/planning.yml +++ b/templates/planning.yml @@ -2,6 +2,7 @@ name: planning description: "Rotating chair deliberation → structured work breakdown → child tasks created." debug: true system: agent_prompt +agent: Nova participant_prompt: - "= identity.md" agent_prompt: