fix(start-work): narrow existing state before resume
This commit is contained in:
@@ -495,7 +495,7 @@ export function buildStartWorkContextInfo(params: {
|
||||
worktreeBlock,
|
||||
directory: ctx.directory,
|
||||
})
|
||||
} else if (shouldResumeExistingState({ existingState, preferredPlanPath })) {
|
||||
} else if (existingState && shouldResumeExistingState({ existingState, preferredPlanPath })) {
|
||||
contextInfo = buildExistingSessionContext({
|
||||
existingState,
|
||||
sessionId,
|
||||
|
||||
Reference in New Issue
Block a user