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) <noreply@anthropic.com>
This commit is contained in:
Tibsfox 2026-04-06 22:45:03 -07:00
parent 5a0c127543
commit 6bb5a3fe9a

View file

@ -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