From e39792259ed49e3d3a4f9961082e3b57ddab27d1 Mon Sep 17 00:00:00 2001 From: nrslib <38722970+nrslib@users.noreply.github.com> Date: Thu, 26 Feb 2026 00:55:24 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20--task=20=E3=81=A7=E3=82=82=E3=83=AF?= =?UTF-8?q?=E3=83=BC=E3=82=AF=E3=83=84=E3=83=AA=E3=83=BC=E4=BD=9C=E6=88=90?= =?UTF-8?q?=E6=99=82=E3=81=AF=20tasks.yaml=20=E3=81=AB=E8=A8=98=E9=8C=B2?= =?UTF-8?q?=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --task オプションで skipTaskList=true になるが、ワークツリー作成時は takt list でのブランチ管理に必要なためタスク記録を保存する。 --- src/features/tasks/execute/selectAndExecute.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features/tasks/execute/selectAndExecute.ts b/src/features/tasks/execute/selectAndExecute.ts index 4a30f3c..54dce3e 100644 --- a/src/features/tasks/execute/selectAndExecute.ts +++ b/src/features/tasks/execute/selectAndExecute.ts @@ -109,7 +109,7 @@ export async function selectAndExecuteTask( log.info('Starting task execution', { piece: pieceIdentifier, worktree: isWorktree, autoPr: shouldCreatePr, draftPr: shouldDraftPr }); const taskRunner = new TaskRunner(cwd); let taskRecord: Awaited> | null = null; - if (options?.skipTaskList !== true) { + if (options?.skipTaskList !== true || isWorktree) { taskRecord = taskRunner.addTask(task, { piece: pieceIdentifier, ...(isWorktree ? { worktree: true } : {}),