/** * Roadmap tools for Decibel Architect. * * Provides strategic roadmap management - objectives, themes, milestones, and epic context. * Reads from .decibel/architect/roadmap/roadmap.yaml */ export interface KeyResult { metric: string; target: string; current?: string; } export interface Objective { id: string; title: string; timeframe: string; owner?: string; key_results?: KeyResult[]; } export interface Theme { id: string; label: string; description?: string; } export type MilestoneStatus = 'planned' | 'in_progress' | 'shipped' | 'completed' | 'on_hold' | 'cancelled'; export interface Milestone { id: string; label: string; target_date: string; epics?: string[]; /** Optional declared status. When 'shipped'/'completed', overrides the * date-based health classification in `calculateMilestoneStatus`. */ status?: MilestoneStatus; } export interface EpicContext { epic_id: string; theme?: string; objectives?: string[]; milestone?: string; work_type: 'feature' | 'infra' | 'refactor' | 'experiment' | 'policy'; adrs?: string[]; } export interface OracleAnnotation { epic_id: string; health_score: number; risk_flags: string[]; confidence: 'low' | 'medium' | 'high'; commentary?: string; last_reviewed?: string; } export interface Roadmap { objectives: Objective[]; themes: Theme[]; milestones: Milestone[]; epic_context: Record; } export interface OracleAnnotations { annotations: Record; } export declare function roadmapExists(roadmapDir: string): boolean; export interface GetRoadmapInput { projectId: string; } export interface GetEpicContextInput { projectId: string; epicId: string; } export interface GetRoadmapHealthInput { projectId: string; threshold?: number; } export interface LinkEpicInput { projectId: string; epicId: string; theme?: string; milestone?: string; objectives?: string[]; workType?: 'feature' | 'infra' | 'refactor' | 'experiment' | 'policy'; adrs?: string[]; } export interface RoadmapListInput { projectId: string; } export interface RoadmapInitInput { projectId: string; } export declare function getRoadmap(input: GetRoadmapInput): Promise>; export declare function getEpicContext(input: GetEpicContextInput): Promise>; export declare function getRoadmapHealth(input: GetRoadmapHealthInput): Promise>; export declare function linkEpicToRoadmap(input: LinkEpicInput): Promise>; export declare function roadmapList(input: RoadmapListInput): Promise>; export declare function roadmapInit(input: RoadmapInitInput): Promise>; export interface GetObjectiveInput { projectId: string; objectiveId: string; } export interface ListObjectivesInput { projectId: string; } /** * Get a single objective by ID with resolved linked epics */ export declare function getObjective(input: GetObjectiveInput): Promise>; /** * List all objectives with summary of linked epics */ export declare function listObjectives(input: ListObjectivesInput): Promise>; //# sourceMappingURL=roadmap.d.ts.map