/** * 统一 Task 路径管理 — 所有 Task 位于 030-tasks/{type}/ 子目录下 * * 旧: Iteration-001/Task-001/ * 中: Iteration-001/030-tasks/Task-001/ * 新: Iteration-001/030-tasks/feature/Task-001-slug/ */ export declare const TASKS_DIR = "030-tasks"; export declare const TASK_TYPES: readonly ["feature", "bugfix", "refactor", "research"]; /** 获取指定迭代中某个 Task 的完整目录路径(新布局:含类型子目录) */ export declare function getTaskPath(iteration: string, taskId: string, cwd?: string): string; /** 获取指定迭代中 030-tasks/ 目录路径 */ export declare function getTasksRoot(iteration: string, cwd?: string): string; /** 获取 Task 在迭代目录中的相对路径 */ export declare function getTaskRelativePath(taskId: string): string; /** * 在 030-tasks/ 下递归查找 Task 目录(兼容新旧布局) * 新布局: 030-tasks/feature/Task-001-slug/ * 旧布局: 030-tasks/Task-001/ */ export declare function findTaskDir(tasksRoot: string, taskId: string): Promise; //# sourceMappingURL=task-paths.d.ts.map