/** * Loop dispatch hard gate (R3). * * While an active Loop is in PLAN/DISPATCH and this round still has * dispatchesThisRound === 0, the *parent* agent must not do the research / * mutation work itself — it must call_agent(s) (or ask_user / todo / stop). * * This closes the production failure mode where the model writes a Plan * checklist then web_fetches step 1 alone, leaving 派工=0 and no Subagent cards. * * Opt out: AGIM_LOOP_DISPATCH_GATE=off|0|false|no|disable */ /** Default ON when a Loop is active in the dispatch window. */ export declare function isLoopDispatchGateOn(): boolean; export declare function isLoopDispatchGateExemptTool(toolName: string): boolean; export type LoopDispatchGateResult = { ok: true; } | { ok: false; reason: string; }; /** * Hard preflight: when Loop needs a first dispatch this round, block * parent-side research/mutation tools until call_agent(s) succeeds. */ export declare function evaluateLoopDispatchGate(platform: string, channelId: string, threadId: string, toolName: string): LoopDispatchGateResult; //# sourceMappingURL=loop-dispatch-gate.d.ts.map