vigiles API reference
    Preparing search index...

    Interface StopEvent<N>

    The event a Stop gate decides over. deny BLOCKS the agent from ending its turn (the reason is surfaced to the agent — e.g. "tests are red, keep going").

    interface StopEvent<N extends readonly NeedSpec[] = readonly ProviderName[]> {
        ctx: HookCtx<N>;
        event: string;
        stopHookActive: boolean;
    }

    Type Parameters

    Index

    Properties

    ctx: HookCtx<N>

    Host-gathered, DECLARED read-only facts — see needs.

    event: string
    stopHookActive: boolean

    True when this Stop is itself the consequence of a PRIOR Stop-block — the loop guard. A gate MUST return allow when this is set, or it can wedge the agent in an infinite stop→continue→stop cycle.