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: skip HEAD when discovering recovery roots to stay within the Git spawn ceiling (#13253)
Adam Eivye3f4aa10b9d3
diff --git a/server/services/heldCheckoutRecovery.js b/server/services/heldCheckoutRecovery.jsindex c77ece3983..81becc97dd 100644--- a/server/services/heldCheckoutRecovery.js+++ b/server/services/heldCheckoutRecovery.js@@ -516,6 +516,9 @@ function recoveryReferenceKind(path) {if (/^refs(?:\/|$)/.test(relative)) return 'ref';if (relative === 'packed-refs') return 'packed';if (relative === 'FETCH_HEAD') return 'fetch';+ // HEAD resolves to tree.head, which is already a recovery root; skipping it+ // saves two Git spawns per retirement (#13154 spawn ceiling).+ if (relative === 'HEAD') return null;if (relative === 'MERGE_HEAD' || relative === 'shallow') return 'objects';if (['COMMIT_EDITMSG', 'MERGE_MSG', 'MERGE_MODE', 'MERGE_RR', 'SQUASH_MSG', 'TAG_EDITMSG', 'NOTES_EDITMSG'].includes(relative)) return null;// Worktree-private root refs use uppercase names. Unknown operation formats