/** * GSD to FORGE Project Converter * * Converts existing GSD projects to FORGE format by: * 1. Reading GSD artifacts (PROJECT.md, ROADMAP.md, phase plans) * 2. Creating FORGE equivalents (CLAUDE.md, STATE.json) * 3. Preserving roadmap and phase structure * * @private - Not published to NPM */ interface LocalTask { id: string; title: string; ownerRole: string; status: 'pending' | 'in_progress' | 'completed' | 'blocked'; deps: string[]; allowedPaths: string[]; acceptance: string[]; verify: string[]; commit: string | null; requests: string[]; priority: number; blockedBy: string[]; blocks: string[]; assignedTo: string | null; createdAt: string; startedAt: string | null; completedAt: string | null; } interface LocalProjectState { name: string; status: string; currentMilestone: string; currentPhase: number; updatedAt: string; } interface LocalForgeState { project: LocalProjectState; tasks: LocalTask[]; contracts: Array<{ id: string; path: string; version: string; publishedBy: string; consumers: string[]; publishedAt?: string; status?: string; }>; eventsPointer: string; } export interface GSDProjectInfo { name: string; hasProjectMd: boolean; hasRoadmapMd: boolean; hasPlanningDir: boolean; phases: string[]; } export interface ConversionResult { success: boolean; message: string; filesCreated: string[]; warnings: string[]; } /** * Detect if current directory is a GSD project */ export declare function detectGSDProject(projectPath: string): Promise; /** * Extract project metadata from PROJECT.md */ export declare function extractProjectMetadata(projectPath: string): Promise<{ name: string; description?: string; techStack?: string[]; team?: string[]; }>; /** * Generate CLAUDE.md from PROJECT.md content */ export declare function generateClaudeMd(projectPath: string): Promise; /** * Extract tasks from GSD phase plans and convert to FORGE tasks */ export declare function extractTasksFromPhases(projectPath: string): Promise<{ currentMilestone: string; tasks: LocalTask[]; }>; /** * Create initial STATE.json for FORGE project */ export declare function createForgeState(projectName: string, tasks: LocalTask[]): Promise; /** * Main conversion function */ export declare function convertGSDToForge(projectPath: string, options?: { dryRun?: boolean; verbose?: boolean; }): Promise; export {}; //# sourceMappingURL=gsd-converter.d.ts.map