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) <noreply@anthropic.com>
This commit is contained in:
TÂCHES 2026-03-19 17:26:31 -06:00 committed by GitHub
parent 93fb33de28
commit aa9e1cfea9
3 changed files with 3 additions and 2 deletions

View file

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

View file

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

View file

@ -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();