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: only pass preserveLockfiles for dependency-updates cleanups (#12863)
Adam Eivyd8896d1949e1
diff --git a/server/services/agentWorktreeCleanup.js b/server/services/agentWorktreeCleanup.jsindex e42ff3b4ba..9c5f972fef 100644--- a/server/services/agentWorktreeCleanup.js+++ b/server/services/agentWorktreeCleanup.js@@ -297,7 +297,7 @@ function cleanupOptions({ prCreation = PR_CREATION.NEVER, prCompletion = null, r}// A lockfile-only diff is a legitimate deliverable for dependency-updates only.-export const lockfileDeliverable = (task) => ({ preserveLockfiles: resolveTaskHookType(task) === 'dependency-updates' });+export const lockfileDeliverable = (task) => (resolveTaskHookType(task) === 'dependency-updates' ? { preserveLockfiles: true } : {});async function discardAgentWorktree({ agentId, sourceWorkspace, worktreeBranch }) {emitLog('info', `🌳 Discarding worktree for reasoning agent ${agentId} (no merge, no PR)`, { agentId, branchName: worktreeBranch });