fix(start-work): narrow existing state before resume
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user