/** * VerifyNudge (mid-run counterpart to the end-of-turn coding verification gate). * * When a coding run has already made several surgical edits without any * verification tool, inject one soft system reminder to close the loop with * run_tests / verify_fix / code_diagnostics (or a real test/build exec). * * Soft: max 1 fire per agent run; never blocks completion (the CLI completion * gate still enforces verification evidence at end-of-turn). */ export interface VerifyNudgeRequest { turns: number; totalToolCalls: number; toolCallsByName: Record; userText: string; attempts: number; } export type VerifyNudgeResult = { fire: false; } | { fire: true; correction: string; }; export declare const VERIFY_NUDGE_MIN_TURNS = 3; /** Weighted edit units before nudging (single-file edit_file = 1 each). */ export declare const VERIFY_NUDGE_MIN_EDITS = 2; export declare const VERIFY_NUDGE_MAX_ATTEMPTS = 1; /** * Weight batch mutators higher so one multi_edit/apply_patch of many files * still triggers a mid-run verify reminder (they are "several edits" in intent). */ export declare function weightedEditUnits(toolCallsByName: Record): number; export declare function evaluateVerifyNudge(request: VerifyNudgeRequest): VerifyNudgeResult; //# sourceMappingURL=verify-nudge.d.ts.map