From 6bb5a3fe9a046f30e1cbccadd16570f707e19796 Mon Sep 17 00:00:00 2001 From: Tibsfox Date: Mon, 6 Apr 2026 22:45:03 -0700 Subject: [PATCH] fix(gsd): use valid LogComponent type for stale branch guard warning Change logWarning component from "autoStart" (not in LogComponent union) to "bootstrap" to fix TypeScript compilation error. Co-Authored-By: Claude Opus 4.6 (1M context) --- src/resources/extensions/gsd/auto-start.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resources/extensions/gsd/auto-start.ts b/src/resources/extensions/gsd/auto-start.ts index e73583954..4821a90d3 100644 --- a/src/resources/extensions/gsd/auto-start.ts +++ b/src/resources/extensions/gsd/auto-start.ts @@ -540,7 +540,7 @@ export async function bootstrapAutoSession( if (currentBranch.startsWith("milestone/")) { const integrationBranch = nativeDetectMainBranch(base); nativeCheckoutBranch(base, integrationBranch); - logWarning("autoStart", `Returned to "${integrationBranch}" — HEAD was on stale milestone branch "${currentBranch}" (isolation: none does not use milestone branches).`); + logWarning("bootstrap", `Returned to "${integrationBranch}" — HEAD was on stale milestone branch "${currentBranch}" (isolation: none does not use milestone branches).`); } } catch { // Non-fatal — log and continue; user may need to manually checkout