/** * Workspace-Scoped Worker Prompt Generator * * Generates context-rich prompts for Agent Teams workers and validators. * Follows the Worker Initial Prompt and Validation Watcher Prompt templates * from the design doc. * * Prompts are kept concise (~2000-4000 tokens) for worker context efficiency. * Sections with no data are omitted entirely. */ export interface TicketContext { id: string; ticketNumber: number; title: string; description: string; implementation?: { steps?: string[]; filesToCreate?: string[]; filesToModify?: string[]; } | null; acceptanceCriteria?: Array<{ description: string; }> | null; technicalDetails?: Record | null; } export interface EpicContext { title: string; objective?: string | null; } export interface SpecContext { title: string; techStack?: string[] | null; codeStandards?: string | null; } export interface WorkspaceContext { /** Relative path from project root (e.g., "apps/web") */ path: string; /** Detected framework (e.g., "Next.js", "Express") */ framework?: string | null; /** Package name from package.json */ name?: string | null; /** Key dependency names */ dependencies?: string[] | null; } export interface ConventionsContext { /** Free-form conventions text (e.g., from CLAUDE.md) */ content?: string | null; } export interface ValidationCommands { test?: string | null; lint?: string | null; typeCheck?: string | null; build?: string | null; } /** * Generate a context-rich prompt for an Agent Teams worker. * * Omits entire sections when the corresponding data is missing. */ export declare function generateWorkerPrompt(ticket: TicketContext, epic: EpicContext, spec: SpecContext, workspace?: WorkspaceContext | null, conventions?: ConventionsContext | null): string; /** * Generate a prompt for an Agent Teams validation watcher. */ export declare function generateValidatorPrompt(epic: EpicContext, validationCommands?: ValidationCommands | null, workspace?: WorkspaceContext | null): string; //# sourceMappingURL=prompt-generator.d.ts.map