From 4edda48841b04002090fea00ab9c468f103f4490 Mon Sep 17 00:00:00 2001 From: Diego Imbert Date: Fri, 9 Oct 2026 11:18:55 +0200 Subject: [PATCH] fix: hand off the workspace home displays, not only an explicit pick --- frontend/src/lib/components/home/HomeAIChat.svelte | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/lib/components/home/HomeAIChat.svelte b/frontend/src/lib/components/home/HomeAIChat.svelte index da3fb7ba4a..1003abbcc1 100644 --- a/frontend/src/lib/components/home/HomeAIChat.svelte +++ b/frontend/src/lib/components/home/HomeAIChat.svelte @@ -181,7 +181,9 @@ try { await startSessionWithPrompt(value, { autoSend: true, - actingOn: pickHere, + // Always the displayed workspace, picked or not: createSession may reuse an + // untouched draft parked elsewhere, and the session must act where Home said. + actingOn: actingOnId ? { workspaceId: actingOnId, fork: pickHere?.fork } : undefined, autonomyMode: pickedAutonomyMode }) } finally {