export interface PromoteAbArgs { /** 当前版本 Agent 定义路径(晋升目标——被覆写方)(必填) */ current: string; /** 候选版本 Agent 定义路径(晋升来源)(必填) */ candidate: string; /** * 🔴 人工确认(破坏性操作强制人审)。 * false/缺省 → 只返回决策依据挂起,不执行晋升; * true → 执行晋升(copy candidate → current)+ 审计留痕。 */ human_confirmed?: boolean; /** 决策备注(写入 decision-log,如审批人/理由) */ comment?: string; } export interface PromoteAbResult { /** 首行必须 [sofagent] 前缀 */ text: string; /** 结构化数据 */ data: { isError: boolean; /** 是否已执行晋升(false = 挂起等人审) */ executed: boolean; /** 是否处于挂起等人审状态 */ awaitingHuman: boolean; decision: { shouldPromote: boolean; reason: string; consecutiveWins: number; margin: number; }; currentPath: string; candidatePath: string; decisionLogged: boolean; message?: string; }; } /** * 晋升 candidate 为 current(强制人审)。 * * @param args 晋升参数 * @returns 结构化结果(text + data) */ export declare function promoteAb(args: PromoteAbArgs): Promise; //# sourceMappingURL=promote-ab.d.ts.map