/** * Loop VERIFY hard gate (R4). * * After a round has ≥1 dispatch, the parent must call mcp__agim__loop_verdict * before the turn can end as a normal user-facing answer. Soft prompt alone * was ignored in production (report delivered while 验收 stayed 0). * * Opt out: AGIM_LOOP_VERIFY_GATE=off|0|false|no|disable */ import { type LoopExitEnforceResult } from './loop-run.js'; /** Default ON when a Loop round is waiting on structured verification. */ export declare function isLoopVerifyGateOn(): boolean; /** * True when an active Loop has dispatched this round and still awaits verdict. * HARD: false while any Subagent is still pending/running — do not start evaluation. */ export declare function loopNeedsVerdict(platform: string, channelId: string, threadId: string): boolean; export declare function isLoopVerdictToolName(toolName: string): boolean; export declare function loopVerifySteerText(): string; export declare function loopVerifyFollowUpPrompt(): string; /** * When Subagents are done but the parent turn already ended (sleep/wake, * abort, timeout) without `loop_verdict`, end the Loop as `verify_skipped` * so Portal does not show「还在继续」forever. * * No-op while a parent turn is in-flight (about to verdict) or while * `loopNeedsVerdict` is false (live children / pending ask / …). */ export declare function maybeReapIdleLoopVerify(platform: string, channelId: string, threadId: string): LoopExitEnforceResult; //# sourceMappingURL=loop-verify-gate.d.ts.map