/** * BMAD Templates Utility * * Loads BMAD config and templates at runtime for Conductor's * PLAN mode workflow generation. Runs in the daemon process (fs access). * * Template resolution order: * 1. External: ~/.claude/config/bmad/templates/{name}.md (user override) * 2. Bundled: templates/bmad/{name}.md (shipped with MAMA OS) * * Bundled templates are from BMAD-METHOD (MIT License, (c) 2025 BMad Code, LLC). * See templates/bmad/LICENSE for details. */ export interface BmadConfig { project_name?: string; project_level?: string; output_folder?: string; templates?: Record; [key: string]: unknown; } export interface BmadProjectConfig extends BmadConfig { /** Project-local overrides */ phases_completed?: string[]; } export interface BmadContext { initialized: boolean; projectName: string; projectLevel: string; outputFolder: string; phasesCompleted: string[]; } /** * Load global BMAD config from ~/.claude/config/bmad/config.yaml */ export declare function loadBmadGlobalConfig(): Promise; /** * Load project-local BMAD config from {projectRoot}/bmad/config.yaml */ export declare function loadBmadProjectConfig(projectRoot: string): Promise; /** * Build BMAD context for Conductor system prompt injection. * Merges global + project configs. */ export declare function buildBmadContext(projectRoot?: string): Promise; /** * Build the BMAD context block to inject into Conductor's system prompt. */ export declare function buildBmadPromptBlock(projectRoot?: string): Promise; //# sourceMappingURL=bmad-templates.d.ts.map