Constructors

Methods

  • Check if a human action is allowed under the current autonomy config. Throws ProvenanceViolationError if the action is blocked.

    Parameters

    • actionType: string

      Type of human action (e.g., 'prompt', 'edit_config', 'add_tool', 'pause', 'stop')

    • Optional details: Record<string, unknown>

      Optional details about the action

    Returns Promise<void>

  • Check whether a specific action type would be blocked. Returns true if the action is allowed, false if it would be blocked.

    Parameters

    • actionType: string

    Returns boolean