Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix([issue-3180]): derive the Runner workspace name from the selected app, not a repoPath lookup

[._.]/ Adam Eivy1489ebdcd768
diff --git a/client/src/pages/RunnerPage.jsx b/client/src/pages/RunnerPage.jsx
index 5bb81f0553..24523cdf57 100644
--- a/client/src/pages/RunnerPage.jsx
+++ b/client/src/pages/RunnerPage.jsx
@@ -183,7 +183,13 @@ ${prompt.trim()}`;
model: selectedModel || undefined,
prompt: finalPrompt,
workspacePath: workspacePath || undefined,
- workspaceName: apps.find(a => a.repoPath === workspacePath)?.name,
+ // Take the name from the app that is actually selected, not from a
+ // reverse lookup by repoPath. When the selected app's Repository Path is
+ // unset, `workspacePath` is '' and the lookup matched some *other*
+ // pathless app (or nothing) — so the server saw no workspace at all and
+ // ran in the PortOS directory instead of rejecting the misconfigured app
+ // it was pointed at (#3180).
+ workspaceName: selectedApp?.name,
timeout: timeout * 60 * 1000, // Convert minutes to milliseconds
screenshots: screenshots.map(s => s.path) // Include screenshot paths
}).catch(err => ({ error: err.message }));