From 3f2d4512217fef12097ef34a4ba1143fc00c3381 Mon Sep 17 00:00:00 2001 From: nirholas Date: Tue, 31 Mar 2026 10:23:58 +0000 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20=F0=9F=93=8E=20forkSubagent.ts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/tools/AgentTool/forkSubagent.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tools/AgentTool/forkSubagent.ts b/src/tools/AgentTool/forkSubagent.ts index 3f5c354..e5c6c2e 100644 --- a/src/tools/AgentTool/forkSubagent.ts +++ b/src/tools/AgentTool/forkSubagent.ts @@ -208,3 +208,4 @@ export function buildWorktreeNotice( ): string { return `You've inherited the conversation context above from a parent agent working in ${parentCwd}. You are operating in an isolated git worktree at ${worktreeCwd} — same repository, same relative file structure, separate working copy. Paths in the inherited context refer to the parent's working directory; translate them to your worktree root. Re-read files before editing if the parent may have modified them since they appear in the context. Your changes stay in this worktree and will not affect the parent's files.` } +