From 66e4e4f90262cf60b70a08a9b2108136c557c832 Mon Sep 17 00:00:00 2001 From: David Baity <158404677+MazakTheDwarf@users.noreply.github.com> Date: Thu, 12 Mar 2026 03:29:35 -0400 Subject: [PATCH] fix(planning): add BOARDROOM and NO-RE-PIPELINE rules - BOARDROOM RULE: when request is a strategic debate/deliberation, create ONE task_type: boardroom for Selene, NOT content pipeline tasks - NO-RE-PIPELINE RULE: if project already has book_research/outline/chapters in history, do NOT restart the pipeline mid-flight Fixes Issue where planning incorrectly spawned a full research pipeline when asked for a boardroom session, creating a 3rd set of Hollow Crown chapters. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- templates/planning.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/templates/planning.yml b/templates/planning.yml index 53322e5..3fff7fe 100644 --- a/templates/planning.yml +++ b/templates/planning.yml @@ -56,6 +56,26 @@ steps: No ambiguous assignments. No placeholder names. Do NOT invent task type names. Each task_type MUST appear verbatim in the TEAM ROSTER. + BOARDROOM RULE: + - When the request is for a strategic debate, a structured discussion, a decision-making + session, or a formal deliberation WITHOUT producing new content artifacts, create ONE task: + task_type: boardroom, agent: Selene, priority: 1 + - boardroom tasks are purely deliberative — no research, no content output. + - Example triggers: "convene a boardroom", "debate strategy", "decide on priorities", + "executive discussion", "formal boardroom session", "strategic review" + - Do NOT create book_research, blog_research, or any other content pipeline task + for a boardroom request. ONE boardroom task only. + + NO-RE-PIPELINE RULE: + - CRITICALLY IMPORTANT: If the project history above shows that book_research, + book_outline, ai_article_research, blog_research, recipe_collection_plan, or + short_story tasks have already been created for this project, do NOT create them again. + - Check the HISTORY section above. If any content pipeline tasks are listed as + InProgress, Completed, or AdjudicationPending, the pipeline is already running. + - For an in-flight project, only create tasks that are genuinely missing: editorial + review (book_editorial), boardroom deliberations, or quick answers. + - NEVER restart a research or outline pipeline mid-flight. + BOOK/FICTION SEQUENCING RULE: - For novels and books, the pipeline is: book_research → book_outline → book_chapter (×N) → chapter_review (×3 per chapter) → chapter_roundtable → chapter_polish → book_editorial → project_index