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: preserve claim teardown grace period
[._.]/ Adam Eivycb32308d2a1f
diff --git a/server/services/branchReconcile.js b/server/services/branchReconcile.jsindex f9641704fb..9c023477ae 100644--- a/server/services/branchReconcile.js+++ b/server/services/branchReconcile.js@@ -943,7 +943,7 @@ export async function cleanupMerged(repoPath, defaultBranch, merged, { activeAgeconst retired = await retireBranch(repoPath, b, {activeAgentIds,staleClaimIdleMs: isMalformedClaimBranch(b.branch)- ? 0+ ? SHIPPED_CLAIM_IDLE_MS: b.upstreamGone ? SHIPPED_CLAIM_IDLE_MS : STALE_CLAIM_IDLE_MS,label: `🔀 branch-reconcile: remove worktree for ${b.branch}`,});diff --git a/server/services/branchReconcile.test.js b/server/services/branchReconcile.test.jsindex 9c37da9170..bf3a751825 100644--- a/server/services/branchReconcile.test.js+++ b/server/services/branchReconcile.test.js@@ -346,7 +346,7 @@ describe('cleanupMerged', () => {execGit.mockResolvedValue({ stdout: '', exitCode: 0 });const res = await cleanupMerged('/repo', 'main', [- { branch: 'claim/issue-', worktreePath: '/repo/data/cos/worktrees/claim-issue-', worktreeAgeMs: 60 * 1000 }+ { branch: 'claim/issue-', worktreePath: '/repo/data/cos/worktrees/claim-issue-', worktreeAgeMs: 2 * 60 * 60 * 1000 }]);expect(res.cleaned).toEqual(['claim/issue-']);