import type { BoberConfig } from "../config/schema.js"; /** * The output artifact produced by the architect's 5-checkpoint flow. */ export interface ArchitectResult { /** Unique identifier for this architecture document, format: arch-- */ id: string; /** ISO-8601 timestamp of when the architecture was produced. */ timestamp: string; /** Full markdown architecture document (capped at 500 lines). */ document: string; /** Individual ADR contents in order. */ adrs: string[]; /** Number of components defined in the architecture. */ componentCount: number; /** Number of Architecture Decision Records produced. */ decisionCount: number; /** Per-lens scores from the panel path (additive, optional — absent on the off path). */ lensScores?: Array<{ lens: string; scores: Record; }>; /** The approach selected by synthesize().winner on the panel path (additive, optional — absent on the off path). */ selectedApproach?: string; /** Per-lens CP5 review verdicts from the panel path (additive, optional — absent on the off path). */ lensReviews?: Array<{ lens: string; passed: boolean; summary: string; feedback: string; }>; /** The reconciled panel verdict for CP5 (additive, optional). false = fail-closed. */ panelReviewPassed?: boolean; } /** * Run the 5-checkpoint architect flow in autonomous mode. * * The architect self-discusses at each checkpoint, reads the codebase for * evidence, makes decisions, and produces an architecture document with ADRs. * The researchDoc (if provided) is included in the architect's context but * the architect does NOT generate application code — documents only. * * @param userPrompt Feature description passed as the problem space. * @param projectRoot Absolute path to the project root. * @param config Bober configuration (model, provider settings, etc.). * @param researchDoc Optional research findings to provide codebase context. * @returns ArchitectResult with the full architecture document and ADRs. */ export declare function runArchitect(userPrompt: string, projectRoot: string, config: BoberConfig, researchDoc?: string): Promise; //# sourceMappingURL=architect-agent.d.ts.map