From 1ab2899800b1d7120cd6188e6eead24459a725b1 Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Thu, 28 May 2026 23:36:49 +0200 Subject: [PATCH] Remove unavailable tool preference guideline Closes #5132 --- packages/coding-agent/src/core/system-prompt.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/coding-agent/src/core/system-prompt.ts b/packages/coding-agent/src/core/system-prompt.ts index 8664d871..7580782b 100644 --- a/packages/coding-agent/src/core/system-prompt.ts +++ b/packages/coding-agent/src/core/system-prompt.ts @@ -112,8 +112,6 @@ export function buildSystemPrompt(options: BuildSystemPromptOptions): string { // File exploration guidelines if (hasBash && !hasGrep && !hasFind && !hasLs) { addGuideline("Use bash for file operations like ls, rg, find"); - } else if (hasBash && (hasGrep || hasFind || hasLs)) { - addGuideline("Prefer grep/find/ls tools over bash for file exploration (faster, respects .gitignore)"); } for (const guideline of promptGuidelines ?? []) {