@suluk/core - v0.1.13
    Preparing search index...

    Interface SulukApproval

    HUMAN-IN-THE-LOOP APPROVAL facet (Stage 1.4). Like x-suluk-cost/access/ratelimit it is an ADVISORY vendor extension in the x-suluk-* namespace — the facet DECLARES the gate; a runtime adapter ENFORCES it (e.g. @suluk/agents' projectCloudflareAgent emits the Cloudflare Agents SDK needsApproval predicate from it). STATIC by construction: required is a fixed boolean — the facet NEVER carries a request-value selector (the D1 red-line), so a server can never be pressured into a dynamic dispatch decision; the gate is "this action, always", decided at author time.

    interface SulukApproval {
        required: boolean;
        reason?: string;
    }
    Index

    Properties

    Properties

    required: boolean

    require human approval before this operation runs as an agent tool.

    reason?: string

    why approval is needed — shown to the human approver and in docs.