fix(start-work): narrow existing state before resume

This commit is contained in:
Häcker, Henning
2026-04-24 15:58:05 +02:00
parent 063ba46681
commit d22bd71d0d
+1 -1
View File
@@ -495,7 +495,7 @@ export function buildStartWorkContextInfo(params: {
worktreeBlock, worktreeBlock,
directory: ctx.directory, directory: ctx.directory,
}) })
} else if (shouldResumeExistingState({ existingState, preferredPlanPath })) { } else if (existingState && shouldResumeExistingState({ existingState, preferredPlanPath })) {
contextInfo = buildExistingSessionContext({ contextInfo = buildExistingSessionContext({
existingState, existingState,
sessionId, sessionId,