From aa9e1cfea9a23abc7cfabad57e260ae09b665b63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=82CHES?= Date: Thu, 19 Mar 2026 17:26:31 -0600 Subject: [PATCH] fix: add missing imports breaking CI build (#1511) - Add missing `parseRoadmap` import in `auto-dispatch.ts` - Add missing `unlinkSync` import in `auto.ts` - Add missing `syncGsdStateToWorktree` import in `worktree-sync-milestones.test.ts` All three were dropped during the PR #1419 merge. Co-authored-by: Claude Opus 4.6 (1M context) --- src/resources/extensions/gsd/auto-dispatch.ts | 2 +- src/resources/extensions/gsd/auto.ts | 2 +- .../extensions/gsd/tests/worktree-sync-milestones.test.ts | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/resources/extensions/gsd/auto-dispatch.ts b/src/resources/extensions/gsd/auto-dispatch.ts index 488bd19f9..034163aab 100644 --- a/src/resources/extensions/gsd/auto-dispatch.ts +++ b/src/resources/extensions/gsd/auto-dispatch.ts @@ -12,7 +12,7 @@ import type { GSDState } from "./types.js"; import type { GSDPreferences } from "./preferences.js"; import type { UatType } from "./files.js"; -import { loadFile, extractUatType, loadActiveOverrides } from "./files.js"; +import { loadFile, extractUatType, loadActiveOverrides, parseRoadmap } from "./files.js"; import { resolveMilestoneFile, resolveMilestonePath, diff --git a/src/resources/extensions/gsd/auto.ts b/src/resources/extensions/gsd/auto.ts index df6c11ac4..756c95d5f 100644 --- a/src/resources/extensions/gsd/auto.ts +++ b/src/resources/extensions/gsd/auto.ts @@ -127,7 +127,7 @@ import { formatTokenCount, } from "./metrics.js"; import { join } from "node:path"; -import { readFileSync, existsSync, mkdirSync, writeFileSync } from "node:fs"; +import { readFileSync, existsSync, mkdirSync, writeFileSync, unlinkSync } from "node:fs"; import { atomicWriteSync } from "./atomic-write.js"; import { autoCommitCurrentBranch, diff --git a/src/resources/extensions/gsd/tests/worktree-sync-milestones.test.ts b/src/resources/extensions/gsd/tests/worktree-sync-milestones.test.ts index 40fb064c8..1bc450e2c 100644 --- a/src/resources/extensions/gsd/tests/worktree-sync-milestones.test.ts +++ b/src/resources/extensions/gsd/tests/worktree-sync-milestones.test.ts @@ -19,6 +19,7 @@ import { join } from 'node:path'; import { tmpdir } from 'node:os'; import { syncProjectRootToWorktree } from '../auto-worktree-sync.ts'; +import { syncGsdStateToWorktree } from '../auto-worktree.ts'; import { createTestContext } from './test-helpers.ts'; const { assertTrue, report } = createTestContext();