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
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix(cos): disable worktree for slash-do quick actions so they run on the active branch
Adam Eivy3d89fae1a8a5
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.mdindex 7c6f71f167..1bfa18405c 100644--- a/.changelog/NEXT.md+++ b/.changelog/NEXT.md@@ -9,6 +9,7 @@## Fixed+- Slash-do quick actions (`/do:push`, `/do:review`, etc.) no longer run in a worktree — they now execute on the app's active branch where they have the correct context- Feature-ideas prompt included "you are working in a git worktree on a feature branch" even when worktree was not configured — worktree context is now only injected by `agentPromptBuilder` when actually using a worktree- `app-improve-` task IDs were getting `task-` prefix added by `taskParser.js`, causing `updateTask` lookups to fail — tasks were never marked in_progress or completed after agent runs- Recovered `app-improve-` agents after server restart now correctly infer `taskType: 'internal'` instead of `'user'`diff --git a/server/routes/cosTaskRoutes.js b/server/routes/cosTaskRoutes.jsindex 15e216cc5e..1f84fa0884 100644--- a/server/routes/cosTaskRoutes.js+++ b/server/routes/cosTaskRoutes.js@@ -85,7 +85,7 @@ router.post('/tasks/slashdo', asyncHandler(async (req, res) => {const meta = SLASHDO_COMMANDS[command];const description = `Run /do:${command} — ${meta.description}`;- const taskData = { description, app, context: content, useWorktree: true, openPR: true, simplify: false, reviewLoop: false };+ const taskData = { description, app, context: content, useWorktree: false, openPR: false, simplify: false, reviewLoop: false };const result = await cos.addTask(taskData, 'user');if (result?.duplicate) {