mlx-bun library API
    Preparing search index...
    interface GateVerdict {
        ok: boolean;
        reason: string | null;
    }
    Index
    ok: boolean

    True when the edit is safe to commit.

    reason: string | null

    Null when ok; otherwise the joined failing reasons, so the caller can log WHY the edit was discarded.