From 25168c8a85e59d69bd138c434879174df6ed299c Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 27 Mar 2026 09:48:38 +0000 Subject: [PATCH] fix(autosave): include branchName in persisted snapshot updateTaskBranch (used by MergeDialog's branch mismatch fix) updates branchName in the store, but the autosave snapshot didn't track it. If branchName was the only field that changed, the debounced save would not trigger, potentially losing the update on app restart. https://claude.ai/code/session_01McqHYwdaCNNXqPQWGBTGS4 --- src/store/autosave.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/store/autosave.ts b/src/store/autosave.ts index dfce39d3..9a7d1785 100644 --- a/src/store/autosave.ts +++ b/src/store/autosave.ts @@ -43,6 +43,7 @@ function persistedSnapshot(): string { name: t.name, gitIsolation: t.gitIsolation, baseBranch: t.baseBranch, + branchName: t.branchName, savedInitialPrompt: t.savedInitialPrompt, collapsed: t.collapsed, },