@karmaniverous/smoz
    Preparing search index...
    shortCircuitHead: MiddlewareObj<APIGatewayProxyEvent, Context> = ...

    If the request is HEAD, short-circuit the handler and let the serializer produce an empty JSON body. This keeps tests and clients predictable.

    This is placed very early in the pipeline. When it sets request.response during before, the composed middleware sequence will skip the base handler.