/** * AmbiguityNudge — mid-run soft ask when a coding request is multi-interpretation * and the model already mutated code without clarifying or stating an assumption. * * Complements end-of-turn investigation gates: fires once while tools are still * running so the parent does not invent a silent scope choice. * * Soft: max 1 fire per run; never blocks completion. */ export declare const AMBIGUITY_NUDGE_MAX_ATTEMPTS = 1; export declare const AMBIGUITY_NUDGE_MIN_EDITS = 1; export interface AmbiguityNudgeRequest { toolCallsByName: Record; userText: string; /** Whether ask_user_question was already used this run. */ attempts: number; } export type AmbiguityNudgeResult = { fire: false; } | { fire: true; correction: string; }; /** * True when the user message looks multi-interpretation for coding work. * @internal exported for tests */ export declare function looksAmbiguousCodingRequest(userText: string): boolean; export declare function evaluateAmbiguityNudge(request: AmbiguityNudgeRequest): AmbiguityNudgeResult; //# sourceMappingURL=ambiguity-nudge.d.ts.map