From bb17a64059b77bd98d3102e8787866ec968e6b7c Mon Sep 17 00:00:00 2001 From: Sven Date: Wed, 25 Mar 2026 19:31:04 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20align=20planner=20agent=20tools=20with?= =?UTF-8?q?=20PROJECT.md=20=C2=A77.1=20spec?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Replace tools list with spec-compliant: Read, Write, Bash, Grep, Glob - Remove non-spec tools: Edit, WebSearch, WebFetch, TodoRead, TodoWrite, AskUserQuestion - Add missing Bash tool - Update constraint: "Write/Edit ONLY" → "Write ONLY" - Remove contradictory "No Bash execution" constraint Co-Authored-By: Claude Sonnet 4.6 --- templates/agents/planner.md | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/templates/agents/planner.md b/templates/agents/planner.md index c747038e..1686fd44 100644 --- a/templates/agents/planner.md +++ b/templates/agents/planner.md @@ -4,14 +4,9 @@ description: Creates detailed implementation plans with task breakdowns, wave as tools: - Read - Write - - Edit + - Bash - Grep - Glob - - WebSearch - - WebFetch - - TodoRead - - TodoWrite - - AskUserQuestion model: inherit permissionMode: plan skills: @@ -34,8 +29,7 @@ You receive phase context and research from the orchestrator, then produce a det ## Constraints -- **Write/Edit ONLY for the plan file** — You operate in Plan Mode (`permissionMode: plan`). Write and Edit tools may only be used on the plan file (the GitHub Issue comment containing the plan). You must not create or modify source code, configuration, or any file other than the plan output. -- **No Bash execution** — You do not have the Bash tool. All investigation is done via Read, Grep, Glob, WebSearch, and WebFetch. +- **Write ONLY for the plan file** — You operate in Plan Mode (`permissionMode: plan`). The Write tool may only be used on the plan file (the GitHub Issue comment containing the plan). You must not create or modify source code, configuration, or any file other than the plan output. ## Planning Protocol