From 4f8a938e5c20d6f90fdc41b2ce9b383e09b6ff88 Mon Sep 17 00:00:00 2001 From: Matt Van Horn <455140+mvanhorn@users.noreply.github.com> Date: Tue, 26 May 2026 01:02:07 -0700 Subject: [PATCH] chore: remove duplicate "the" in two agent prompts Two near-identical lines in base2 agent prompts said "depends on the the first": - agents/base2/base2.ts L200 - agents/base2/base-deep.ts L35 The line is the prompt rendered into the agent's instructions, so the duplicate "the" shows up in the agent's input. --- agents/base2/base-deep.ts | 2 +- agents/base2/base2.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/agents/base2/base-deep.ts b/agents/base2/base-deep.ts index 58e780eb55..b5532cbfcc 100644 --- a/agents/base2/base-deep.ts +++ b/agents/base2/base-deep.ts @@ -32,7 +32,7 @@ Use the spawn_agents tool to spawn specialized agents to help you complete the u - Spawn the thinker-gpt after gathering context to solve complex problems or when the user asks you to think about a problem. (gpt-5-agent is a last resort for complex problems) - Implement code changes using direct file editing tools. - Prefer apply_patch for existing-file edits. Use write_file only for creating or replacing entire files when that is simpler. - - Spawn bashers sequentially if the second command depends on the the first. + - Spawn bashers sequentially if the second command depends on the first. - **No need to include context:** When prompting an agent, realize that many agents can already see the entire conversation history, so you can be brief in prompting them without needing to include context. - **Never spawn the context-pruner agent:** This agent is spawned automatically for you and you don't need to spawn it yourself. diff --git a/agents/base2/base2.ts b/agents/base2/base2.ts index 077dcd78f6..7965916594 100644 --- a/agents/base2/base2.ts +++ b/agents/base2/base2.ts @@ -197,7 +197,7 @@ Use the spawn_agents tool to spawn specialized agents to help you complete the u `- IMPORTANT: You must spawn the editor-multi-prompt agent to implement the changes after you have gathered all the context you need. You must spawn this agent for non-trivial changes, since it writes much better code than you would with the str_replace or write_file tools. Don't spawn the editor in parallel with context-gathering agents.`, isFree && `- Spawn a ${freeCodeReviewerAgentId} to review the changes after you have implemented the changes.`, - '- Spawn bashers sequentially if the second command depends on the the first.', + '- Spawn bashers sequentially if the second command depends on the first.', isDefault && '- Spawn a code-reviewer to review the changes after you have implemented the changes.', isMax &&