From dd00c07a902e948c8ee1b740a9e33d4b720a56c9 Mon Sep 17 00:00:00 2001 From: David Baity <158404677+MazakTheDwarf@users.noreply.github.com> Date: Thu, 12 Mar 2026 02:05:46 -0400 Subject: [PATCH] fix(ai_article_research): use type: spawn instead of package/IntakeResponse IntakeResponse packet type is for intake routing only, not child task creation. Replace with type: spawn (same pattern as book_research.yml) to correctly spawn the ai_article_plan task after research completes. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- templates/ai_article_research.yml | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/templates/ai_article_research.yml b/templates/ai_article_research.yml index 79256d0..563f0e7 100644 --- a/templates/ai_article_research.yml +++ b/templates/ai_article_research.yml @@ -52,26 +52,10 @@ steps: - type: document filename: "{{task_name_slug}}" - - type: package - packet_type: IntakeResponse - hint: | - Create exactly ONE follow-up task. - - - task_name: "Plan Article Series" - - task_type: "ai_article_plan" - - description: "Using the research deliverable, plan exactly 10 standalone articles for - this series. Each article is a 5-minute read (~800-1000 words) for the target audience - described in the project. You choose the topics based on the research. Then spawn 10 - ai_article_write tasks." - - depends_on: "" - schema: - actions: - - type: create_task - task_name: "string" - agent_name: "string" - task_type: "string" - description: "string" - depends_on: "string" + - type: spawn + task_type: ai_article_plan + task_name: "Plan Article Series: {project.name}" + message: "{task.message}" - type: close rag_update: true