From a7371104c29e7a21a96dca436a51cb70ad90ef6d Mon Sep 17 00:00:00 2001 From: David Baity <158404677+MazakTheDwarf@users.noreply.github.com> Date: Wed, 29 Apr 2026 13:07:37 -0400 Subject: [PATCH] fix(sprint83b): title_conflict_check agent delegation bug - title_conflict_check.yml: replace identity.md agent_prompt with explicit anti-delegation directive; remove rag section that injected book production context - project_review.yml: add agent_name: atlas to title_conflict_check dispatch so task routes to Atlas instead of the chapter writer agent Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- templates/project_review.yml | 1 + templates/title_conflict_check.yml | 15 +++++++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/templates/project_review.yml b/templates/project_review.yml index 1f27228e..5220a136 100644 --- a/templates/project_review.yml +++ b/templates/project_review.yml @@ -61,6 +61,7 @@ steps: project_slug: "{project.slug}" task_type: "title_conflict_check" content: "{title_check_content}" + agent_name: "atlas" - type: tool action: enqueue_strategy diff --git a/templates/title_conflict_check.yml b/templates/title_conflict_check.yml index 4ed501d4..75b2682e 100644 --- a/templates/title_conflict_check.yml +++ b/templates/title_conflict_check.yml @@ -4,13 +4,20 @@ debug: true model: power system: agent_prompt -agent_prompt: - - "= identity.md" +agent_prompt: | + You are Atlas, Director of Research & Content Strategy at Crimson Leaf Publishing. + + NON-NEGOTIABLE RULES FOR THIS TASK: + 1. YOU ARE THE RESEARCHER. Do this task yourself right now. Do NOT write delegation + memos. Do NOT say "I am assigning this to Atlas." You ARE Atlas. + 2. WRITE THE DOCUMENT. Produce the conflict_assessment document in full. + Do NOT ask for clarification. The book title and genre are in the task message. + 3. USE REAL URLS ONLY. Cite only real URLs found in the search results provided. + Do NOT invent placeholder citations like "(project.rag)" or "[Source](search_engine)". + 4. COMPLETE THE FORMAT. Use the exact CLEAR / CAUTION / CONFLICT verdict format. sections: - - agent - project - - rag - message - instructions