import { type ClassAnalysis, type Finding, type IdentifiedFinding } from "./findings.js"; import type { PriorRunFinding } from "./program-memory.js"; /** * Ask a critic to repair only its response envelope after a protocol failure. * The original review is included verbatim so a stateless CLI can re-emit the * same judgments without spending another full review or silently changing * its findings. */ export declare function composeCriticCorrectionBrief(originalResponse: string, expectedWorkstreamIds: string[], protocolError: string): string; export interface BriefSources { programId: string; programDoc: string; manifest: string; specs: Array<{ path: string; content: string; }>; agentsMd?: string; vision?: string; contextDocs: Array<{ path: string; content: string; }>; } export declare function loadBriefSources(root: string, programId: string, specPaths: string[], options?: { visionPath?: string; contextDocs?: string[]; }): Promise; export interface RoundContext { round: number; totalRounds: number; scoped: boolean; /** Every workstream whose checkpoint safety must be assessed this round. */ expectedWorkstreamIds: string[]; /** Findings the writer declined last round, with the reason given. */ openDisagreements: Array<{ finding: Finding; reason: string; }>; /** Everything already raised, so the critic does not simply repeat it. */ alreadyRaised: Finding[]; /** Unsettled findings from earlier runs, read from program memory. */ priorRuns?: PriorRunFinding[]; /** Where the full memory view lives, for on-demand retrieval. */ memoryViewPath?: string; } export declare function composeCriticBrief(sources: BriefSources, context: RoundContext): string; export declare function composeWriterBrief(sources: BriefSources, findings: IdentifiedFinding[], context: RoundContext, classAnalyses?: ClassAnalysis[]): string; //# sourceMappingURL=validator-brief.d.ts.map