/** * Forge verification stage adapter for pipeline orchestrator. * * Wraps the Forge persistence loop into a PipelineStage for the * verification phase. Uses configurable iteration count. */ import type { PipelineStage } from '../types.js'; import { buildFollowupStaffingPlan } from '../../team/followup-planner.js'; export interface ForgeVerifyStageOptions { /** Stage name. Strict Autopilot uses 'forge'; legacy pipeline adapters use 'forge-verify'. */ stageName?: string; /** * Ordered artifact keys used as Forge execution input. * Legacy forge-verify keeps reading prior forge/team-exec output; strict Autopilot * Forge reads blueprint first so implementation starts from approved planning. */ executionArtifactKeys?: readonly string[]; /** * Maximum number of forge verification iterations. * Defaults to 10. */ maxIterations?: number; } /** * Create a forge-verify pipeline stage. * * This stage wraps the Forge persistence loop for the verification phase * of legacy pipelines. Strict Autopilot uses `createForgeStage()` for the * implementation/verification phase before code-review. */ export declare function createForgeVerifyStage(options?: ForgeVerifyStageOptions): PipelineStage; /** * Descriptor for a forge verification run, consumed by the forge runtime. */ export interface ForgeVerifyDescriptor { task: string; maxIterations: number; cwd: string; sessionId?: string; availableAgentTypes: string[]; staffingPlan: ReturnType; executionArtifacts: Record; } /** * Build the forge CLI instruction from a descriptor. */ export declare function buildForgeInstruction(descriptor: ForgeVerifyDescriptor): string; /** Create the strict Autopilot Forge phase adapter. */ export declare function createForgeStage(options?: ForgeVerifyStageOptions): PipelineStage; //# sourceMappingURL=forge-verify.d.ts.map