/** * Concrete v2 human-start composition — production caller of createConductorMcpServer. * This is the active package-bin composition; it is not a test helper. * * Result path is sealed: adapters come only from createProductionResultAdapters. * Callers cannot inject certifying grade/delivery doubles through this surface. */ import type { RolePolicyConfig } from "../domain/role-policy.js"; import type { Clock, ConductorRecoveryBinding, KernelPaths } from "../kernel/types.js"; import { type ConductorMcpServer } from "./mcp/conductor-mcp.js"; import type { DispatchServiceConfig } from "../kernel/dispatch-service.js"; export interface V2HumanStartInput { readonly paths: KernelPaths; readonly clock: Clock; readonly conductorSessionId: string; /** Immutable recovery binding from human-start (never tool input). */ readonly recoveryBinding: ConductorRecoveryBinding; readonly rolePolicy?: RolePolicyConfig; /** Required production campaign owner dependencies. No unbound MCP composition. */ readonly dispatch: Omit; readonly packageRoot?: string; readonly claudeExecutablePath?: string; } /** * Build the factory-bound conductor MCP server for interactive human start. * Validates recovery authority before server construction / goal acceptance. * Result adapters are production-only (no test injection on this surface). */ export declare function createV2HumanStartComposition(input: V2HumanStartInput): ConductorMcpServer;