PR CheckMate API - v1.22.3
    Preparing search index...

    Interface Check

    A single quality gate. applies decides relevance (language/marker gating); run performs the check and returns an outcome. run must NOT throw for violations — return fail/warn instead. Thrown errors are caught by the orchestrator and recorded as fail.

    interface Check {
        name: string;
        phase: Phase;
        applies(ctx: CheckContext): boolean | Promise<boolean>;
        run(ctx: CheckContext): Promise<CheckOutcome>;
    }
    Index
    name: string
    phase: Phase