/** * SubagentStoppedNudge — mid-run reminder after subagent_stop without suite evidence. * * Stopping a background child is not proof the task is fixed. Soft: max 1 fire. * Pairs with evaluateRunningBackgroundSubagentGate end-of-turn stop≠success. */ import type { Message } from '../session/session-jsonl.js'; export declare const SUBAGENT_STOPPED_NUDGE_MAX_ATTEMPTS = 1; export interface SubagentStoppedNudgeRequest { messages: Message[]; toolCallsByName: Record; attempts: number; } export type SubagentStoppedNudgeResult = { fire: false; } | { fire: true; correction: string; }; /** True when a recent subagent_stop shows STOPPED / STOP REQUESTED / ALREADY cancelled. */ export declare function hasRecentSubagentStop(messages: Message[]): boolean; export declare function evaluateSubagentStoppedNudge(request: SubagentStoppedNudgeRequest): SubagentStoppedNudgeResult; //# sourceMappingURL=subagent-stopped-nudge.d.ts.map