Member Junction
    Preparing search index...

    Interface AgentRequestAssignmentStrategy

    Configures how agent feedback requests are assigned to users.

    This interface is stored as a JSON blob in:

    • AIAgentRequestType.DefaultAssignmentStrategy (broadest default)
    • AIAgentCategory.AssignmentStrategy (category-level override)
    • AIAgentType.AssignmentStrategy (agent-type-level override)
    • ExecuteAgentParams.assignmentStrategy (per-invocation override, highest precedence)

    Resolution walks bottom-up: params → agentType → category (tree walk) → requestType → fallback.

    interface AgentRequestAssignmentStrategy {
        expirationMinutes?: number;
        listID?: string;
        listStrategy?: ListAssignmentMode;
        priority?: number;
        type: "RunUser" | "AgentOwner" | "SpecificUser" | "List" | "SharedInbox";
        userID?: string;
    }
    Index

    Properties

    expirationMinutes?: number

    Override default expiration in minutes for requests created under this strategy.

    listID?: string

    For type='List' or type='SharedInbox' — the MJ List ID containing Users entity records. The list's EntityID must point to the Users entity.

    listStrategy?: ListAssignmentMode

    For type='List' — how to pick from the list. Defaults to 'RoundRobin'.

    priority?: number

    Override default priority (1-100) for requests created under this strategy.

    type: "RunUser" | "AgentOwner" | "SpecificUser" | "List" | "SharedInbox"

    How to resolve the assignee.

    • RunUser — The user who triggered the agent run (contextUser).
    • AgentOwner — The agent's OwnerUserID.
    • SpecificUser — A hardcoded user (set userID).
    • List — Pick from an MJ List of Users using listStrategy.
    • SharedInbox — Leave unassigned; any member of the listID can claim it.
    userID?: string

    For type='SpecificUser' — the user to assign requests to.